/* ============================================
   RESET & BASE STYLES (Mobile-First)
   ============================================ */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

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

/* Hide all scrollbars globally */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    position: relative;
    /* White to light pink gradient background */
    background: linear-gradient(135deg, #ffffff 0%, #fff5f8 25%, #ffeef2 50%, #ffe5eb 75%, #ffd6e0 100%);
    background-attachment: fixed;
    cursor: none; /* Hide default cursor for custom trail */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* ============================================
   CUSTOM HEART CURSOR TRAIL
   ============================================ */
.heart-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    animation: heartFade 1s ease-out forwards;
}

@keyframes heartFade {
    0% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.5);
    }
}

/* ============================================
   FLOATING HEART PARTICLES
   ============================================ */
.floating-heart {
    position: fixed;
    pointer-events: none;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    animation: floatUp 15s linear infinite;
    z-index: 1;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    text-align: center;
    padding: 30px 15px 20px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    max-width: 100%;
    overflow-x: hidden;
}

.title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #d81b60;
    text-align: center;
    margin-bottom: 0;
    text-shadow: 2px 2px 8px rgba(216, 27, 96, 0.2);
    animation: pulse 2s ease-in-out infinite;
    font-weight: bold;
    letter-spacing: 2px;
}

.title-decoration {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .title-decoration {
        right: -20px;
        font-size: 1.5rem;
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

.subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #c2185b;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(194, 24, 91, 0.2);
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.95;
}

.heart-divider {
    margin: 0 15px;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.15);
    }
}

.intro-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #880e4f;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* ============================================
   HERO QUOTE
   ============================================ */
.hero-quote {
    max-width: 800px;
    margin: 25px auto 0;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(216, 27, 96, 0.2);
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.15);
}

.quote-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #880e4f;
    text-align: center;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    margin-bottom: 15px;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 2em;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
}

.quote-text::before {
    left: -20px;
    top: -10px;
}

.quote-text::after {
    right: -20px;
    bottom: -20px;
}

.quote-author {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #c2185b;
    text-align: center;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(194, 24, 91, 0.1);
}

/* ============================================
   2 YEARS COUNTER
   ============================================ */
.years-counter {
    margin: 20px auto 10px;
    max-width: 400px;
    opacity: 0;
    transform: scale(0.8);
    animation: counterAppear 1s ease-out 0.5s forwards;
}

