/* style.css */
:root {
    --primary: #ff6b6b;
    --secondary: #ff8e8e;
    --accent: #ffb3b3;
    --dark: #5e3a3a;
    --light: #fff5f5;
    --white: #ffffff;
    --overlay: rgba(94, 58, 58, 0.9);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 29, 0.94);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.spinner {
  position: relative;
  width: 70px;
  height: 70px;
}

.spinner-ring {
  box-sizing: border-box;
  position: absolute;
  top: 0; left: 0;
  width: 70px;
  height: 70px;
  border: 6px solid #ffd369;
  border-top: 6px solid #47307b;
  border-radius: 50%;
  animation: spin 1.15s linear infinite;
  box-shadow: 0 0 28px 0 #ffd36977;
}

.spinner-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px;
  height: 16px;
  background: #ffd369;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px #ffd369cc, 0 0 20px #fff7bb55;
  animation: pulseDot 1.15s ease-in-out infinite alternate;
}

/* Spinner ring spin animation */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Dot subtle pulsate animation */
@keyframes pulseDot {
  0% { box-shadow: 0 0 8px #ffd369cc, 0 0 20px #fff7bb55; }
  100% { box-shadow: 0 0 16px #ffd369cc, 0 0 36px #fff7bb77; }
}


/* Hindu Quote Container */
.logo-container {
  display: flex;
  align-items: center;
  gap: 50px; /* space between logo and quote */
}

/* Artistic Glassmorphic Floral Logo */
.logo.floral-logo img {
  height: 70px;   /* slightly larger for elegance */
  width: auto;
  border-radius: 50%;           /* circular shape */
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;

  /* Soft glass + gradient colors: pink + gold + warm cream */
  background: linear-gradient(135deg, rgba(255, 105, 135, 0.7), rgba(255, 214, 107, 0.5), rgba(255, 245, 230, 0.6));
  
  padding: 6px;
  border: 2px solid rgba(212, 175, 55, 0.6);
  
  /* Frosted-glass look */
  backdrop-filter: blur(6px) brightness(1.15) saturate(1.3);
  box-shadow:
    0 6px 18px rgba(255, 107, 135, 0.35),
    0 0 14px rgba(212, 175, 55, 0.4),
    inset 0 0 6px rgba(255, 255, 255, 0.25);

  filter: drop-shadow(0 0 8px #ffd54f) brightness(1.1);
}

/* Hover Animation */
.logo.floral-logo img:hover {
  transform: rotate(-4deg) scale(1.15);
  box-shadow:
    0 12px 28px rgba(255, 107, 135, 0.55),
    0 0 22px rgba(212, 175, 55, 0.55),
    inset 0 0 8px rgba(255, 255, 255, 0.35);
  filter: drop-shadow(0 0 10px #ffd54f) brightness(1.25) saturate(1.3);
}

/* Subtle floating pulse effect */
@keyframes logo-pulse {
  0%, 100% { transform: rotate(-1deg) scale(1); }
  50% { transform: rotate(1deg) scale(1.05); }
}

.logo.floral-logo img {
  animation: logo-pulse 6s infinite ease-in-out;
}

/* Optional glowing halo behind the logo */
.logo.floral-logo::after {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,107,0.25), rgba(255,105,135,0.05));
  z-index: -1;
  filter: blur(10px);
  transition: all 0.4s ease;
}


.hindu-quote {
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  max-width: 220px;
  line-height: 1.4;
  position: relative;
  padding-left: 10px;
}

.hindu-quote::before {
  content: "ॐ";
  position: absolute;
  left: -20px;
  top: -12px;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.8); /* Whitish tone */
  opacity: 0.3;
  font-weight: 600;
  transform: rotate(-12deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 0 5px rgba(255, 214, 107, 0.5));
  font-family: 'Noto Serif Devanagari', serif;
}

.sanskrit {
  white-space: nowrap;
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffd667;
}

.english {
  white-space: nowrap;
  font-size: 0.85rem;
  margin: 3px 0;
  font-style: italic;
}

.source {
  font-size: 0.7rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
}

/* Scrolled State */
.navbar.floral-nav.scrolled .hindu-quote {
  color: rgba(94, 58, 58, 0.9);
}

.navbar.floral-nav.scrolled .sanskrit {
  color: #d4af37;
}

.navbar.floral-nav.scrolled .source {
  color: rgba(94, 58, 58, 0.7);
}

@media (max-width: 992px) {
  .logo-container {
    flex-direction: row;            /* Horizontal row */
    justify-content: flex-start;    /* Align left */
    align-items: center;
    gap: 16px;                      /* smaller gap */
    padding: 0 16px;
  }

  .logo.floral-logo img {
    height: 48px;                   /* smaller logo */
    transition: transform 0.6s ease; /* smoother & slightly slower */
  }

  /* Position quote next to logo horizontally */
  .hindu-quote {
    display: flex;
    flex-direction: column;
    max-width: 60vw;                /* limit width */
    padding-left: 0;
    color: #f5e1a4;                 /* gentle gold tone */
    font-weight: 400;
    line-height: 1.35;
    font-style: normal;

    /* Slower transitions for text changes */
    transition: all 1.5s ease;
  }

  /* Simplify Om symbol in quote */
  .hindu-quote::before {
    content: "ॐ";
    font-size: 2.8rem;
    color: #f5e1a4;
    opacity: 0.25;
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 6px 0;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)) 
            drop-shadow(0 0 3px rgba(255, 214, 107, 0.45));
    transform: none;
    font-weight: 400;

    /* Slower glow/animation */
    transition: all 1.5s ease;
  }

  /* Adjust Sanskrit font */
  .sanskrit {
    font-size: 0.85rem;
    font-weight: 400;
    white-space: normal;
    margin-bottom: 1px;
    transition: all 1.5s ease;
  }

  .english {
    font-size: 0.8rem;
    white-space: normal;
    font-style: italic;
    transition: all 1.5s ease;
  }

  .source {
    font-size: 0.7rem;
    text-align: left;
    margin-top: 2px;
    color: #d4af37;
    font-weight: 300;
    transition: all 1.5s ease;
  }
}




















/* Floral Navigation Styles - Enhanced */
.navbar.floral-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,0,20,0.9) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.floral-nav.scrolled {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(20,0,20,0.9) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: auto; /* or same height as default */
}


.floral-nav .container {
    display: flex;
	justify-content: flex-end; /* shift all content to the right */
    justify-content: space-between;
    align-items: center;
	padding: 0.5rem 2rem; /* reduced horizontal padding */
    gap: 1.5rem;          /* smaller gap between logo and links */
    padding: 0.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}


