:root {
    --gold: #D4AF37;
    --maroon: #800000;
    --deep-red: #800000;
    --accent-red: #a1122f;
    --bg-cream: #FFFDF5;
    --text-dark: #333;
    
    /* Saanjh-inspired blush pink & rose gold palette */
    --rose-gold: #b76e79;
    --rose-gold-light: #e8b4bc;
    --rose-gold-deep: #8b4550;
    --blush: #fdf2f4;
    --champagne: #d4a574;
    --ink: #3d1f24;
    --ivory: #faf6f0;
    --gradient-rose: linear-gradient(135deg, #e8b4bc 0%, #d4a0aa 50%, #b76e79 100%);
    --gradient-gold: linear-gradient(135deg, #d4a574 0%, #d4af37 50%, #b76e79 100%);
    --gradient-soft: linear-gradient(180deg, #fdf2f4 0%, #f5e6e8 100%);
    --shadow-soft: 0 10px 40px -15px rgba(183, 110, 121, 0.25);
    --shadow-card: 0 20px 60px -20px rgba(61, 31, 36, 0.18);
}

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

body {
    background: var(--blush);
    color: var(--ink);
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Mobile body fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Prevent horizontal scroll on html/body */
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Improve container padding on mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Better spacing for sections on mobile */
    section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Journey section improvements */
    #journey .flex.flex-col.md\:flex-row,
    #journey .flex.flex-col.md\:flex-row-reverse {
        gap: 2rem !important;
    }
    
    #journey .text-4xl {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }
    
    #journey p.text-lg {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Map responsiveness */
    .map-wrapper {
        height: 300px !important;
    }
    
    /* Contact section improvements */
    .contact-section {
        padding: 60px 15px !important;
    }
    
    .contact-info-new h3 {
        font-size: 1.3rem !important;
    }
    
    .contact-info-new p {
        font-size: 0.9rem !important;
    }
    
    /* Testimonials better mobile display */
    .testimonial-card {
        width: 280px !important;
    }
    
    /* Gallery grid improvements */
    .gallery-item img {
        height: 200px !important;
    }
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--maroon);
    margin-bottom: clamp(20px, 5vw, 40px);
    text-align: center;
}

/* Header — sticky with shrink-on-scroll */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: rgba(253, 242, 244, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(183, 110, 121, 0.1);
    transition: height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
    height: 58px;
    background-color: rgba(253, 242, 244, 0.98);
    box-shadow: 0 2px 25px rgba(183, 110, 121, 0.2);
}

header.scrolled .logo {
    font-size: clamp(1rem, 3vw, 1.4rem);
}

/* Push body content below fixed header */
body > section:first-of-type,
.hero-carousel {
    margin-top: 0;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #800000;
    font-size: clamp(1.2rem, 4vw, 2rem); /* Dynamic logo size */
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.logo .logo-subtitle {
    font-size: 0.6em;
    font-weight: 500;
    letter-spacing: 1px;
    color: #D4AF37;
    display: block;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #800000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: clamp(10px, 3vw, 45px); /* Responsive gap */
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: clamp(0.85rem, 1.5vw, 1.1rem); /* Responsive font size */
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-rose);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--rose-gold);
}

.rsvp-btn {
    background: var(--gradient-rose) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 9999px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-soft) !important;
    border: none !important;
}

.rsvp-btn:hover {
    background: var(--gradient-gold) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: var(--shadow-card) !important;
}

.rsvp-btn:hover {
    background: var(--gold) !important;
    color: var(--maroon) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Hero Carousel - The window the images sit in */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: var(--gradient-soft);
}

.slides-container {
    display: flex;
    height: 100vh;
    width: 400vw;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
}

/* Mobile responsive for slides container */
@media (max-width: 768px) {
    .slides-container {
        height: calc(100vh - 70px);
        width: 400vw;
    }
}

/* Each slide takes full viewport width */
.slide {
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #1a0a00;
    overflow: hidden;
    flex-shrink: 0;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.65);
    display: block;
}