@keyframes counterAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.counter-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 25px 20px;
    box-shadow: 0 15px 40px rgba(216, 27, 96, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(216, 27, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.counter-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.counter-number {
    font-size: clamp(4rem, 10vw, 6rem);
    color: #d81b60;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(216, 27, 96, 0.3);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.counter-label {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #c2185b;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(194, 24, 91, 0.2);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

.counter-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #880e4f;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    font-style: italic;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* ============================================
   LOVE JOURNEY SECTION
   ============================================ */
.journey-section {
    max-width: 1000px;
    width: 100%;
    margin: 10px auto 40px;
    padding: 30px 15px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    display: none;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.journey-section::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.journey-section.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.journey-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #d81b60;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(216, 27, 96, 0.2);
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
}

.journey-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(216, 27, 96, 0.4), transparent);
    border-radius: 2px;
}

.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.journey-milestone {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(216, 27, 96, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.journey-milestone:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.journey-milestone.active {
    opacity: 1;
    transform: translateX(0);
}

.journey-milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.journey-milestone.active::before {
    left: 100%;
}

.milestone-icon {
    font-size: 4rem;
    min-width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.journey-milestone:nth-child(1) .milestone-icon {
    animation-delay: 0s;
}

.journey-milestone:nth-child(2) .milestone-icon {
    animation-delay: 0.5s;
}

.journey-milestone:nth-child(3) .milestone-icon {
    animation-delay: 1s;
}

.journey-milestone:nth-child(4) .milestone-icon {
    animation-delay: 1.5s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.milestone-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.milestone-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #d81b60;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(216, 27, 96, 0.2);
    font-weight: bold;
}

.milestone-text {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #880e4f;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    line-height: 1.6;
    margin-bottom: 15px;
}

.milestone-quote {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #c2185b;
    text-shadow: 1px 1px 2px rgba(194, 24, 91, 0.1);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    border-left: 3px solid rgba(255, 23, 68, 0.4);
}

.milestone-date {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #c2185b;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(194, 24, 91, 0.1);
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   BOUNCE BUTTON
   ============================================ */
.proposal-btn {
    background: linear-gradient(135deg, #ff6b9d, #ff1744);
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto 20px;
    overflow: hidden;
}

.proposal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.proposal-btn:hover::before {
    left: 100%;
}

.proposal-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.4);
}

.proposal-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-heart {
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

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

/* ============================================
   TIMELINE CONTAINER
   ============================================ */
.timeline-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    display: none;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.timeline-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.timeline-container.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        rgba(255, 107, 157, 0.3) 0%,
        rgba(255, 23, 68, 0.5) 50%,
        rgba(216, 27, 96, 0.7) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
    z-index: 1;
}

/* ============================================
   STORY CARDS
   ============================================ */
.image-sequence {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.story-card {
    position: relative;
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    perspective: 1000px;
}

.story-card:nth-child(even) {
    transform: translateX(100px) scale(0.9);
}

.story-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.card-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b9d, #ff1744);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(255, 23, 68, 0.3);
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.card-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: 0 15px 50px rgba(216, 27, 96, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(216, 27, 96, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.story-card.active .card-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 40px rgba(255, 107, 157, 0.3);
}

.card-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

.image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

/* ============================================
   POLAROID IMAGE FRAME
   ============================================ */
.image-frame {
    position: relative;
    transition: all 0.5s ease;
}

.image-frame.polaroid {
    width: 320px;
    height: 320px;
    background: white;
    padding: 15px 15px 60px;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(216, 27, 96, 0.2),
                0 0 30px rgba(255, 23, 68, 0.2);
    transform: rotate(-2deg);
    transition: all 0.5s ease;
}

.story-card:nth-child(even) .polaroid {
    transform: rotate(2deg);
}

.story-card.active .polaroid {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 50px rgba(216, 27, 96, 0.25),
                0 0 50px rgba(255, 23, 68, 0.3);
}

.polaroid-tape {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.image-frame.polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.special-glow {
    animation: specialPulse 2s ease-in-out infinite;
}

@keyframes specialPulse {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(216, 27, 96, 0.25),
                    0 0 50px rgba(255, 23, 68, 0.3);
    }
    50% {
        box-shadow: 0 20px 60px rgba(216, 27, 96, 0.3),
                    0 0 80px rgba(255, 23, 68, 0.5),
                    0 0 100px rgba(255, 107, 157, 0.4);
    }
}

.ring-sparkle {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    animation: ringSpin 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes ringSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* ============================================
   TEXT CONTENT
   ============================================ */
.text-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #d81b60;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(216, 27, 96, 0.2);
    font-weight: bold;
    letter-spacing: 1px;
}

.proposal-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #d81b60, #ff1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(216, 27, 96, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 23, 68, 0.5));
    }
}

.image-text {
    color: #880e4f;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    text-align: center;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    padding: 0 20px;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 15px;
}

.proposal-text {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 500;
}

.card-quote {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #c2185b;
    text-shadow: 1px 1px 2px rgba(194, 24, 91, 0.1);
    font-style: italic;
    line-height: 1.6;
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 23, 68, 0.4);
}

.proposal-quote {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #c2185b;
    font-weight: 400;
    border-left-color: rgba(255, 23, 68, 0.5);
    background: rgba(255, 107, 157, 0.15);
}

.card-decoration {
    font-size: 2rem;
    margin-top: 10px;
    animation: float 3s ease-in-out infinite;
}

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

/* ============================================
   FINAL PROPOSAL SECTION
   ============================================ */
.final-proposal {
    text-align: center;
    padding: 20px 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.final-proposal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.final-proposal.active {
    opacity: 1;
    transform: scale(1);
}

.proposal-ring {
    font-size: 5rem;
    margin-bottom: 10px;
    animation: ringFloat 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes ringFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

.final-title {
    font-size: clamp(3rem, 7vw, 5rem);
    color: #d81b60;
    text-shadow: 2px 2px 8px rgba(216, 27, 96, 0.3);
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 3px;
    animation: namePulse 2s ease-in-out infinite;
}

@keyframes namePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.proposal-quotes {
    max-width: 900px;
    width: 100%;
    margin: 15px auto 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.proposal-quotes::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.final-quote {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #880e4f;
    text-shadow: 1px 1px 2px rgba(136, 14, 79, 0.1);
    line-height: 1.6;
    text-align: center;
    font-style: italic;
    padding: 12px 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border: 2px solid rgba(216, 27, 96, 0.2);
    box-shadow: 0 5px 20px rgba(216, 27, 96, 0.15);
    position: relative;
    animation: quoteFadeIn 1s ease forwards;
    opacity: 0;
    margin: 0;
}

.final-quote:nth-child(1) {
    animation-delay: 0.2s;
}

.final-quote:nth-child(2) {
    animation-delay: 0.4s;
}

.final-quote:nth-child(3) {
    animation-delay: 0.6s;
}

.final-quote:nth-child(4) {
    animation-delay: 0.8s;
}

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

.final-quote::before {
    content: '"';
    font-size: 3em;
    color: rgba(255, 23, 68, 0.3);
    position: absolute;
    left: 10px;
    top: -10px;
    font-family: serif;
}

.final-quote::after {
    content: '"';
    font-size: 3em;
    color: rgba(255, 23, 68, 0.3);
    position: absolute;
    right: 10px;
    bottom: -20px;
    font-family: serif;
}

.final-text {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    color: #d81b60;
    text-shadow: 2px 2px 8px rgba(216, 27, 96, 0.2);
    margin: 15px 0 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
}

.final-signature {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #c2185b;
    text-shadow: 1px 1px 3px rgba(194, 24, 91, 0.1);
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* ============================================
   MEMORY GALLERY SECTION
   ============================================ */
.memory-gallery {
    max-width: 1400px;
    width: 100%;
    margin: 50px auto;
    padding: 30px 15px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    display: none;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.memory-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.memory-gallery.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.gallery-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #d81b60;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(216, 27, 96, 0.2);
    font-weight: bold;
    letter-spacing: 2px;
}

.gallery-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #c2185b;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(194, 24, 91, 0.1);
    font-style: italic;
}

.gallery-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #d81b60;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(216, 27, 96, 0.2);
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(216, 27, 96, 0.4), transparent);
    border-radius: 2px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    align-items: start;
    grid-auto-rows: min-content;
}

.photo-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.photo-item {
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 100%;
    margin: 0;
}

.photo-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: floatIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Consistent sizing - all same aspect ratio to prevent gaps */
.photo-item.size-small {
    aspect-ratio: 3/4;
}

.photo-item.size-medium {
    aspect-ratio: 3/4;
}

.photo-item.size-large {
    aspect-ratio: 3/4;
    grid-column: span 1;
}

.photo-item.size-extra-large {
    aspect-ratio: 3/4;
    grid-column: span 1;
}

/* Polaroid frame style */
.photo-frame {
    width: 100%;
    height: 100%;
    background: white;
    padding: 10px 10px 45px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 18px;
    background: rgba(200, 200, 200, 0.5);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    transition: transform 0.5s ease;
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.03) !important;
    z-index: 100;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.photo-item:hover .photo-frame {
    box-shadow: 0 10px 40px rgba(216, 27, 96, 0.2),
                0 0 30px rgba(255, 23, 68, 0.3);
    transform: scale(1.02);
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Heart decoration */
.photo-item::after {
    content: '❤️';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.photo-item:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Glow effect on hover */
.photo-item::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.photo-item:hover::before {
    opacity: 1;
}

/* Floating animation for some items */
.photo-item.float {
    animation: gentleFloat 4s ease-in-out infinite;
}

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

/* Special featured items */
.photo-item.featured {
    border: 3px solid rgba(255, 23, 68, 0.4);
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.2);
}

.photo-item.featured .photo-frame {
    border: 2px solid rgba(255, 23, 68, 0.3);
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.lightbox::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: scaleIn 0.3s ease;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2rem;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 23, 68, 0.3);
    border-color: rgba(255, 23, 68, 0.5);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN (Mobile-First)
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .hero-section {
        padding: 25px 12px 15px;
    }

    .years-counter {
        margin: 15px auto 8px;
    }

    .counter-content {
        padding: 20px 15px;
    }

    .hero-quote {
        margin: 20px auto 0;
        padding: 15px 12px;
    }

    .title {
        font-size: 2rem !important;
        white-space: nowrap;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.2rem !important;
        white-space: nowrap;
        line-height: 1.3;
    }

    .intro-text {
        font-size: 0.85rem !important;
        white-space: nowrap;
    }

    .hero-quote {
        padding: 15px 12px;
        margin: 25px 10px 0;
    }

    .quote-text {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    .quote-author {
        font-size: 0.75rem !important;
    }

    .quote-text::before,
    .quote-text::after {
        display: none;
    }

    .counter-number {
        font-size: 3rem !important;
    }

    .counter-label {
        font-size: 1rem !important;
    }

    .counter-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.3;
    }

    .journey-title {
        font-size: 1.5rem !important;
        white-space: nowrap;
    }

    .section-title {
        font-size: 1.3rem !important;
        white-space: nowrap;
    }

    .gallery-title {
        font-size: 1.8rem !important;
        white-space: nowrap;
    }

    .gallery-subtitle {
        font-size: 0.9rem !important;
        white-space: nowrap;
    }

    .milestone-title {
        font-size: 1.1rem !important;
        white-space: nowrap;
    }

    .milestone-text {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    .milestone-quote {
        font-size: 0.75rem !important;
        line-height: 1.3;
        padding: 10px;
    }

    .card-title {
        font-size: 1.2rem !important;
        white-space: nowrap;
    }

    .image-text {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }

    .card-quote {
        font-size: 0.75rem !important;
        line-height: 1.3;
        padding: 10px;
    }

    .proposal-title {
        font-size: 1.3rem !important;
        white-space: nowrap;
    }

    .proposal-text {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .proposal-quote {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }

    .proposal-quotes {
        padding: 0 10px;
        gap: 15px;
    }

    .final-proposal {
        padding: 15px 12px !important;
    }

    .proposal-ring {
        margin-bottom: 8px !important;
        font-size: 3.5rem !important;
    }

    .final-title {
        font-size: 2.5rem !important;
        white-space: nowrap;
        margin-bottom: 8px !important;
    }

    .proposal-quotes {
        margin: 10px auto 10px !important;
        gap: 10px !important;
    }

    .final-quote {
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    .final-text {
        font-size: 1.5rem !important;
        white-space: nowrap;
        margin: 10px 0 8px !important;
    }

    .final-signature {
        font-size: 1rem !important;
        white-space: nowrap;
        margin-top: 8px !important;
    }

    .image-frame.polaroid {
        width: 250px;
        height: 250px;
        padding: 12px 12px 50px;
    }

    .image-sequence {
        gap: 45px;
    }

    .card-content {
        padding: 25px 18px;
    }

    .story-card {
        transform: translateY(50px) scale(0.9) !important;
    }

    .story-card.active {
        transform: translateY(0) scale(1) !important;
    }

    .timeline-line {
        left: 30px;
    }

    .card-number {
        left: 30px;
        transform: translateX(-50%);
    }

    .card-content {
        padding: 30px 20px;
        margin-left: 40px;
    }

    .proposal-btn {
        padding: 16px 35px;
        margin-bottom: 15px;
    }

    .journey-section {
        padding: 25px 12px;
        margin: 5px auto 30px;
    }

    .journey-title {
        margin-bottom: 25px;
    }

    .journey-timeline {
        gap: 25px;
    }

    .journey-milestone {
        padding: 20px 15px;
        gap: 20px;
    }

    .journey-milestone {
        flex-direction: column !important;
        text-align: center;
        padding: 25px 20px;
        transform: translateY(30px) !important;
    }

    .journey-milestone.active {
        transform: translateY(0) !important;
    }

    .milestone-icon {
        min-width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .counter-content {
        padding: 25px 20px;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
        padding: 15px 12px;
    }

    .gallery-section {
        margin-bottom: 40px;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .gallery-subtitle {
        margin-bottom: 30px;
    }

    .memory-gallery {
        margin: 40px auto;
        padding: 25px 12px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.6rem !important;
    }

    .subtitle {
        font-size: 1rem !important;
    }

    .intro-text {
        font-size: 0.75rem !important;
    }

    .quote-text {
        font-size: 0.8rem !important;
    }

    .counter-number {
        font-size: 2.5rem !important;
    }

    .counter-label {
        font-size: 0.9rem !important;
    }

    .counter-subtitle {
        font-size: 0.7rem !important;
    }

    .journey-title {
        font-size: 1.3rem !important;
    }

    .section-title {
        font-size: 1.1rem !important;
    }

    .gallery-title {
        font-size: 1.5rem !important;
    }

    .gallery-subtitle {
        font-size: 0.8rem !important;
    }

    .milestone-title {
        font-size: 1rem !important;
    }

    .milestone-text {
        font-size: 0.75rem !important;
    }

    .milestone-quote {
        font-size: 0.7rem !important;
    }

    .card-title {
        font-size: 1.1rem !important;
    }

    .image-text {
        font-size: 0.8rem !important;
        padding: 0 10px;
    }

    .card-quote {
        font-size: 0.7rem !important;
    }

    .proposal-title {
        font-size: 1.2rem !important;
    }

    .proposal-text {
        font-size: 0.9rem !important;
    }

    .proposal-quote {
        font-size: 0.8rem !important;
    }

    .final-proposal {
        padding: 12px 10px !important;
    }

    .proposal-ring {
        margin-bottom: 6px !important;
        font-size: 3rem !important;
    }

    .final-title {
        font-size: 2rem !important;
        margin-bottom: 6px !important;
    }

    .proposal-quotes {
        margin: 8px auto 8px !important;
        gap: 8px !important;
    }

    .final-quote {
        font-size: 0.75rem !important;
        padding: 8px 6px !important;
    }

    .final-text {
        font-size: 1.3rem !important;
        margin: 8px 0 6px !important;
    }

    .final-signature {
        font-size: 0.9rem !important;
        margin-top: 6px !important;
    }

    .image-frame.polaroid {
        width: 200px;
        height: 200px;
        padding: 10px 10px 40px;
    }

    .card-content {
        padding: 25px 15px;
    }

    .journey-milestone {
        padding: 20px 15px;
        gap: 20px;
    }

    .milestone-icon {
        min-width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .counter-number {
        font-size: 3.5rem;
    }

    .counter-label {
        font-size: 1.2rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
        padding: 15px 10px;
    }

    .photo-frame {
        padding: 8px 8px 35px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
}

/* ============================================
   HIDDEN STATE
   ============================================ */
.hidden {
    display: none;
}