.floral-logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #ff6b6b;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floral-logo:hover {
    transform: rotate(-3deg) scale(1.05);
    text-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.floral-logo i {
    font-size: 1.8rem;
    margin-right: 0.3rem;
}

.floral-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.floral-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.floral-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.floral-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.floral-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.floral-links a:hover::before {
    width: 80%;
}

.floral-links a.active {
    color: white;
    font-weight: 600;
}

.floral-links a.active::before {
    width: 80%;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    backdrop-filter: blur(5px);
}

.menu-toggle:hover {
    color: #ff6b6b;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Scrolled State Styles */
.navbar.floral-nav.scrolled .floral-links a {
    color: rgba(94, 58, 58, 0.9);
}

.navbar.floral-nav.scrolled .floral-links a::after {
    background: rgba(0, 0, 0, 0.05);
}

.navbar.floral-nav.scrolled .floral-links a:hover {
    color: #ff6b6b;
}

.navbar.floral-nav.scrolled .floral-links a.active {
    color: #ff6b6b;
}

.navbar.floral-nav.scrolled .floral-logo {
    color: #ff6b6b;
    text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.navbar.floral-nav.scrolled .menu-toggle {
    color: #5e3a3a;
    background: rgba(0, 0, 0, 0.05);
}

.navbar.floral-nav.scrolled .menu-toggle:hover {
    color: #ff6b6b;
    background: rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .floral-nav .container {
        padding: 1.2rem 2rem;
    }
    
    .floral-logo {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .floral-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,245,250,0.98) 100%);
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1rem;
        backdrop-filter: blur(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
    }

    .floral-links.active {
        right: 0;
    }

    .floral-links a {
        width: 100%;
        padding: 1.2rem;
        color: #5e3a3a;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease, background 0.2s ease;
    }

    .floral-links a::before,
    .floral-links a::after {
        display: none;
    }

    .floral-links a:hover {
        background: rgba(255, 107, 107, 0.1);
        transform: translateX(8px);
        color: #ff6b6b;
    }

    .floral-links a.active {
        background: rgba(255, 107, 107, 0.1);
        color: #ff6b6b;
        font-weight: 600;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .floral-nav .container {
        padding: 1rem 1.5rem;
    }

    .floral-logo {
        font-size: 2.2rem;
    }
    
    .navbar.floral-nav.scrolled {
        height: 60px;
    }
    
    .navbar.floral-nav.scrolled .floral-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Animation for menu items */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floral-links.active a {
    animation: fadeInRight 0.4s ease forwards;
}

.floral-links.active a:nth-child(1) { animation-delay: 0.1s; }
.floral-links.active a:nth-child(2) { animation-delay: 0.2s; }
.floral-links.active a:nth-child(3) { animation-delay: 0.3s; }
.floral-links.active a:nth-child(4) { animation-delay: 0.4s; }
.floral-links.active a:nth-child(5) { animation-delay: 0.5s; }
/* ================================
   Hero Section - Refined & Responsive
================================== */
.hero {
    height: 100vh;
    background: 
        linear-gradient(135deg, rgba(183, 110, 121, 0.8), rgba(61, 11, 11, 0.95)),
        url('https://images.unsplash.com/photo-1581368135150-aec7de2b5cb5') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ivory);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative Wave Overlay */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23F8C3CD"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23F8C3CD"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23F8C3CD"/></svg>') bottom center no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Content Area */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    transform: translateY(3%);
}

/* Heading */
.hero-content h1 {
    font-family: 'Alex Brush', cursive;
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: #f8f3f3;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    animation: subtleFloat 4s ease-in-out infinite;
    position: relative;
    word-wrap: break-word;
}

/* Floating effect */
@keyframes subtleFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Decorative Underline */
.hero-content h1::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    opacity: 0.7;
    transition: all 0.5s ease;
}
.hero-content h1:hover::before {
    width: 180px;
    opacity: 1;
}

/* Subtitle */
.hero-content span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin: 0 0.8rem;
    position: relative;
    letter-spacing: 0.5px;
}
.hero-content span::before,
.hero-content span::after {
    content: '~';
    position: absolute;
    color: rgba(248,243,243,0.4);
}
.hero-content span::before { left: -0.8em; }
.hero-content span::after { right: -0.8em; }