/* Mobile specific image adjustments */
@media (max-width: 768px) {
    .slide {
        min-width: 100vw;
        width: 100vw;
        height: calc(100vh - 70px);
        overflow: hidden;
    }
    
    .slide img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .slides-container {
        height: calc(100vh - 70px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.9);
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensures text stays ABOVE the dark tint */
}

.hero-overlay h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    margin: 0 0 1.2rem;
    line-height: 1.1;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-overlay p {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin: 0 0 2.5rem;
    max-width: 850px;
    font-weight: 500;
    line-height: 1.4;
}

.btn, .cta-btn {
    display: inline-block;
    background: var(--gradient-rose);
    color: white;
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 5vw, 3.5rem);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.btn:hover, .cta-btn:hover {
    background: var(--gradient-gold);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-card);
}

/* Arrows - Modern style */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--rose-gold);
    border: 2px solid var(--rose-gold-light);
    padding: 1rem;
    cursor: pointer;
    font-size: 2rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    box-shadow: var(--shadow-soft);
}

.prev:hover, .next:hover {
    background: var(--gradient-rose);
    color: white;
    border-color: var(--rose-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-card);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Mobile arrow positioning */
@media (max-width: 768px) {
    .prev, .next {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        padding: 0.5rem;
        background: rgba(0,0,0,0.6);
    }
    
    .prev { left: 10px; }
    .next { right: 10px; }
}

/* Dots */
.dots {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background: rgba(183, 110, 121, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: var(--rose-gold-light);
    transform: scale(1.2);
}

.dot.active {
    background: var(--rose-gold);
    border-color: var(--rose-gold-light);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(183, 110, 121, 0.5);
}

/* Services Section - Saanjh Style */
.services-highlights {
    padding: 100px 0;
    background: var(--gradient-soft);
    overflow-x: hidden;
}

/* Custom scrollbar for services section */
.services-highlights::-webkit-scrollbar {
    height: 6px;
}

.services-highlights::-webkit-scrollbar-track {
    background: rgba(128, 0, 0, 0.1);
    border-radius: 10px;
}

.services-highlights::-webkit-scrollbar-thumb {
    background: var(--maroon);
    border-radius: 10px;
}

.services-highlights::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* New Services Interactive Styles */
.hidden-section {
    display: none;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

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

/* Scrolling highlight animation */
@keyframes scrollHighlight {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.animate-scroll-highlight {
    animation: scrollHighlight 5s ease-in-out infinite;
}

.service-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    min-width: 280px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(183, 110, 121, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

/* Grid layout - Saanjh style */
#main-services, #sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    overflow-x: hidden;
    padding-bottom: 1rem;
}

/* Filter chips for categories */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-chip {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(183, 110, 121, 0.3);
    background: white;
    color: var(--ink);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    border-color: var(--rose-gold);
    background: var(--rose-gold-light);
}

.filter-chip.active {
    background: var(--gradient-rose);
    color: white;
    border-color: var(--rose-gold);
    box-shadow: var(--shadow-soft);
}

/* Mobile responsive for services */
@media (max-width: 768px) {
    #main-services, #sub-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
        overflow-x: hidden; /* Disable horizontal scroll on mobile, stack vertically */
    }
    
    .service-card {
        min-width: 100%; /* Full width on mobile */
    }
}

#main-services::-webkit-scrollbar, #sub-grid::-webkit-scrollbar {
    height: 6px;
}

#main-services::-webkit-scrollbar-track, #sub-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

#main-services::-webkit-scrollbar-thumb, #sub-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

#main-services::-webkit-scrollbar-thumb:hover, #sub-grid::-webkit-scrollbar-thumb:hover {
    background: var(--maroon);
}

/* Welcome Moments Section */
.welcome-moments {
    padding: 100px 0;
}

/* Interactive Envelope Animation */
.envelope-wrapper {
    position: relative;
    width: 320px;
    height: 220px;
    cursor: pointer;
    perspective: 1000px;
}

.envelope {
    position: relative;
    width: 100%;
    height: 100%;
    background: #c19a6b; /* Gold/Paper base */
    border-radius: 4px;
    transition: all 0.6s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.envelope .pocket {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d4af37; /* Metallic Gold */
    clip-path: polygon(0 40%, 50% 100%, 100% 40%, 100% 100%, 0 100%);
    z-index: 3;
    border-radius: 0 0 4px 4px;
}

.envelope .flap {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #b8860b; /* Darker Gold */
    clip-path: polygon(0 40%, 50% 100%, 100% 40%, 100% 0, 0 0);
    transform-origin: top;
    transition: transform 0.6s 0.2s ease, z-index 0.4s;
    z-index: 4;
}

.envelope .letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 290px;
    height: 190px;
    background: white;
    z-index: 2;
    transition: all 0.6s 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.inner-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.inner-card .card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(128, 0, 0, 0.4);
}

/* Open Animation Classes */
.envelope-wrapper.open .flap {
    transform: rotateX(180deg);
    z-index: 1; /* Moves behind the letter after opening */
}

.envelope-wrapper.open .letter {
    transform: translate(-50%, -350px) scale(1.5);
    width: 400px;
    height: 600px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: white;
    pointer-events: auto; /* Enable interaction */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.envelope-wrapper.open .envelope {
    transform: translateY(100px);
}

.inner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.envelope-wrapper.open .inner-card {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent;
}

.envelope-wrapper.open .inner-card .card-overlay {
    background: rgba(128, 0, 0, 0.1);
    pointer-events: none;
}

@media (max-width: 480px) {
    .envelope-wrapper {
        width: 280px;
        height: 190px;
    }
    .envelope .letter {
        width: 260px;
        height: 170px;
    }
    .envelope-wrapper.open .letter {
        transform: translate(-50%, -250px) scale(1.3);
        width: 300px;
        height: 450px;
    }
    
    /* Extra small mobile adjustments */
    .hero-overlay {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .btn, .cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Sticky Header Enhancement — already handled above */

.rsvp-btn {
    background: var(--maroon) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
    transition: all 0.3s ease !important;
}

.rsvp-btn:hover {
    background: var(--gold) !important;
    color: var(--maroon) !important;
    transform: scale(1.05);
}

/* Parallax Section Styles */
.parallax-section {
    min-height: 80vh;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for parallax movement */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fallback for no JS */
    z-index: 1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Timeline Styles */
.timeline-line {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.timeline-content {
    transition: all 0.4s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Guestbook Styles */
.guestbook-card {
    transition: transform 0.3s ease;
}

.guestbook-card:hover {
    transform: rotate(1deg) translateY(-5px);
}

/* Hearts Background */
.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    animation: floatHeart 15s linear infinite;
}

@keyframes floatHeart {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    .timeline-content {
        width: 100% !important;
        margin-bottom: 30px;
    }
    .timeline-dot {
        left: 9px !important;
        top: 30px;
        position: absolute;
    }
    .reveal-right .timeline-content {
        order: 1;
    }
}

.about-us {
    padding: 100px 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--maroon);
    color: white;
}

.contact-section .section-title {
    color: white;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
}

.submit-btn {
    padding: 16px;
    background: var(--deep-red);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--accent-red);
    box-shadow: 0 0 20px var(--deep-red);
}

.contact-info {
    flex: 1;
}

.whatsapp-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.whatsapp-btn a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #25D366;
}

/* Floating Decorative Elements Styling */
.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicking through icons */
    z-index: 50; /* Above images, below modals */
    overflow: hidden;
}

.decor {
    position: absolute;
    color: var(--gold);
    opacity: 0.15;
    font-size: clamp(2rem, 5vw, 4rem);
    filter: blur(1px); /* Soft look */
}

/* Base Positions */
.decor-1 { top: 15%; left: 5%; transform: rotate(45deg); }
.decor-2 { top: 45%; right: 10%; transform: rotate(-30deg); font-size: 3.5rem; }
.decor-3 { top: 75%; left: 12%; transform: rotate(15deg); font-size: 4.5rem; }
.decor-4 { top: 25%; right: 5%; transform: rotate(160deg); font-size: 2.5rem; }
.decor-5 { top: 60%; left: 8%; transform: rotate(-80deg); font-size: 3rem; }
.decor-6 { top: 85%; right: 15%; transform: rotate(40deg); font-size: 4rem; }

footer {
    padding: 40px 0;
    text-align: center;
    background: #111;
    color: #888;
}

  /* Mobile adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 3%;
        position: relative;
    }
    
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation - Slide Down Menu */
    #mainNav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(253, 242, 244, 0.98);
        backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    #mainNav.active {
        max-height: 500px;
        padding: 20px 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    
    nav li {
        width: 100%;
        border-bottom: 1px solid rgba(128, 0, 0, 0.1);
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
        text-align: center;
    }
    
    .rsvp-btn {
        margin: 10px 0;
        display: inline-block;
        width: 80%;
    }

    .hero-carousel {
        height: calc(100vh - 70px); /* Adjusted for mobile header */
        width: 100vw;
        margin: 0;
        padding: 0;
        overflow: hidden;
        position: relative;
    }
    
    header {
        height: 70px;
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    .slides-container {
        height: calc(100vh - 70px);
        width: 400vw;
    }

    .slide {
        min-width: 100vw;
        width: 100vw;
        height: calc(100vh - 70px);
        position: relative;
        overflow: hidden;
    }

    .slide img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-overlay h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        line-height: 1.2;
        margin: 0 0 0.8rem;
        padding: 0 10px;
    }

    .hero-overlay p {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        margin-bottom: 1.2rem;
        padding: 0 15px;
        line-height: 1.4;
    }

    .btn, .cta-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .prev, .next {
        font-size: 1.8rem;
        padding: 0.8rem;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        z-index: 10;
    }

    .prev { left: 10px; }
    .next { right: 10px; }

    .dots {
        bottom: 15px;
        z-index: 10;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 4px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .services-highlights {
        padding: 60px 15px;
    }

    #main-services, #sub-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        padding: 0;
    }

    .service-card {
        min-width: 100%;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 10px;
    }
    
    nav a {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 0.9rem;
    }
    
    .logo .logo-subtitle {
        font-size: 0.5em;
    }
    
    .logo .logo-subtitle {
        font-size: 0.5em;
    }
    
    /* Extra small mobile improvements */
    .hero-overlay {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .btn, .cta-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    /* Services section */
    .services-highlights {
        padding: 40px 10px !important;
    }
    
    .service-card {
        height: 250px !important;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 150px !important;
    }
    
    /* Contact form */
    .contact-form {
        padding: 0 10px;
    }
    
    /* WhatsApp FAB */
    #whatsappFAB {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    #whatsappFAB i {
        font-size: 1.5rem;
    }
}



/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Scroll-Driven Animations (from video) */
/* These 3 lines create scroll-based animations without JavaScript */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-on-scroll both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
  
  /* Fade up animation for service cards */
  .service-card {
    animation: fade-up both;
    animation-timeline: view();
    animation-range: entry 10% cover 20%;
  }
  
  /* Stagger effect for timeline items */
  .flex.flex-col.md\\:flex-row.items-center.gap-16.mb-24.reveal:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .flex.flex-col.md\\:flex-row-reverse.items-center.gap-16.mb-24.reveal:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  /* Parallax floating decorations with scroll */
  .floating-decorations {
    animation: float-parallax both;
    animation-timeline: scroll(root);
  }
}

