/* ============================
   Fonts — Spring theme (Google Fonts where possible)
============================ */
@font-face {
    font-family: "hagrid";
    src: url("./assets/fonts/hagrid.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Norican&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');



/* ============================
   Config-driven variables (Spring pastel theme)
============================ */
:root {
    --config-preloader-bg: #d4c5e8;
    --config-theme-color: #b8a9c9;
}
#preloader {
    background-color: var(--config-preloader-bg);
}

/* Spring pastel palette */
:root {
    --pastel-blush: #f8e1e1;
    --pastel-blush-deep: #f5d0d0;
    --pastel-lavender: #e6e0f0;
    --pastel-lavender-deep: #d4c5e8;
    --pastel-cream: #fffef5;
    --pastel-cream-warm: #faf8f0;
    --pastel-mint: #c8e6c9;
    --pastel-sage: #a5d6a7;
    --pastel-gold: #e8d5b5;
    --pastel-peach: #ffecb3;
    --pastel-sky: #e8f4f8;
    --color-primary: #9a7fb5;
    --color-secondary: #c8e6c9;
    --color-accent: var(--pastel-blush);
    --color-bg-light: var(--pastel-cream-warm);
    --color-brown: #8b7355;
}

/* ============================
   Root Variables
============================ */
:root {

    /* 🎨 Colors from palette */
    --color-deep-rose: #C4747B;
    --color-peach: #F7B6A4;
    --color-blush: #F6D9D6;
    --color-cream: #F3E6DC;
    --color-soft-white: #F8F6F2;
    --color-brown:rgb(112, 85, 32);

    /* Assign roles */
    --color-text: #5a5560;
    /* --color-text: #161616; */

    /* ✨ Fonts */
    --font-main: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-names: 'Great Vibes', cursive;
    --font-daydream: 'Cormorant Garamond', serif;
    --font-pabasing: 'Dancing Script', cursive;
    --font-magik: 'Cormorant Garamond', serif;
    --font-magical_me: 'Cormorant Garamond', serif;
    --font-parisienne: 'Parisienne', cursive;
    --font-hagrid: 'hagrid', sans-serif;
    --font-educational-decree: 'Poppins', sans-serif;
    --font-rock-salt :'Rock Salt',cursive;

    /* 🔠 Font Sizes */
    --font-size-xxl: 6rem;
    --font-size-xl: 3rem;
    --font-size-lg: 1.5rem;
    --font-size-md: 1.2rem;
    --font-size-sm: 0.9rem;
    --font-size-xs: 0.7rem;

    /* 📦 Layout */
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-soft: 0 4px 15px rgba(154, 127, 181, 0.2);
    --shadow-box: 0 2px 8px rgba(90, 85, 96, 0.08);

    --color-blush-light: #f8e1e1;
    --color-blush-medium: #f0d0d0;
    --color-blush-rose: #e8c4c4;
    --color-blush-deep: #d4a8a8;

    /* Beige / cream pastel */
    --color-beige-ivory: #fffef5;
    --color-beige-cream: #faf8f0;
    --color-beige-sand: #f0ebe0;
    --color-beige-taupe: #e0d8c8;

    /* Black/Dark Palette */
    --color-dark-gray: #4a4a4a;
    --color-charcoal: #2f2f2f;
    --color-black: #000000;
}

/* ============================
   Global Styles
============================ */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    scroll-behavior: smooth;
    /* background-color:white; */
    color: var(--color-text);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* overflow: hidden; */
}
body{
    background-color: white;
}
.map-background {
  background: radial-gradient(circle at 30% 30%, #cbb994, #b29b77, #8d7752);
  background-size: 200% 200%;
  animation: parchmentGlow 3s ease-in-out infinite alternate;
}

@keyframes parchmentGlow {
  0% { background-position: 30% 30%; }
  100% { background-position: 70% 70%; }
}

/* ============================
   Spring pastel — Landing, petals, parallax sky
============================ */
.landing-cta-btn {
    background: var(--pastel-cream) !important;
    color: var(--color-primary) !important;
    border: 1px solid rgba(212, 197, 232, 0.6);
    box-shadow: var(--shadow-box);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.landing-cta-btn:hover {
    background: var(--pastel-lavender) !important;
    color: #5a4d6e !important;
    box-shadow: 0 6px 16px rgba(154, 127, 181, 0.25);
    transform: translateY(-2px);
}

/* Branch as CTA: centered, slightly bigger; hover area = SVG only; hover/bloom-on = bloom */
.landing-branch-cta {
    cursor: pointer;
    display: inline-block;
    max-width: min(88vw, 460px);
    margin-top: 0.25rem;
    transition: filter 0.3s ease;
}
.landing-branch-cta:hover,
.landing-branch-cta:focus {
    outline: none;
    filter: brightness(1.04);
}
.landing-branch-cta:focus-visible {
    outline: 2px solid rgba(154, 127, 181, 0.8);
    outline-offset: 4px;
}
.landing-branch-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 55vh;
}
/* Hover or .bloom-on (mobile): leaves fade out, flowers bloom in with stagger (flowers are 9th–15th child of wrapper g) */
.landing-branch-cta .branch-leaf {
    transition: opacity 0.5s ease-out;
}
.landing-branch-cta .branch-flower {
    transition: opacity 0.55s ease-out;
    pointer-events: none;
    opacity: 0;
}
.landing-branch-cta .branch-flower:nth-child(9) { transition-delay: 0s; }
.landing-branch-cta .branch-flower:nth-child(10) { transition-delay: 0.06s; }
.landing-branch-cta .branch-flower:nth-child(11) { transition-delay: 0.12s; }
.landing-branch-cta .branch-flower:nth-child(12) { transition-delay: 0.18s; }
.landing-branch-cta .branch-flower:nth-child(13) { transition-delay: 0.24s; }
.landing-branch-cta .branch-flower:nth-child(14) { transition-delay: 0.3s; }
.landing-branch-cta .branch-flower:nth-child(15) { transition-delay: 0.36s; }
.landing-branch-cta:hover .branch-leaf,
.landing-branch-cta.bloom-on .branch-leaf {
    opacity: 0;
}
.landing-branch-cta:hover .branch-flower,
.landing-branch-cta.bloom-on .branch-flower {
    opacity: 1;
}
.landing-branch-hint {
    display: block;
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: rgba(90, 85, 96, 0.9);
    margin-top: 0.35rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
    .landing-branch-cta {
        max-width: min(92vw, 400px);
    }
    .landing-branch-svg {
        max-height: 50vh;
    }
}

.landing-spring {
    background: linear-gradient(160deg, var(--pastel-sky) 0%, var(--pastel-lavender) 35%, var(--pastel-blush) 70%, var(--pastel-cream-warm) 100%);
    background-attachment: fixed;
    background-size: 200% 200%;
    animation: landing-sky-drift 12s ease-in-out infinite;
}

@keyframes landing-sky-drift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/* Petals: seasonal drift + color shift (blush → lavender → cream) */
.leaf {
    position: absolute;
    top: -20px;
    border-radius: 50% 0 50% 50%;
    transform-origin: center center;
    animation: leaf-fall linear infinite, petal-color-shift 8s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(212, 197, 232, 0.4);
    pointer-events: auto;
    cursor: default;
}

.leaf::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transform: rotate(90deg);
    opacity: 0.7;
    background: inherit;
}