/* Divider */
.divider {
    width: 300px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-accent), transparent);
    margin: 2rem auto;
    position: relative;
}
.divider::after {
    content: '❤';
    font-size: 1.8rem;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: var(--deep-red);
    color: #ff0000;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 15px rgba(255,0,0,0.5), 0 0 30px rgba(212,175,55,0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Wedding Date */
.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff8f0;
    margin: 2rem 0;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 10px rgba(255,215,0,0.3);
    background: linear-gradient(to right, rgba(183,110,121,0.4), rgba(148,45,60,0.5), rgba(183,110,121,0.4));
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,215,0,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.5s ease-out forwards;
}
.wedding-date::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to bottom right, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
    transform: rotate(30deg);
}
.wedding-date:hover {
    transform: translateY(-3px);
    border-color: rgba(255,215,0,0.6);
    text-shadow: 0 1px 5px rgba(0,0,0,0.4), 0 0 15px rgba(255,215,0,0.5);
}
.wedding-date .separator {
    margin: 0 1rem;
    color: rgba(255,215,0,0.7);
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Couple Silhouette */
.couple-silhouette {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 250px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><path d="M80,160 Q100,60 120,160 Q140,60 160,160" stroke="%23F8C3CD" fill="none" stroke-width="3" stroke-linecap="round"/><path d="M220,160 Q240,60 260,160 Q280,60 300,160" stroke="%23F8C3CD" fill="none" stroke-width="3" stroke-linecap="round"/><path d="M150,120 Q200,100 250,120" stroke="%23F8C3CD" fill="none" stroke-width="2" stroke-linecap="round"/></svg>') center bottom no-repeat;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(248,195,205,0.5));
}

/* Floating Hearts */
.floating-hearts {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.floating-hearts span {
    position: absolute;
    color: rgba(255,0,0,0.7);
    font-size: 1.5rem;
    animation: floatHeart linear infinite;
}
@keyframes floatHeart {
    0% { transform: translateY(100vh) rotate(0deg) scale(0.5); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translateY(-20vh) rotate(360deg) scale(1); opacity: 0; }
}

/* Countdown Section */
.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 3rem;
    font-family: 'Playfair Display', serif;
    overflow-x: auto;
    padding: 0 1rem;
}
.countdown-item {
    background: linear-gradient(135deg, rgba(30,30,40,0.7), rgba(50,50,60,0.7));
    padding: 1.8rem 1rem;
    border-radius: 1.5rem;
    min-width: 120px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(210,175,70,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 0 12px rgba(210,175,70,0.1);
    text-align: center;
    transition: all 0.4s ease;
    flex: 0 0 auto;
}
.countdown-number {
    font-size: 3rem;
    font-weight: 600;
    color: #D2AF46;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.countdown-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #F0F0F0;
}
//* ================================
   Responsive Adjustments
================================== */
@media (max-width: 1023px) {
    .hero { padding-top: 80px; } /* slightly higher on tablets */
    .countdown-item { min-width: 100px; padding: 1.5rem 0.8rem; }
    .countdown-number { font-size: 2.2rem; }
    .countdown-label { font-size: 0.75rem; }
}

@media (max-width: 768px) {
    .hero { padding-top: 100px; height: auto; min-height: 100vh; background-position: top; }
    .hero-content { transform: none; padding: 1rem; }
    .hero-content h1 { font-size: 2.8rem; line-height: 1.2; }
    .hero-content span { font-size: 1.5rem; }
    .divider { width: 200px; }
    .wedding-date { font-size: 1.3rem; padding: 0.6rem 1.5rem; }
    .couple-silhouette { width: 280px; height: 180px; }
    .countdown-item { padding: 1.2rem 0.6rem; min-width: 90px; }
    .countdown-number { font-size: 2rem; }
    .countdown-label { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .hero { padding-top: 120px; } /* extra top padding for phones */
    .hero-content h1 { font-size: 2rem; line-height: 1.2; }
    .hero-content span { font-size: 1.2rem; }
    .countdown-item { padding: 0.8rem 0.5rem; min-width: 80px; }
    .countdown-number { font-size: 1.5rem; }
    .countdown-label { font-size: 0.65rem; }
    .wedding-date { font-size: 1rem; padding: 0.5rem 1rem; }
    .couple-silhouette { width: 220px; height: 140px; }

    /* Remove all floating elements on phones */
    .floating-element,
    .floating-hearts {
        display: none !important;
    }
}


//* Modern Couple Section with Animated Floral Background */
.couple-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(135deg, #fff9f9 0%, #f8f0e8 100%);
  overflow: hidden;
}

/* Animated Floral Background */
.couple-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,214,214,0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(214,234,255,0.15) 0%, transparent 25%),
    radial-gradient(circle at 40% 60%, rgba(255,241,214,0.15) 0%, transparent 25%);
  animation: watercolor 25s ease infinite alternate;
  z-index: 0;
}

@keyframes watercolor {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Floating Elements */
.floating-element {
  position: absolute;
  color: rgba(212, 175, 55, 0.4);
  font-size: 1.5rem;
  animation: float linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

/* Different element styles */
.floating-element.heart { color: rgba(212, 175, 55, 0.6); }
.floating-element.flower { color: rgba(183, 110, 121, 0.5); }
.floating-element.sparkle { color: rgba(255, 255, 255, 0.7); }

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-20vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

.couple-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
  animation: fadeInUpSmooth 1.5s ease forwards;
  opacity: 0;
  padding-top: 2rem; /* lowers the text a bit */
}

.couple-header h2 {
  font-family: 'Great Vibes', cursive; /* Elegant calligraphy font */
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: transparent;

  background: linear-gradient(135deg, #f788ac, #f06292, #ec407a, #d81b60);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: none;
  display: inline-block;
  cursor: default;
  position: relative;
  transition: filter 0.4s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 3px rgba(232, 126, 158, 0.7));
}

/* Stylish black underline with a blur glow */
.couple-header h2::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 5px;
  background: black;
  border-radius: 8px;
  box-shadow:
    0 0 12px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(50, 50, 50, 0.5);
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
  opacity: 0.85;
  animation: pulseUnderlineBlack 4.5s ease-in-out infinite;
}

/* Shimmer highlight on text */
.couple-header h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -55%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  animation: shineMove 3.5s linear infinite;
  pointer-events: none;
  border-radius: 1rem;
  mix-blend-mode: screen;
}

.couple-header h2:hover {
  filter: drop-shadow(0 4px 10px rgba(233, 100, 148, 0.85)) brightness(1.1);
  transform: scale(1.08);
}