@keyframes reveal-on-scroll {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-parallax {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-100px) rotate(180deg);
  }
}

/* Route Animation Styles */
.animated-route-line {
  animation: drawRoute 3s ease-in-out forwards;
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

.route-path {
  transition: all 0.5s ease;
}

#routeMarker.animate {
  animation: moveAlongRoute 3s ease-in-out forwards;
}

@keyframes moveAlongRoute {
  0% {
    left: 8%;
    transform: translate(-50%, -50%) scaleX(1);
  }
  25% {
    transform: translate(-50%, -50%) scaleX(1.1);
  }
  50% {
    left: 35%;
    transform: translate(-50%, -50%) scaleX(1);
  }
  75% {
    transform: translate(-50%, -50%) scaleX(1.1);
  }
  100% {
    left: 92%;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

/* Animated Form Styles */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.animated-input {
  width: 100%;
  padding: 18px 0 8px 0;
  font-size: 16px;
  color: #fff;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  outline: none;
  background: transparent;
  transition: border-color 0.3s ease;
}

.animated-input:focus {
  border-bottom-color: #D4AF37;
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 0;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  font-size: 14px;
  color: #D4AF37;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Float label up when focused OR has content (placeholder=" " trick) */
.animated-input:focus ~ label,
.animated-input:not(:placeholder-shown) ~ label {
  top: 0px;
  font-size: 11px;
  color: #D4AF37;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.animated-input:focus ~ label i,
.animated-input:not(:placeholder-shown) ~ label i {
  opacity: 1;
}

/* Input underline animation */
.input-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, #800000);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.animated-input:focus ~ .input-line {
  width: 100%;
}

/* Textarea specific */
textarea.animated-input {
  min-height: 90px;
  resize: vertical;
  padding-top: 20px;
}

textarea.animated-input ~ label {
  top: 18px;
  align-items: flex-start;
}

textarea.animated-input:focus ~ label,
textarea.animated-input:not(:placeholder-shown) ~ label {
  top: 0px;
}

/* Submit button with icon animation */
.submit-btn.btn-glow {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #800000 0%, #a1122f 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.submit-btn.btn-glow span {
  position: relative;
  z-index: 1;
}

.submit-btn.btn-glow i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.submit-btn.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(128, 0, 0, 0.5);
  background: linear-gradient(135deg, #D4AF37 0%, #f0c040 100%);
  color: #800000;
}

.submit-btn.btn-glow:hover i {
  transform: translateX(5px) rotate(-45deg);
}

.submit-btn.btn-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-btn.btn-glow:active::before {
  width: 300px;
  height: 300px;
}

/* Success animation for form submission */
@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.submit-btn.success {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
  animation: successPulse 0.6s ease-in-out;
}

/* Mobile responsive for animated forms */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .animated-input {
    padding: 16px 0 6px 0;
    font-size: 15px;
  }
  
  .submit-btn.btn-glow {
    padding: 14px 30px;
    font-size: 14px;
  }
}

/* ── Testimonials auto-scroll track ─────────────────────────── */
.testimonial-track-wrapper {
    position: relative;
}
.testimonial-track-wrapper::before,
.testimonial-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.testimonial-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f9f6f0, transparent);
}
.testimonial-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f9f6f0, transparent);
}
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem 2rem;
    will-change: transform;
}
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ── Service card zoom on hover ─────────────────────────────── */
.service-card img {
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.service-card:hover img {
    transform: scale(1.08);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ── Gallery lightbox - Saanjh style ──────────────────────────────────────── */
.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

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

#lightbox {
    animation: fadeInLightbox 0.25s ease;
}
@keyframes fadeInLightbox {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Floating WhatsApp FAB pulse ────────────────────────────── */
#whatsappFAB {
    animation: fabPulse 2.5s ease-in-out infinite;
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* ── Sticky header scroll offset for anchor links ───────────── */
section[id] {
    scroll-margin-top: 80px;
}

/* ── Saanjh-inspired animations ────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-shimmer {
    background-size: 200% 200%;
    animation: shimmer 8s ease infinite;
}

/* Gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a574, #b76e79);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Soft shadow utilities */
.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}