.leaf:hover {
    animation: leaf-fall linear infinite, petal-sparkle 0.6s ease;
    box-shadow: 0 0 16px rgba(255, 235, 200, 0.9), 0 0 24px rgba(212, 197, 232, 0.5);
}

@keyframes petal-color-shift {
    0%, 100% { background: linear-gradient(135deg, rgba(248, 225, 225, 0.9), rgba(245, 208, 208, 0.85)); }
    33% { background: linear-gradient(135deg, rgba(230, 224, 240, 0.9), rgba(212, 197, 232, 0.85)); }
    66% { background: linear-gradient(135deg, rgba(255, 254, 245, 0.95), rgba(250, 248, 240, 0.9)); }
}

@keyframes petal-sparkle {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.25); }
    100% { filter: brightness(1); }
}

@keyframes leaf-fall {
    0% { transform: translateY(-10px) rotate(0deg) translateX(0); opacity: 0.9; }
    25% { transform: translateY(25vh) rotate(90deg) translateX(5vw); opacity: 0.8; }
    50% { transform: translateY(50vh) rotate(180deg) translateX(-3vw); opacity: 0.85; }
    75% { transform: translateY(75vh) rotate(270deg) translateX(4vw); opacity: 0.7; }
    100% { transform: translateY(100vh) rotate(360deg) translateX(0); opacity: 0.6; }
}