/* Animations */
@keyframes fadeInUpSmooth {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shineMove {
  0% {
    left: -55%;
  }
  100% {
    left: 120%;
  }
}

@keyframes pulseUnderlineBlack {
  0%, 100% {
    opacity: 0.85;
    box-shadow:
      0 0 12px rgba(0, 0, 0, 0.6),
      0 0 25px rgba(50, 50, 50, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 40px rgba(0, 0, 0, 0.8),
      0 0 60px rgba(50, 50, 50, 0.7);
  }
}








/* Profile Cards */
.couple-profiles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

/* Card container */
.profile-card {
  width: 340px;
  background: linear-gradient(145deg, #fffdf9, #fdf6e3);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

/* Glow border hover */
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #d4af37, #ffdf70, #f8eab8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;  
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.profile-card:hover::before {
  opacity: 1;
}

/* Floating hover effect */
.profile-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Profile Image */
.profile-image {
  width: 280px;
  height: 280px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.profile-frame {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(
    from 0deg, 
    #d4af37, #f6e27a, #e6cf57, #d4af37
  );
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(212, 175, 55, 0.45),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: rotateGlow 8s linear infinite;
  z-index: 1;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-image img {
  background: white;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.profile-card:hover .profile-image img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.1) contrast(1.05);
}

/* Profile Name (Luxury Looking Text) */
.profile-name {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  color: #3a2525;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.profile-name:hover {
  color: #d4af37;
  text-shadow: 0 4px 12px rgba(212, 175, 55, 0.8);
}

/* Romantic Title */
.profile-title {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: #d4af37;
  letter-spacing: 0.12em;
  font-weight: 400;
  margin-bottom: 2.8rem;
  text-align: center;
  text-shadow:
    0 4px 8px rgba(212, 175, 55, 0.6),
    0 0 14px rgba(255, 223, 138, 0.6);
  transition: text-shadow 0.5s ease, color 0.5s ease, transform 0.5s ease;
  cursor: default;
  user-select: none;
}

/* Glow + Pulse Hover */
.profile-title:hover {
  color: #ffe066;
  text-shadow: 
    0 6px 18px rgba(255, 223, 70, 0.9),
    0 0 28px rgba(255, 239, 138, 0.9);
  transform: scale(1.08);
}


/* Dedicated Song Box */
.dedicated-song {
  margin-top: 30px;
  text-align: center;
  padding: 25px 35px;
  background: rgba(255, 253, 247, 0.96);
  border-radius: 20px;
  box-shadow:
    0 6px 28px rgba(191, 163, 90, 0.25),
    inset 0 0 25px rgba(230, 199, 102, 0.1);
  border: 1.5px solid rgba(191, 163, 90, 0.45);
  position: relative;
  overflow: hidden;
  transition: all 0.45s ease;
  cursor: default;
  user-select: none;
  animation: pulse-glow 7s ease-in-out infinite;
}

.dedicated-song:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(191, 163, 90, 0.45),
    inset 0 0 40px rgba(230, 199, 102, 0.2);
}

.dedicated-song::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2%;
  right: 2%;
  height: 6px;
  background: linear-gradient(90deg, #bfa35a, #e6c766, #bfa35a);
  border-radius: 14px 14px 0 0;
  z-index: 2;
}

.song-label {
  font-style: italic;
  margin-bottom: 18px;
  color: #b85c80; /* warm deep pink */
  font-size: 1.3em;
  font-weight: 700;
  position: relative;
  display: inline-block;
  letter-spacing: 1.2px;
  text-shadow:
    0 3px 8px rgba(184, 92, 128, 0.75),
    0 0 18px rgba(237, 158, 180, 0.6);
  transition: color 0.45s ease, text-shadow 0.45s ease;
  cursor: default;
}

.song-label::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4af37, #d4af37, transparent);
  border-radius: 6px;
  opacity: 1;
  box-shadow:
    0 0 6px #d4af37,
    0 0 12px #f9e79f;
}

.song-label:hover {
  color: #ffd97f;
  text-shadow:
    0 6px 15px rgba(255, 217, 127, 0.95),
    0 0 35px rgba(255, 235, 170, 0.85);
}

/* CLASSY, SEXY PINK-RED PLAY BUTTON */
.play-button, .bride-play-button {
  background: linear-gradient(135deg, #b53a57, #c94f68, #e76e8f); /* pink to deep rose gradient */
  border: 2.5px solid #f5c0cb; /* light pink border */
  color: #ffd6e8; /* pale pink text */
  padding: 16px 44px;
  border-radius: 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 1.05em;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(231, 110, 150, 0.6),
    inset 0 0 10px rgba(255, 200, 220, 0.35);
  user-select: none;
  text-shadow: 0 1px 2px rgba(255,105,180,0.7);
}

.play-button:hover, .bride-play-button:hover {
  background: linear-gradient(135deg, #fff0f7, #ffe6f3);
  color: #b30052;
  box-shadow:
    0 14px 40px rgba(230, 80, 140, 0.85),
    inset 0 0 35px rgba(255, 150, 200, 0.5);
  transform: translateY(-6px) scale(1.05);
  text-shadow: 0 2px 6px rgba(179, 6, 84, 0.9);
}

.play-button:active, .bride-play-button:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 6px 20px rgba(180, 50, 100, 0.7);
}

/* Animated sheen sweep on hover */
.play-button::after, .bride-play-button::after {
  content: '';
  position: absolute;
  top: -75%;
  left: -95%;
  width: 240%;
  height: 240%;
  background: linear-gradient(
    65deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(27deg);
  transition: all 0.8s ease;
  pointer-events: none;
}

.play-button:hover::after, .bride-play-button:hover::after {
  left: 140%;
}

/* Icon with subtle scale and color transition */
.play-icon {
  font-size: 22px;
  color: #ffc0d5;
  transition: transform 0.6s ease, color 0.6s ease;
}

.play-button:hover .play-icon, .bride-play-button:hover .play-icon {
  transform: scale(1.4);
  color: #d60073;
}

/* Pulse glow animation around the button container */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 100, 150, 0.5);
  }
  50% {
    box-shadow: 0 0 35px 20px rgba(230, 80, 130, 0.4);
  }
}

.dedicated-song {
  animation: pulse-glow 5.5s ease-in-out infinite;
}


/* Equalizer Bars */
.play-equalizer {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 20px;
  width: 24px;
  margin-left: 2px;
}

.play-equalizer div {
  width: 4px;
  background: #e6c766;
  border-radius: 2px;
  animation: equalize 1.4s ease-in-out infinite;
  transform-origin: bottom center;
  opacity: 0.85;
}

.play-equalizer div:nth-child(1) {
  height: 12px;
  animation-delay: 0s;
}
.play-equalizer div:nth-child(2) {
  height: 9px;
  animation-delay: 0.2s;
}
.play-equalizer div:nth-child(3) {
  height: 16px;
  animation-delay: 0.4s;
}

@keyframes equalize {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.6);
    opacity: 0.7;
  }
}


/* Glowing Red Heart Separator */
.couple-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #FF0000; /* Bright red */
  margin: 3rem 5rem 0;
  animation: heartbeatGlow 2.5s ease-in-out infinite;
  text-shadow:
    0 0 15px rgba(255, 0, 0, 0.9),
    0 0 30px rgba(255, 64, 64, 0.7),
    0 0 60px rgba(255, 120, 120, 0.5),
    0 0 90px rgba(255, 64, 64, 0.3);
  transition: transform 0.3s ease;
  cursor: default;
}

/* Slight scale-up on hover for interactivity */
.couple-heart:hover {
  transform: scale(1.15);
  text-shadow:
    0 0 20px rgba(255, 0, 0, 1),
    0 0 40px rgba(255, 50, 50, 0.8),
    0 0 70px rgba(255, 80, 80, 0.6),
    0 0 100px rgba(255, 0, 0, 0.4);
}

/*/* Heartbeat glowing animation */
@keyframes heartbeatGlow {
  0%, 100% {
    transform: scale(1) translateY(3px);
    text-shadow:
      0 0 15px rgba(255, 0, 0, 0.9),
      0 0 30px rgba(255, 64, 64, 0.7),
      0 0 60px rgba(255, 120, 120, 0.5),
      0 0 90px rgba(255, 64, 64, 0.3);
  }
  30% {
    transform: scale(1.3) translateY(13px);
    text-shadow:
      0 0 25px rgba(255, 0, 0, 1),
      0 0 50px rgba(255, 100, 100, 0.8),
      0 0 90px rgba(255, 140, 140, 0.7),
      0 0 130px rgba(255, 80, 80, 0.5);
  }
  60% {
    transform: scale(1.15) translateY(8px);
    text-shadow:
      0 0 20px rgba(255, 0, 0, 0.95),
      0 0 40px rgba(255, 80, 80, 0.75),
      0 0 70px rgba(255, 90, 90, 0.6),
      0 0 100px rgba(255, 80, 80, 0.45);
  }
}

/* Apply heartbeat animation */
.heart-element {
  animation: heartbeatGlow 2s infinite ease-in-out; /* default speed */
}

/* Slower animation for small screens */
@media (max-width: 480px) {
  .heart-element {
    animation-duration: 4s; /* slower on phones */
  }
}






/* ================================
   Responsive Design
================================== */
@media (max-width: 1024px) {
  .couple-profiles {
    gap: 3rem;
  }
  
  .profile-card {
    width: 260px;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .couple-section {
    padding: 4rem 0;
  }
  
  .couple-profiles {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .couple-heart {
    margin: 1rem 0;
    transform: rotate(90deg);
  }
  
  .profile-card {
    width: 100%;
    max-width: 280px;
  }
}

/* ================================
   Remove Floating Elements on Phones
================================== */
@media (max-width: 480px) {
  .floating-element,
  .floating-hearts {
    display: none !important;
  }
}

/* Container: elegant warm glassmorphic background */
.story {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8d7da 0%, #f9dcdc 60%, #fff5f6 100%);
  color: #4a1c1c;
  -webkit-font-smoothing: antialiased;
  font-smooth: antialiased;
  min-height: 80vh;
  font-family: 'Montserrat', sans-serif;
}

/* Glassmorphic backdrop container */
.story-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    0 8px 24px rgba(212, 175, 55, 0.08);
  z-index: 1;
}

/* Vertical timeline bar - subtle gold gradient */
.story-timeline::before {
  content: '';
  position: absolute;
  width: 3px;
  background: linear-gradient(180deg, #d4af37ef, #ff6b6bde);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  border-radius: 3px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

/* Timeline items with clean glass style */
.timeline-item {
  box-sizing: border-box;
  position: relative;
  width: 50%;
  padding: 24px 40px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #3c1f1f;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.22),
              0 0 15px rgba(255, 107, 107, 0.15);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Dates - elegant gold with subtle glow */
.timeline-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #b5890e;
  text-shadow: 0 0 4px #d4af3733;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* Content box - delicately transparent with soft text */
.timeline-content {
  background: transparent;
  border-radius: 12px;
  padding: 0;
  box-shadow: none;
  color: #4a1c1c;
  font-weight: 500;
}

/* Headings - serif with subtle gold accent */
.timeline-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: #874a2e;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 4px #d4af3733;
  transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content h3 {
  color: #d4af37;
  text-shadow: 0 0 12px #ffd54f;
}

/* Icons with soft glassy circle and gold glow */
.timeline-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  border: 1.5px solid #d4af37cc;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  color: #d4af37cc;
  text-align: center;
  line-height: 54px;
  font-size: 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 0 6px #ffd54fcc);
  user-select: none;
  cursor: default;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -70px;
  top: 18px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -70px;
  top: 18px;
}

.timeline-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.8),
              0 0 12px rgba(255, 107, 107, 0.4);
}

/* Hindu Motifs with subtle golden transparency */
.hindu-motif {
  position: absolute;
  font-size: 1.9rem;
  opacity: 0.25;
  color: #d4af37cc;
  user-select: none;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 9px #ffd54faa);
}

.timeline-item:nth-child(odd) .hindu-motif {
  left: -38px;
  top: 50%;
  transform: translateY(-50%) rotate(-10deg);
}

.timeline-item:nth-child(even) .hindu-motif {
  right: -38px;
  top: 50%;
  transform: translateY(-50%) rotate(10deg);
}

.timeline-item:hover .hindu-motif {
  transform: translateY(-55%) rotate(0) scale(1.15);
  filter: drop-shadow(0 0 18px #ffd54f);
}

/* Subtitle and heart */
.section-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  color: #db3e4f;
  letter-spacing: 0.2em;
  margin-top: -0.8rem;
  text-shadow: 0 0 12px #db3e4fbb;
  user-select: none;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.section-subtitle:hover {
  color: #ff5664;
  text-shadow: 0 0 28px #ff5664bb;
}

.heart {
  font-size: 3rem;
  color: #db3e4f;
  margin: 1.5rem 0;
  filter: drop-shadow(0 0 10px #db3e4fcc);
  animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

/* Responsive Timeline for Phones - Sleek Version */
@media (max-width: 900px) {
  /* Timeline container items */
  .timeline-item {
    width: 90% !important;           /* slightly narrower */
    margin: 40px auto !important;    /* center with spacing */
    padding: 15px 20px !important;   /* comfortable padding */
    text-align: left !important;     
    left: 0 !important;
    transform: none !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12); /* lighter glass */
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Timeline icons */
  .timeline-icon {
    position: absolute;
    left: 20px !important;           /* aligned left */
    top: 0 !important;
    width: 40px;                      
    height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1.5px solid #d4af37cc;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transform: none !important;
  }

  /* Timeline vertical line */
  .story-timeline::before {
    left: 40px !important;           /* aligned with icons */
    width: 2px !important;           /* thin and elegant */
    margin-left: 0;
  }

  /* Content inside each card */
  .timeline-item .timeline-content {
    padding-left: 70px;               /* space for icon */
    padding-right: 10px;
  }

  /* Remove odd/even alignment differences */
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  /* Reduce hover movement for compactness */
  .timeline-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.18),
                0 0 10px rgba(255, 107, 107, 0.12);
  }

  /* Optional: Hindu motif smaller and subtle */
  .timeline-item .hindu-motif {
    left: 5px !important;
    top: 50%;
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 0.15;
    font-size: 1.5rem;
  }
}


.vedic-quote {
    max-width: 680px;
    margin: 4rem auto 0;
    padding: 2rem 2.5rem; /* Reduced padding for more balance */
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem; /* Reduced font size for a more refined appearance */
    color: #5a4a4a;
    position: relative;
    background: linear-gradient(110deg, #f9f4e7 80%, #f0e0b1 100%); /* Softer gradient */
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1), 0 1px 15px rgba(168, 107, 23, 0.1); /* Subtle, refined shadow */
    border: 1.5px solid #f6e0a1; /* Keeping the soft golden border */
}

.vedic-quote::before, .vedic-quote::after {
    content: '"';
    font-size: 3rem; /* Slightly reduced size for elegance */
    color: rgba(212, 175, 55, 0.3); /* Softer golden tone */
    font-family: 'Dancing Script', cursive;
    position: absolute;
    z-index: 1;
    transition: color 0.3s;
}

.vedic-quote::before {
    top: -20px;
    left: 10px;
}

.vedic-quote::after {
    bottom: -22px;
    right: 10px;
}

.quote-source {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem; /* Slightly smaller font size */
    font-style: normal;
    color: #b89535;
    margin-top: 1.2rem; /* Slightly reduced margin */
    letter-spacing: 0.03em;
    font-weight: 600;
    text-shadow: 0 1px 6px #fbe9ae50; /* Softer text shadow for a more refined look */
}


.vedic-image {
    width: 90%; /* Reduces width, ensuring the image isn't too wide */
    max-height: 400px; /* Adjusts the height, keeping the image visible */
    object-fit: contain; /* Ensures the full image is visible while keeping aspect ratio */
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 18px rgba(255, 105, 180, 0.2); /* Light pinkish shadow for classy effect */
    border: 1px solid rgba(255, 105, 180, 0.3); /* Soft pink border */
    display: block; /* Ensures it’s a block element, helping with layout */
    margin-left: auto;
    margin-right: auto; /* Centers the image */
    position: relative; /* Allows the pseudo-element to be positioned within the image */
    background: rgba(255, 182, 193, 0.3); /* Light pink glass effect */
    backdrop-filter: blur(8px); /* Frosted glass effect */
}

/* Dark Background Overlay */
.vedic-image::before {
    content: ""; /* Adds the pseudo-element */
    position: absolute; /* Positioned relative to the image */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 182, 193, 0.3); /* Light pink background */
    border-radius: 12px; /* Matches the image's border-radius */
    z-index: 1; /* Puts the overlay below the image */
    backdrop-filter: blur(8px); /* Frosted glass effect */
}

.vedic-image img {
    position: relative; /* Makes sure the image stays above the overlay */
    z-index: 2; /* Puts the image on top of the background */
    border-radius: 12px; /* Ensure image corners match the container */
}



/* Responsive Design */
@media (max-width: 768px) {
    .story-timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-icon {
        left: 15px !important;
        right: auto !important;
    }
    
    .hindu-motif {
        display: none;
    }
}
/*event*/
/* Enhanced Events Section CSS */
.events {
  padding: 8rem 0;
  background: #fff9f9;
  position: relative;
  overflow: hidden;
}

.events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    url('images/altar.png') no-repeat left 10% top 20%/150px,
    url('images/kolam.png') no-repeat right 10% bottom 20%/180px;
  opacity: 0.03;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #3a2525;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.section-subtitle {
  font-family: 'Hind Siliguri', sans-serif;
  color: #7a6b6b;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.heart {
  color: #e74c3c;
  font-size: 2.5rem;
  margin: 1.5rem 0;
  animation: pulse 2s infinite;
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

/* EVENT SECTION */
.events {
  padding: 8rem 0;
  background: #fff9f9;
  position: relative;
  overflow: hidden;
}

.events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    url('images/altar.png') no-repeat left 10% top 20%/150px,
    url('images/kolam.png') no-repeat right 10% bottom 20%/180px;
  opacity: 0.03;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #3a2525;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e76e8f, transparent);
}