.parisienne{
    color: var(--color-primary);
    font-family: var(--font-parisienne);
    font-size: 1.75rem;
    font-weight: 750;
    /* line-height: 1rem; */
    padding-right: 1rem;
}
.parisienne.bridename{
    padding-left: 1rem ;
}
.about_text{
    line-height: 1.75rem;
}
.proposal_text span{
    margin-block:1rem;
}
.proposal_text{
    line-height: 1.75rem;
}
.navbar{
    font-family: var(--font-script);
    font-weight: 1000;
    background: var(--pastel-cream) !important;
    border-top: 1px solid rgba(212, 197, 232, 0.3);
}
.proposal_dateandtime{
    /* display: block; */
    text-align: justify;
    color: var(--color-primary);
    font-family: var(--font-hagrid);
    font-size: 1.25rem;
    font-weight: 1000;
    margin-inline: 0rem;
}
.proposal_yes{
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-family: var(--font-rock-salt);
    font-size: 3rem;
    font-weight: 400;
    line-height: 4rem;
}
.proposal_yes_yes{
    font-weight: 1000;
}
.row{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.text-map{
    font-family: "Dancing Script";
}
.daydream { font-family: var(--font-daydream); text-align:center; font-weight: 600; letter-spacing: 2px; font-size: 2.75rem;}
.names {
     font-family: var(--font-parisienne); 
     color:white;
     /* text-shadow:1px 1px 30px rgb(129, 99, 44); */
     font-weight: 1000;
}
.l1{
    font-family: var(--font-main);
    font-size: 1.3rem;
    color:#ffffff;
    font-weight: lighter;
}
.l2{
    font-family: var(--font-main);
    font-size: 1.3rem;
    color:#ffffff;
    font-weight: lighter;
}
.text-primary { color: var(--color-primary) !important; }
.monogram.d-flex{
    gap: 1rem;
    justify-content: center;
    
}
.monogram .image-container{
    width:5% !important;
}
/* ============================
   Landing (Names + Map)
============================ */
#landing { background-color: var(--color-bg-light);overflow: hidden; }
.map-wrapper { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; }
.description { font-family: var(--font-main); }
.groom, .bride {
    font-size: var(--font-size-xxl);
    color: var(--color-primary);
    
}
.bride { margin-left: 7rem; }
.groom { margin-right: 7rem; }
.ampersand {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

.hint { 
    margin-top: 20px;
    font-family: var(--font-script);
    font-size: var(--font-size-lg);
    color: var(--color-primary);
}
.church{
    position:absolute;
    width:69px !important;
    top:38%;
    left:15%;
    transform: rotate(-15deg);
}

/* ============================
   Countdown — bloom fill is full background; label larger on desktop, below on mobile
============================ */
#countdown {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 254, 245, 0.95);
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    font-family: var(--font-main);
    color: var(--color-primary);
    z-index: 1000;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 197, 232, 0.4);
    overflow: hidden;
}
/* Bloom loader as full background of countdown (fills horizontally) */
#countdown .countdown-bloom-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--pastel-blush), var(--pastel-sage));
    border-radius: inherit;
    transition: width 0.8s ease;
    z-index: 0;
}
#countdown .countdown-inline {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}
#countdown .countdown-label {
    font-family: var(--font-script);
    font-size: 1.15rem;
    color: var(--color-primary);
    white-space: nowrap;
}
#countdown .time-row {
    display: flex;
    gap: 0.5rem;
}
#countdown .time-box {
    text-align: center;
    min-width: 52px;
    padding: 0.35rem 0.5rem;
    background: var(--pastel-cream);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-box);
    transition: transform 0.3s ease;
}
#countdown .number {
    font-weight: 600;
    font-size: var(--font-size-md);
    color: var(--color-primary);
}
#countdown .label {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    margin-top: 0.2rem;
    display: block;
}
#countdown .time-box:hover {
    transform: translateY(-3px);
}
.date-banner{
    /* background-color: black; */
    width:100%;
    font-size: clamp(4px,calc(3vw + 1rem),48px);
    font-family: var(--font-magical_me);
    color: #030303;
    position: relative;
    top: clamp(30px, 4vh, 40px);
    z-index: 999 !important;
}
/* ============================
   Hero Section
============================ */
.hero {
    position: relative;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Video Wrapper - Full Width Responsive */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(to bottom, rgba(90, 85, 96, 0.4), rgba(154, 127, 181, 0.35));
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: var(--pastel-cream);
    z-index: 10;
    pointer-events: auto;
}

.hero-text-overlay.hero-reveal .lead,
.hero-text-overlay.hero-reveal .names,
.hero-text-overlay.hero-reveal .l2,
.hero-text-overlay.hero-reveal img {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-in 0.8s ease forwards;
}
.hero-text-overlay.hero-reveal .lead { animation-delay: 0.2s; }
.hero-text-overlay.hero-reveal .names { animation-delay: 0.4s; }
.hero-text-overlay.hero-reveal .l2 { animation-delay: 0.5s; }
.hero-text-overlay.hero-reveal img { animation-delay: 0.7s; }
@keyframes hero-fade-in {
    to { opacity: 1; transform: translateY(0); }
}

.hero-text-overlay * {
    pointer-events: auto;
}

/* Ensure main content sits above background footsteps */
#wedding-page { position: relative; z-index: 1; }

/* ============================
   Guest intro (personalized message after enter)
============================ */
#guest-intro {
    text-align: center;
    padding: 0.75rem 1.5rem;
    margin: 0 auto 1.5rem;
    max-width: 480px;
    background: linear-gradient(135deg, var(--pastel-blush), var(--pastel-lavender));
    border-radius: 2rem;
    font-family: var(--font-script);
    font-size: 1.25rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    animation: guest-intro-in 0.8s ease 0.5s forwards;
}
@keyframes guest-intro-in {
    to { opacity: 1; }
}

/* ============================
   Teaser cards (Our Story, Event Details, Gallery)
============================ */
.teaser-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 0.2rem 2rem;
}
.teaser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 1.25rem 1rem;
    background: rgba(255, 254, 245, 0.95);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--font-script);
    font-size: 1.1rem;
    border: 1px solid rgba(212, 197, 232, 0.5);
    box-shadow: var(--shadow-box);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}
.teaser-card::before {
    content: "🌸";
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: transform 0.35s ease;
}
.teaser-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 24px rgba(154, 127, 181, 0.25);
    border-color: var(--pastel-lavender-deep);
}
.teaser-card:hover::before {
    transform: scale(1.2);
}