.section-subtitle {
  font-family: 'Hind Siliguri', sans-serif;
  color: #7a6b6b;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.heart {
  color: #e74c3c;
  font-size: 2.5rem;
  margin: 1.5rem 0;
  animation: pulse 2s infinite;
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

/* Event Cards */
.event-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.event-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  border-top: 4px solid #e76e8f;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

.event-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #b53a57, #e76e8f);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card h3 {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  font-size: 1.7rem;
  color: #3a2525;
  padding: 1.8rem 1.8rem 0.8rem;
  margin: 0;
  line-height: 1.3;
  position: relative;
}

.event-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.8rem;
  width: 50px;
  height: 2px;
  background: #e76e8f;
}

.event-date {
  font-family: 'Montserrat', sans-serif;
  color: #5a4a4a;
  padding: 0 1.8rem;
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
}

.venue {
  color: #e76e8f !important;
  font-weight: 600;
  margin-bottom: 1.2rem !important;
  padding: 0 1.8rem !important;
  font-size: 1.05rem;
}

.event-details {
  padding: 0 1.8rem;
  margin: 1.5rem 0;
}

.event-details h4 {
  font-family: 'Montserrat', sans-serif;
  color: #3a2525;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.event-details h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(231, 110, 143, 0.3);
}

.event-details li {
  font-family: 'Hind Siliguri', sans-serif;
  color: #5a4a4a;
  padding: 0.5rem 0 0.5rem 1.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.event-details li i {
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: #e76e8f;
  font-size: 0.8rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  padding: 1rem 2.5rem;
  margin: 1.5rem;
  border-radius: 48px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.05px;
  color: #fff0f5;
  background: linear-gradient(135deg, #b53a57, #c94f68, #e76e8f);
  border: 2px solid #d87a99;
  box-shadow: none; /* removed glow */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  filter: none;
}

.map-link::after {
  display: none; /* removed shine overlay */
}

.map-link:hover {
  background: linear-gradient(135deg, #e38ea4, #f1a3b3);
  color: #80003f;
  transform: translateY(-2px);
  border-color: #b45b75;
  box-shadow: none;
  filter: none;
  z-index: auto;
}

.map-link i {
  margin-right: 12px;
  font-size: 1.1rem;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #f9c5d0;
  filter: none;
  z-index: auto;
}

.map-link:hover i {
  transform: scale(1.15);
  color: #80003f;
  filter: none;
}



/* Responsive Design */
@media (max-width: 992px) {
  .event-row {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .events {
    padding: 6rem 0;
  }
  
  .event-row {
    grid-template-columns: 1fr;
    max-width: 550px;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .event-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 2.3rem;
  }
  
  .event-card h3 {
    font-size: 1.5rem;
  }
  
  .map-link {
    width: calc(100% - 3rem);
    margin: 1.5rem 1.5rem 2rem;
  }
}

/* Invitation Section */
.invitation {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0c0a06 0%, #16120d 100%);
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invitation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 25%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><rect fill="%230c0a06" width="120" height="120"/><path fill="%2317140f" d="M0,0 L120,120 M120,0 L0,120" stroke="%23231f18" stroke-width="0.3"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

/* Title Styling */
.section-header {
  margin-bottom: 50px;
}

.invitation-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.bengali-title {
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 2.4rem;
  color: #d4af37;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.divider-icon {
  color: #d4af37;
  font-size: 1.8rem;
  margin: 8px 0;
  opacity: 0.7;
}

.english-title {
  font-size: 2rem;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 1px;
  font-style: italic;
}

/* Heart divider - more elegant */
.divider {
  margin: 30px auto;
  position: relative;
  width: 160px;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}



/* Card Styling - more elegant */
.invitation-card {
  background: linear-gradient(135deg, #17130e 0%, #221e17 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 50px 45px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.invitation-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  pointer-events: none;
}

.invitation-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/cartoon_2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.invitation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

/* Decorative Elements - more subtle */
.corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: rgba(212, 175, 55, 0.6);
  border-style: solid;
  opacity: 0.7;
  z-index: 2;
}

.corner-tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
  border-radius: 8px 0 0 0;
}

.corner-tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
  border-radius: 0 8px 0 0;
}

.corner-bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 8px;
}

.corner-br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 8px 0;
}

.border-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.border-pattern::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 6px;
}

/* Invitation Text - cleaner */
.invite-text {
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.invite-text.bengali {
  font-family: 'Hind Siliguri', sans-serif;
}

.invite-text p {
  font-size: 1.1rem;
  color: #e5dfcf;
  line-height: 1.8;
  margin: 16px 0;
  letter-spacing: 0.3px;
}

.invite-text .couple-name {
  font-weight: 600;
  color: #d4af37;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 0 4px;
  position: relative;
}

.invite-text .couple-name::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.invite-text .opening-line {
  font-size: 1.4rem;
  font-weight: 500;
  color: #d4af37;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.invite-text .closing-line {
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 24px;
  color: #c9b88e;
  position: relative;
  padding-top: 16px;
}

.invite-text .closing-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.first-letter {
  font-size: 2rem;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1;
  margin-right: 4px;
}

/* Ornamental Divider - cleaner */
.divider-ornamental {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px 0;
  position: relative;
  z-index: 2;
}

.divider-ornamental .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  margin: 0 18px;
}

.divider-ornamental .ornament {
  font-size: 1.6rem;
  color: rgba(212, 175, 55, 0.7);
  font-family: 'Playfair Display', serif;
  animation: gentleSpin 12s linear infinite;
}

/* Floral Accents - more subtle */
.floral-accent {
  position: absolute;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.2);
  z-index: 0;
}

.floral-tl {
  top: 20px;
  left: 20px;
  transform: rotate(-15deg);
}

.floral-tr {
  top: 20px;
  right: 20px;
  transform: rotate(15deg);
}

.floral-bl {
  bottom: 20px;
  left: 20px;
  transform: rotate(15deg);
}

.floral-br {
  bottom: 20px;
  right: 20px;
  transform: rotate(-15deg);
}

/* Animations - more subtle */
@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes gentleSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .invitation {
    padding: 50px 15px;
  }
  
  .bengali-title {
    font-size: 2rem;
  }
  
  .english-title {
    font-size: 1.7rem;
  }
  
  .invitation-card {
    padding: 40px 30px;
    border-radius: 10px;
  }
  
  .invite-text p {
    font-size: 1.05rem;
  }
  
  .invite-text .opening-line {
    font-size: 1.25rem;
  }
  
  .corner {
    width: 28px;
    height: 28px;
  }
  
  .floral-accent {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .bengali-title {
    font-size: 1.7rem;
  }
  
  .english-title {
    font-size: 1.5rem;
  }
  
  .divider-icon {
    font-size: 1.6rem;
  }
  
  .invitation-card {
    padding: 32px 24px;
  }
  
  .invite-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .invite-text .couple-name {
    font-size: 1.15rem;
  }
  
  .first-letter {
    font-size: 1.8rem;
  }
  
  .divider-ornamental .ornament {
    font-size: 1.4rem;
  }
  
  .floral-accent {
    font-size: 1.5rem;
  }
  
  .divider {
    width: 140px;
  }
  
  .divider .heart i {
    font-size: 1.2rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .invitation {
    padding: 60px 15px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .invitation-card {
    padding: 30px 20px;
    border-radius: 10px;
  }
  
  .invite-text p {
    font-size: 1rem;
  }
  
  .invite-text .opening-line {
    font-size: 1.2rem;
  }
  
  .corner {
    width: 20px;
    height: 20px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .invitation-card {
    padding: 25px 15px;
  }

  .invite-text p {
    font-size: 1rem;
  }

  .invite-text .opening-line {
    font-size: 1.1rem;
  }
}

/* Sleek RSVP Section */
.rsvp {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 60%, #f0f0f0 100%);
    position: relative;
    min-height: 100vh;
}

.rsvp::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, #4a90e2, #50c878);
    opacity: 0.95;
    z-index: 9;
}

.rsvp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.rsvp-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 50px 40px;
    border: 1px solid #eaeaea;
    position: relative;
    overflow: visible;
}

.rsvp-card::after {
    display: none; /* Removed sparkle icon for cleaner look */
}

.rsvp-header {
    text-align: center;
    margin-bottom: 40px;
}
.rsvp-header h3 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 32px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.rsvp-header p {
    color: #666;
    font-size: 16px;
    font-style: normal;
    letter-spacing: 0.5px;
}

/* Attendance Section */
.attendance-selection h4 {
    font-family: 'Poppins', sans-serif;
    color: #444;
    font-size: 20px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

.attendance-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.attendance-option {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.option-card {
    display: flex;
    align-items: center;
    padding: 22px 30px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fafafa;
    min-width: 260px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

.attendance-option.selected .option-card {
    border-color: #4a90e2;
    background: #f0f7ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(74,144,226,0.15);
}

.option-icon {
    margin-right: 16px;
    font-size: 32px;
    color: #4a90e2;
}

.attendance-option[data-response="yes"].selected .option-icon {
    color: #50c878;
}
.attendance-option[data-response="no"].selected .option-icon {
    color: #e74c3c;
}

.option-text h5 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 18px;
}
.option-text p {
    color: #666;
    font-size: 14px;
}

/* Tick */
.option-tick {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px; height: 28px;
    background: #fff;
    border: 2px solid #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}
.attendance-option.selected .option-tick {
    opacity: 1;
    transform: scale(1.05);
}

/* Response Message */
.response-message {
    text-align: center;
    padding: 20px;
    margin: 24px 0 15px 0;
    border-radius: 10px;
    background: #f4faff;
    border: 1px solid #cde4ff;
    font-size: 16px;
}
.thank-you {
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}
.response-message p {
    color: #555;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Footer */
.rsvp-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}
.rsvp-footer p {
    color: #777;
    font-size: 14px;
}
.rsvp-footer a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
}
.rsvp-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .rsvp-card {
        padding: 25px 15px;
    }
    .attendance-options {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .option-card {
        width: 100%;
    }
}

/* Bridge Section */
.wishes-bridge {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(25,20,20,0.95), rgba(40,25,10,0.95)),
              url("https://www.transparenttextures.com/patterns/golden-fabric.png");
  background-size: cover;
  background-attachment: fixed;
  color: #f5e6c8; /* subtle gold text */
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.bridge-container {
  max-width: 900px;
  margin: 0 auto;
}

.bridge-text {
  font-size: 1.3rem;
  line-height: 1.8;
  font-style: italic;
  color: #eae0d5; /* cream-gold text for elegance */
  background: rgba(255, 255, 255, 0.08); /* similar to wall overlay */
  padding: 25px 30px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 2px solid rgba(212,175,55,0.6);
  backdrop-filter: blur(10px);
  animation: fadeIn 1.2s ease-in-out;
  transition: all 0.4s ease;
}

.bridge-text:hover {
  border-color: #d4af37;
  box-shadow: 0 25px 70px rgba(212,175,55,0.25);
}

.bridge-text::first-letter {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd369; /* subtle gold initial for touch of elegance */
}




/* Background & Layout */
.wishes-wall {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(25,20,20,0.95), rgba(40,25,10,0.95)),
              url("https://www.transparenttextures.com/patterns/golden-fabric.png");
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  color: #fff;
}

.wishes-overlay {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  border: 2px solid rgba(212,175,55,0.6);
  backdrop-filter: blur(10px);
  animation: fadeIn 1.2s ease-in-out;
  transition: all 0.4s ease;
}

.wishes-overlay:hover {
  border-color: #d4af37;
  box-shadow: 0 25px 70px rgba(212,175,55,0.25);
}

/* Header */
.wishes-title {
  font-size: 2.8rem;
  color: #f1e3c6;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: capitalize;
  text-shadow: 0px 4px 8px rgba(0,0,0,0.6);
}

.wishes-title span {
  color: #ffd369;
  font-style: italic;
  font-weight: 700;
  text-shadow: 0px 2px 10px rgba(255,211,105,0.6);
}

.wishes-instruction {
  font-size: 1.2rem;
  color: #e8d8b5;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  text-shadow: 0px 1px 5px rgba(0,0,0,0.5);
}

/* Divider */
.wishes-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
}

.wishes-divider .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffd369, transparent);
  margin: 0 14px;
  box-shadow: 0px 0px 8px rgba(255,211,105,0.6);
}