/* ============================
   Butterflies: classic silhouette — vertical body, wings left/right (JS rotates to face movement)
============================ */
.butterflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/* Body = vertical thorax/abdomen (narrow strip); wings spread left & right; origin at body center */
.butterfly {
    position: fixed;
    width: 5px;
    height: 18px;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0.9;
    --bt-scale: 1;
    background: linear-gradient(180deg, rgba(60, 55, 70, 0.95) 0%, rgba(110, 90, 130, 0.9) 40%, rgba(90, 75, 110, 0.9) 100%);
    border-radius: 3px;
    transform-origin: 2.5px 9px;
    will-change: transform;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
/* Left wing — oval, hinged at body */
.butterfly::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 16px;
    left: -26px;
    top: 1px;
    border-radius: 50%;
    transform-origin: right center;
    animation: butterfly-flap-left 0.4s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(212, 197, 232, 0.2);
}
/* Right wing — oval, hinged at body */
.butterfly::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 16px;
    left: 5px;
    top: 1px;
    border-radius: 50%;
    transform-origin: left center;
    animation: butterfly-flap-right 0.4s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(212, 197, 232, 0.2);
}
/* Wing colors per butterfly */
.butterfly-blush::before { background: linear-gradient(135deg, var(--pastel-blush) 0%, var(--pastel-blush-deep) 100%); }
.butterfly-blush::after { background: linear-gradient(225deg, var(--pastel-peach) 0%, var(--pastel-blush) 100%); }
.butterfly-lavender::before { background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-lavender-deep) 100%); }
.butterfly-lavender::after { background: linear-gradient(225deg, var(--pastel-blush) 0%, var(--pastel-lavender) 100%); }
.butterfly-sage::before { background: linear-gradient(135deg, var(--pastel-sage) 0%, var(--pastel-mint) 100%); }
.butterfly-sage::after { background: linear-gradient(225deg, var(--pastel-mint) 0%, var(--pastel-lavender) 100%); }
.butterfly-gold::before { background: linear-gradient(135deg, var(--pastel-gold) 0%, var(--pastel-peach) 100%); }
.butterfly-gold::after { background: linear-gradient(225deg, var(--pastel-blush) 0%, var(--pastel-gold) 100%); }
.butterfly-mint::before { background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-sage) 100%); }
.butterfly-mint::after { background: linear-gradient(225deg, var(--pastel-sage) 0%, var(--pastel-lavender) 100%); }

@keyframes butterfly-flap-left {
    from { transform: rotate(-8deg); }
    to { transform: rotate(-28deg); }
}
@keyframes butterfly-flap-right {
    from { transform: scaleX(-1) rotate(-8deg); }
    to { transform: scaleX(-1) rotate(-28deg); }
}

@media (max-width: 768px) {
    .butterfly { width: 4px; height: 14px; transform-origin: 2px 7px; }
    .butterfly::before,
    .butterfly::after {
        width: 20px;
        height: 12px;
        top: 1px;
    }
    .butterfly::before { left: -20px; }
    .butterfly::after { left: 4px; }
}

/* Link hover — soft gold/blush accent */
a.link-blush:hover,
.navbar a:hover,
.teaser-card:hover,
.faq-item a:hover {
    color: var(--pastel-gold) !important;
    text-decoration: underline;
}
.btn-brand:hover { color: var(--pastel-cream) !important; }

@media (max-width: 768px) {
    /* Countdown: label below countdown boxes on small screens */
    #countdown {
        top: 0.5rem;
        padding: 0.4rem 0.6rem 0.5rem 0.75rem;
        font-size: 0.85rem;
        max-width: calc(100vw - 1rem);
        gap: 0.25rem;
        flex-direction: column;
    }
    #countdown .countdown-inline {
        flex-direction: column;
        gap: 0.2rem;
    }
    #countdown .countdown-label {
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
    }
    #countdown .time-box {
        min-width: 40px;
        padding: 0.2rem 0.3rem;
    }
    #countdown .number { font-size: 0.95rem; }
    #countdown .label { font-size: 0.6rem; }

    /* Teaser cards: scroll horizontally, touch-friendly */
    .teaser-cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 1rem 0.5rem 1.5rem;
        gap: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .teaser-cards::-webkit-scrollbar { display: none; }
    .teaser-card {
        min-width: 120px;
        flex-shrink: 0;
        padding: 1rem 0.75rem;
        font-size: 1rem;
    }

    /* Guest intro: full width, smaller text */
    #guest-intro {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }

    /* Landing: CTA and monogram scale down */
    .landing-content .landing-monogram {
        width: 90px !important;
        height: 90px !important;
    }
    .landing-cta-btn {
        padding: 0.6rem 1.25rem;
        font-size: 1rem;
    }

    .hero-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        text-align: center;
        background: rgba(90, 85, 96, 0.45);
        padding-inline: 1.5rem;
        padding-top: 6rem;
        border-radius: 0;
        color: var(--pastel-cream);
        z-index: 10;
        pointer-events: auto;
    }
    .hero {
        padding-top: 6rem;
        padding-bottom: 0;
    }
    .hero-video-wrapper {
        padding-bottom: 56.25%;
    }
    .l1, .l2 { font-size: 0.95rem; }
    .names { font-size: 1.75rem; }
}