.wishes-divider .ornament {
  font-size: 2rem;
  color: #ffd369;
  text-shadow: 0 0 12px rgba(255,211,105,0.8);
  animation: glow 2s infinite alternate;
}

/* Padlet Board */
.padlet-wrapper {
  padding: 18px;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.85);
  border: 2px solid #ffd369;
  box-shadow: 0 20px 55px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.padlet-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 65px rgba(255,211,105,0.3);
}

.padlet-frame iframe {
  width: 100%;
  height: 520px;
  display: block;
  border-radius: 14px;
  border: none;
}

/* Direct Link Button */
.padlet-link {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffd369;
  background: rgba(30, 20, 20, 0.85);
  border: 2px solid #ffd369;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.padlet-link:hover {
  background: rgba(45, 30, 20, 0.95);
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  transform: scale(1.02);
}

/* Modern Footer Refined */
.site-end-footer {
  background: linear-gradient(135deg, rgba(32,32,32,0.96) 0%, rgba(18,18,18,0.96) 100%);
  backdrop-filter: blur(16px);
  color: #eaeaea;
  padding: 64px 24px 28px;
  font-family: 'Poppins', sans-serif;
  border-top: 1.5px solid rgba(255,255,255,0.11);
  box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.18);
  position: relative;
  z-index: 3;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2.3rem;
  font-weight: 800;
  color: #f7c14d;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(247,193,77,0.15);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 1.04rem;
  color: #c7bbc6;
  margin-top: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.18rem;
  margin-bottom: 16px;
  color: #ffd369;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin: 10px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #b1b1b1;
  font-weight: 400;
  transition: color 0.25s;
  position: relative;
}

.footer-links ul li a::after {
  content: '';
  display: block;
  width: 0%;
  border-bottom: 2px solid #ffd369;
  transition: width 0.3s;
  margin-top: 2px;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-links ul li a:hover::after {
  width: 60%;
}

.footer-contact p,
.footer-contact a {
  color: #b1b1b1;
  font-size: 0.98rem;
  font-weight: 400;
  transition: color 0.25s;
}

.footer-contact a {
  text-decoration: none;
  border-bottom: 1px dotted #ffd369;
}

.footer-contact a:hover {
  color: #ffd369;
  border-bottom: 1px solid #ffd369;
}

/* Social Icons */
.footer-social {
  margin-top: 4px;
}
.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.11);
  box-shadow: 0 2px 16px 0 rgba(247, 193, 77, 0.05), 0 1.5px 11px 0 rgba(255,255,255,0.02);
  font-size: 1.25rem;
  color: #f0eaea;
  transition: all 0.28s cubic-bezier(0, 0.55, 0.45, 1.4);
  border: 1.5px solid transparent;
}

.footer-social a:hover, .footer-social a:focus {
  background: rgba(247,193,77,0.95);
  color: #1c1c1c;
  transform: translateY(-4px) scale(1.12);
  border: 1.5px solid #ffd369;
  box-shadow: 0 0 16px 0 #ffd3696b;
  z-index: 2;
}

/* Bottom Note */
.footer-bottom {
  text-align: center;
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 19px;
  font-size: 1.01rem;
  color: #b5b5b5;
  letter-spacing: 0.04em;
}

.footer-text {
  margin: 7px 0 2px 0;
}

.footer-subtext {
  font-size: 0.88rem;
  color: #959595;
  font-weight: 300;
  margin-bottom: 0;
}

/* Small screens */
@media (max-width: 850px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 0 0;
    gap: 22px;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 8px auto;
  }
  .footer-links, .footer-contact, .footer-social {
    justify-content: center;
    align-items: center;
  }
  .footer-social {
    margin-top: 12px;
  }
}




/* Universal responsive tweaks */
img, iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}
section, .container, .row {
  width: 100%;
  box-sizing: border-box;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* Headings and base font scaling */
html { font-size: 100%; }
@media (max-width: 1100px) { html { font-size: 95%; } }
@media (max-width: 900px) { html { font-size: 92%; } }
@media (max-width: 600px) { html { font-size: 88%; } }

/* Extra padding for touch targets on phones */
button, .menu-toggle, .play-button, .map-link {
  min-height: 44px;
  min-width: 44px;
}

/* Hide non-essential animations on slow devices */
@media (max-width: 600px), (pointer: coarse) {
  * { animation-duration: 0.7s !important; }
}