/* ============================
   Dress Code Palette
============================ */
.palette {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: center;
    
}
.palette-wrapper{
    margin-top: 4px;
    padding:1rem;
    display: flex;
    justify-content: center;
}
.palette-container{
    border: 1px solid rgba(212, 197, 232, 0.5);
    width: auto;
    border-radius: 1.5rem;
    padding: 1.25rem 1.75rem 1.25rem;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(145deg, var(--pastel-cream) 0%, var(--pastel-lavender) 35%, var(--pastel-blush) 100%);
}
.palette .color-box-container{
    display: flex;
    gap:1rem;
}
  .color-box-container {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .color-box {
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Desktop hover */
    .color-box:hover {
      transform: scale(1.15);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    /* Mobile tap / click */
    .color-box:active {
      transform: scale(1.1);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
.glass-blur {
  background: transparent;
  border-radius: 3px;        /* keep it invisible */
  backdrop-filter: blur(5px);     /* blur whatever is behind */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  z-index: 998 !important;
}

.palette .color-box {
    /* display: flex; */
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-box);
    border: 2px solid #fff;
}
/* Blush Pink Palette */
.color-blush-light { background-color: #f2d7d5; }
.color-blush-medium { background-color: #e6b7b5; }
.color-blush-rose { background-color: #d59894; }
.color-blush-deep { background-color: #b37777; }

/* Beige Palette */
.color-beige-ivory { background-color: #f7f1e9; }
.color-beige-cream { background-color: #f2e4d7; }
.color-beige-sand { background-color: #e6d5c3; }
.color-beige-taupe { background-color: #cbb8a3; }

/* Black/Dark Palette */
.color-dark-gray { background-color: #4a4a4a; }
.color-charcoal { background-color: #2f2f2f; }
.color-black { background-color: #000000; }

/* ============================
   Map Component (from wedsite-front)
============================ */
.map-base {
  width: min(90vw, 306px);
  aspect-ratio: 306 / 600;
  margin: auto;
  background: url('./assets/images/map-fragment/9.png') center center / cover;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.map-flap {
  transform-style: preserve-3d;
  position: absolute;
  width: 100%;
  height: 25%;
  margin: auto;
  left: 0;
  right: 0;
  transition: 0.5s ease;
  top: 25%;
}
.map-flap__front,
.map-flap__back { backface-visibility: hidden; width: 100%; height: 100%; position: absolute; }
.map-flap__back { transform: scale(-1) rotateY(180deg); }
/* .map-flap.flap--1 { box-shadow: 0 -1px 6px rgba(97, 83, 73, 0.5); } */
.map-flap.flap--1 .map-flap__front { background: url('./assets/images/map-fragment/mini-1.png') center left / cover; }
.map-flap.flap--1 .map-flap__back { background: url('./assets/images/map-fragment/mini-3.png') -3px 0 / cover; }
.map-flap.flap--2 { box-shadow: 0 1px 6px rgba(97, 83, 73, 0.5); top: 50%; }
.map-flap.flap--2 .map-flap__front { background: url('./assets/images/map-fragment/mini-2.png') center left / cover; }
.map-flap.flap--2 .map-flap__back { background: url('./assets/images/map-fragment/mini-4.png') -3px 0 / cover; }

.map-side { height: 100%; width: 50%; position: absolute; transform-style: preserve-3d; transition: 0.3s ease; }
.map-side .front,
.map-side .back { width: 100%; height: 100%; position: absolute; background-repeat: no-repeat; background-position: left top; background-size: cover; background-image: var(--image); backface-visibility: hidden; }
.map-side .back { background-image: url('./assets/images/map-fragment/back.png'); }
.map-side.side-1 { left: 0; margin-left: 1.5px; }
.map-side.side-2 { left: 50%; margin-left: -2px; }
.map-side.side-3 { left: 0; margin-left: 3px; }
.map-side.side-3 .back { transform: rotateY(180deg); }
.map-side.side-4 { left: 50%; margin-left: -1px; }
.map-side.side-4 .back { transform: rotateY(180deg); }
.map-side.side-5 { left: 0; }
.map-side.side-5 .back { background-image: url('./assets/images/map-fragment/1.png'); }
.map-side.side-6 { left: 50%; }
.map-side.side-6 .front { background-size: 99.5%; }
.map-side.side-6 .back { background-image: url('./assets/images/map-fragment/17.png'); }

.scroll-name { position: absolute; bottom: 105px; left: -60px; width: clamp(100px, 25vw, 150px); height: clamp(20px, 5vw, 30px); font: clamp(12px, 3vw, 15px) Satisfy, cursive; text-align: center; background: url('./assets/images/map-fragment/scroll.svg') center center / cover; z-index: 10; color: #615349; cursor: default; opacity: 0; }
.scroll-name p { display: inline-block; margin: 4px 0 0 15px; }

.footstep { position: absolute; background: #615349; width: 2vw; height: 4vw; min-width: 5px; min-height: 10px; max-width: 6px; max-height: 12px; border-radius: 80% 80% 70% 70% / 130% 130% 25% 25%; z-index: 10; opacity: 0; }
.footstep:before { content: ""; position: absolute; width: 5px; height: 5px; top: 110%; left: 0; background: #615349; border-radius: 0 0 100% 100%; }
.footstep.left { transform: rotate(5deg); }
.footstep.right { transform: rotate(-3deg) translateY(15px) translateX(10px); }

.footsteps-1 .footstep.left { bottom: 150px; left: 18px; transform: rotate(35deg); }
.footsteps-1 .footstep.right { bottom: 150px; left: 28px; transform: rotate(30deg); }
.footsteps-2 .footstep.left { bottom: 285px; left: 280px; transform: rotate(-90deg); }
.footsteps-2 .footstep.right { bottom: 275px; left: 285px; transform: rotate(-85deg); }
.footsteps-2 .scroll-name { bottom: 300px; left: 220px; }

.map-base.active .flap--1 { transform: rotateX(180deg); transform-origin: top center; transition: 0.6s transform 1.5s; }
.map-base.active .flap--2 { transform: rotateX(180deg); transform-origin: bottom center; transition: 0.6s transform 1.8s; }
.map-base.active .side-1 { transform-origin: center left; transform: rotateY(180deg) skewY(2deg); transition: 0.5s all ease-in-out 0.6s; }
.map-base.active .side-1 .front { transform: rotateY(180deg); }
.map-base.active .side-2 { transform: rotateY(180deg) skewY(-2deg); transform-origin: center right; transition: 0.5s all ease-in-out 0.6s; }
.map-base.active .side-2 .front { transform: rotateY(180deg); }
.map-base.active .side-3 { left: -50%; transform: skewY(2deg) translateX(-100%); top: 8px; transition: 0.5s transform ease 0.8s, 0.3s left ease 0.8s, 0.5s top ease 0.8s; }
.map-base.active .side-4 { left: 100%; transform: skewY(-2deg) translateX(100%); top: 8px; margin-left: -7px; transition: 0.5s transform ease 0.8s, 0.3s left ease 0.8s, 0.5s top ease 0.8s, 0.5s margin ease 0.8s; }
.map-base.active .side-5 { left: -100%; transform-origin: center left; transform: rotateY(180deg); transition: 0.5s transform, 0.7s left 0.8s, 0.2s margin 0.8s; top: 0px; margin-left: 4px; }
.map-base.active .side-5 .front { transform: rotateY(180deg); transition: 0.1s transform; }
.map-base.active .side-6 { left: 150%; transform: rotateY(180deg); transform-origin: center right; margin-left: -8px; transition: 0.5s transform 0.3s, 0.7s left 0.8s, 0.5s top 0.8s, 0.5s margin 0.8s; }
.map-base.active .side-6 .front { transform: rotateY(180deg); transition: 0.1s transform; }
.map-base.active .footstep,
.map-base.active .scroll-name { opacity: 1; transition: 0.5s opacity 2.5s; }
.map-base.active .footsteps-1 .footstep { animation: 8s footsteps-1 ease 3s forwards; }
.map-base.active .footsteps-1 .scroll-name { animation: 8s scroll-1 ease 3s forwards; }
.map-base.active .footsteps-2 .footstep { animation: 8s footsteps-2 ease 3.2s forwards; }
.map-base.active .footsteps-2 .scroll-name { animation: 8s scroll-2 ease 3.2s forwards; }

@keyframes footsteps-1 { 10% { transform: translate(8px, -15px) rotate(30deg); } 20% { transform: translate(30px, -45px) rotate(30deg); } 30% { transform: translate(40px, -75px) rotate(20deg); } 40% { transform: translate(45px, -100px) rotate(10deg); } 50% { transform: translate(50px, -125px) rotate(10deg); } 60% { transform: translate(50px, -135px) rotate(10deg); } 100% { transform: translate(50px, -135px) rotate(20deg); } }
@keyframes footsteps-2 { 0% { } 80% { transform: translate(-170px, -25px) rotate(-90deg); } 100% { transform: translate(-180px, -25px) rotate(-90deg); } }
@keyframes scroll-1 { 10% { transform: translate(8px, -15px); } 20% { transform: translate(30px, -45px); } 30% { transform: translate(40px, -75px); } 40% { transform: translate(45px, -100px); } 50% { transform: translate(50px, -125px); } 60% { transform: translate(50px, -135px); } 100% { transform: translate(50px, -135px); } }
@keyframes scroll-2 { 0% { } 80% { transform: translate(-170px, -25px); } 100% { transform: translate(-180px, -25px); } }

/* =========================
   Footsteps Overlay (Refined)
========================= */
.footsteps-overlay {
    position: fixed;        /* stays visible even during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;   /* allows interacting with underlying content */
    overflow: hidden;       /* prevent scrollbars from appearing */
    z-index: -1;           /* above background, below modals */
    opacity: 0.4;
}

/* Footprint base */
.footprint {
    position: absolute;
    opacity: 0;
    transform-origin: center bottom;
    transition: transform 0.2s linear, opacity 0.3s linear;
    mix-blend-mode: multiply; /* makes footsteps blend with background */
}

/* Human Footprints */
/* Human Footprints (shoe-like) */
.footprint.human.left {
    width: 24px; 
    height: 40px;
    background: rgba(97, 83, 73, 0.8);
    clip-path: polygon(
        50% 0%,   /* toe tip */
        65% 5%, 
        80% 20%, 
        85% 35%, 
        85% 60%, 
        70% 80%, 
        60% 95%,  /* heel */
        40% 95%, 
        30% 80%, 
        15% 60%, 
        15% 35%, 
        20% 20%, 
        35% 5%
    );
}

.footprint.human.right {
    width: 24px; 
    height: 40px;
    background: rgba(97, 83, 73, 0.8);
    clip-path: polygon(
        50% 0%, 
        35% 5%, 
        20% 20%, 
        15% 35%, 
        15% 60%, 
        30% 80%, 
        40% 95%, 
        60% 95%, 
        70% 80%, 
        85% 60%, 
        85% 35%, 
        80% 20%, 
        65% 5%
    );
}

/* Dog Paw Prints */
.footprint.dog.left {
    width: 18px; 
    height: 18px;
    background: rgba(79, 56, 38, 0.85);
    clip-path: polygon(
        50% 0%,    /* main pad top */
        60% 5%, 
        70% 15%, 
        65% 25%, 
        60% 30%, 
        55% 35%, 
        50% 40%,  /* pad center */
        45% 35%, 
        40% 30%, 
        35% 25%, 
        30% 15%, 
        40% 5%
    );
}

.footprint.dog.right {
    width: 18px; 
    height: 18px;
    background: rgba(79, 56, 38, 0.85);
    clip-path: polygon(
        50% 0%, 
        40% 5%, 
        30% 15%, 
        35% 25%, 
        40% 30%, 
        45% 35%, 
        50% 40%, 
        55% 35%, 
        60% 30%, 
        65% 25%, 
        70% 15%, 
        60% 5%
    );
}


/* Smooth fade-out animation for footprints */
.footprint.fade-out {
    opacity: 0;
    transition: opacity 2s linear, transform 0.2s linear;
}

/* Optional: subtle shadow to give depth */
.footprint::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(1px);
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
}

.walker {
    position: absolute;
    pointer-events: none;
}
.walker-label {
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translate(-50%, 20px);
    width:100px;
    height: 250px;
    background: url('./assets/images/map-fragment/scroll.svg') no-repeat center;
    background-size: 100% 100%; /* stretch to fit container */

    padding: 10px 25px;  /* bigger padding for longer names */
    min-width: 120px;    /* ensure scroll isn’t too small */
    min-height: 50px;    /* taller scroll for a better look */
    
    font-family: "Dancing Script", cursive;
    font-size: 1rem;      /* slightly larger text */
    color: #3a2a1a;
    text-align: center;
    white-space: nowrap;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
    opacity:1;
}





/* Subtle floating effect like handwriting moving */
@keyframes floaty {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -5px); }
}

.image-mask {
  display: inline-block;
  position: relative;
  overflow: hidden;

  /* Apply brush stroke PNG as mask */
  -webkit-mask-image: url("assets/images/dry-brush-stroke-8.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;

  mask-image: url("assets/images/dry-brush-stroke-8.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100%;

  /* Animate smoothly */
  transition: -webkit-mask-size 2s ease, mask-size 2s ease;
}
/* On hover, remove mask */
.image-mask:hover {
  -webkit-mask-size: 250%; 
  mask-size: 250%;
}
.image-mask-2:hover {
  -webkit-mask-size: 250%; 
  mask-size: 250%;
}
.image-mask-2 {
  display: inline-block;
  position: relative;
  overflow: hidden;

  /* Apply brush stroke PNG as mask */
  -webkit-mask-image: url("assets/images/dry-brush-stroke-8.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;

  mask-image: url("assets/images/dry-brush-stroke-8.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100%;

  /* Animate smoothly */
  transition: -webkit-mask-size 2s ease, mask-size 2s ease;
}
.image-mask-2 {
  transform: scaleX(-1);
}
.image-mask-2 img {
  transform: scaleX(-1); /* flip the image back to normal */
}
/* Floating QR / Hoverable Shadow */
.hoverable-shadow {
  display: inline-block;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); */
  transform: translateY(0);
  cursor: pointer;
}

/* Hover (for desktop) */
/* .hoverable-shadow:hover {
    border-radius: 1rem;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
} */

/* Active / Tap (for mobile and click) */
/* .hoverable-shadow:active {
    border-radius: 1rem;
  transform: translateY(-3px) scale(0.98);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
} */

.dancing-script{
    font-family:"Dancing Script";
    font-size:1.5rem;
}
.music-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 1100;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--pastel-cream) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(212, 197, 232, 0.5);
  box-shadow: var(--shadow-box);
}
.text-justify{
    text-align: justify !important;
}

    .wedding-table {
        width: 100%;
        max-width: 900px;
        margin: 40px auto;
        border-collapse: collapse;
        color: #333;
        text-align: center;
    }

    .wedding-table th {
        background: #f8f3f0;
        color: #444;
        font-size: 1.75rem;
        padding: 1px;
        border-bottom: 2px solid #d9cdc5;
        text-transform: capitalize;
        letter-spacing: 1px;
        font-family: var(--font-script);
    }

    .wedding-table td {
        padding: 1px 12px;
        border-bottom: 1px solid #eee;
        text-align: center;
        font-family: var(--font-main);
        font-size: 1rem;
    }

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

    .section-title {
        background: #efe7e3 !important;
        font-weight: bold;
        font-size: 1.5rem !important;
        padding: 14px !important;
        letter-spacing: 1px;
    }
.music-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(154, 127, 181, 0.3);
  color: var(--color-primary) !important;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-box); }
  50% { transform: scale(1.08); box-shadow: 0 0 18px rgba(154, 127, 181, 0.35); }
}

.music-btn.playing {
  animation: pulse 1.8s infinite ease-in-out;
}
section{
    padding-top:2rem;
}
.suit-preview {
  position: relative;
  display: block;
}

.suit-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent; /* will be set by JS */
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: background 0.4s ease;
}
.suit-preview::after {
  background: var(--suit-color, transparent);
}
/* Color swatches */
.color-box-container { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.color-box {
  width:50px; height:50px; border-radius:8px; cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, outline .08s;
  box-shadow: var(--shadow-box);
  border: 2px solid rgba(255,255,255,0.35);
}
.color-box:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.color-box:active { transform: scale(0.98); }

/* active swatch outline */
.color-box.active {
  outline: 3px solid rgba(255,255,255,0.85);
  transform: scale(1.12);
}

/* Example color classes (uses your :root vars) */
.color-blush-light { background: var(--color-blush-light); }
.color-blush-medium { background: var(--color-blush-medium); }
.color-blush-rose { background: var(--color-blush-rose); }
.color-blush-deep { background: var(--color-blush-deep); }

.color-beige-ivory { background: var(--color-beige-ivory); }
.color-beige-cream { background: var(--color-beige-cream); }
.color-beige-sand { background: var(--color-beige-sand); }
.color-beige-taupe { background: var(--color-beige-taupe); }

/* Suit wrapper + overlay (overlay will carry the chosen color) */
.suit-wrapper img {
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
  opacity: 1;
}

.suit-fade {
  opacity: 0;
}

/* 👗 Dress recolor wrapper */
.dress-wrapper img {
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
  opacity: 1;
}

.dress-fade {
  opacity: 0;
}


/* Special forbidden colors */
.color-box.forbidden {
  position: relative;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none; /* disables clicks */
}

/* Forbidden color boxes (not allowed) */
.color-box.forbidden {
  position: relative;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none; /* not clickable */
}

/* Red X overlay */
.color-box.forbidden::before,
.color-box.forbidden::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 5px;
  background: red;
  transform-origin: center;
}

.color-box.forbidden::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.color-box.forbidden::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ================================
   Hero Background Video Styles
================================ */
.hero-video-background {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen */
    overflow: hidden;
    background: #000;
}

/* Make iframe behave like a video background */
.hero-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* Maintain 16:9 ratio while filling vertical space */
    height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* Disable click-to-pause and UI interactions */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

/* Fade in on load */
.hero-video-background iframe.loaded {
    opacity: 1;
}

/* For small devices: ensure full cover */
@media (max-aspect-ratio: 16/9) {
    .hero-video-background iframe {
        width: 100vw;
        height: 56.25vw;
    }
}
.btn-brand{
    background: linear-gradient(145deg, var(--pastel-lavender-deep) 0%, var(--color-primary) 100%);
    color: var(--pastel-cream);
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 197, 232, 0.5);
    box-shadow: var(--shadow-box);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-brand:hover, .btn-brand:active{
    color: var(--pastel-cream);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(154, 127, 181, 0.3);
}
.icon_link{
    all:unset;
    font-size: 3rem;
}
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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


.color-box {
    cursor: pointer; /* still works if hovered in desktop or for accessibility */
    border: 2px solid transparent;
    border-radius: 8px;
    position: relative;
    transition: border 0.2s, transform 0.2s;
}

.color-box:active {
    transform: scale(0.95); /* subtle press feedback */
}

/* Pulsing animation for tap cue */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.tap-cue {
  display: block;
  text-align: center;
  font-size: 1rem;
  color: #454545;
  opacity: 0.7;
  margin-top: 0px;
  font-weight: 1000;
  font-family: var(--font-main);
  
  /* animation properties */
  animation: pulse 1.2s infinite;
}

.faq-item {
  
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-label{
    /* background-color: blue; */
    
    font-size: 2rem;
    font-family: var(--font-script);
    height: 100%;
    /* background-color: blue; */
}
.faq-label.q{
    border-right:#ddd solid 2px;
    padding: 10px 15px 10px 15px;
}
.faq-label.a{
    border-left:#ddd solid 2px;
     padding: 10px 0px 10px 15px;
}
.faq-question-wrapper{
    padding-inline:20px;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq-question-container {
  border: 1px solid var(--color-beige-ivory);
  border-radius: 8px;
  background: var(--color-beige-ivory);
  padding: 5px 20px 5px 0px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center !important;
}
/* Triangle on the left */
.faq-question-container::before {
  content: "";
  position: absolute;
  left: -20px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid var(--color-beige-ivory); /* same as background */
  z-index: 1;
}
.faq-question{
    padding: 15px 20px;
}
.faq-answer{
    padding: 15px 20px;
    max-height: 0;
    text-align: justify;
    transition: max-height 0.4s ease, padding 0.4s ease, border 0.4s ease;
}
.faq-question-container::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question-container::after {
  transform: rotate(45deg);
}
.faq-answer-wrapper{
    padding-inline:20px;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq-answer-container {
    margin-top:12px;
  max-height: 0;
  overflow: hidden;
  padding: 0px 20px 0px 0px;
  background: transparent;
  transition: max-height 0.4s ease, padding 0.4s ease, border 0.4s ease;
}

.faq-answer-container {
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center !important;
  border: 1px solid transparent;
}
.faq-item.open .faq-answer-container::before {
  content: "";
  position: absolute;
  right: -20px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff; /* same as background */
  z-index: 1;
}
.faq-item.open .faq-answer-container::after {
  content: "";
  position: absolute;
  right: -21px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 20px solid #ddd; /* same as background */
  z-index: 0;
}
.faq-item.open .faq-answer-container {
    margin-top:12px;
    border: 1px solid #ddd;
  border-radius: 10px;
  max-height: 2000px; /* big enough for content */
  padding: 5px 20px 5px 0px;
  overflow: visible;
  background: white;
  display: flex;
  justify-content: end;
}
.faq-item.open .faq-answer {
    /* height:100%; */
  max-height:2000px; /* big enough for content */
  text-align: justify;
 
}

.faq-item a{
    color:var(--color-beige-taupe);
    font-weight: bold;
    text-decoration: none;
}

.faq-item a:hover, .faq-item a:active{
    color:var(--color-beige-taupe);
    font-weight: bold;
    text-decoration: underline;
}

.text-container{
    max-width: 900px;
}