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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Navbar styling */
.navbar.sticky-top {
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.page-body {
    min-height: calc(100vh - 140px); /* 140px is your navbar height, adjust if needed */
    padding-top: 0;
    position: relative;
  }
  
.review-container {
scroll-snap-type: y mandatory;
}

.review-section {
    height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.review-content {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.review-text {
    width: 50%;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f8f8;
}

.review-image {
    width: 70%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.review-section:nth-child(even) .review-content {
    flex-direction: row-reverse;
}

.couple-name {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 300;
}

.review-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.review-date {
    font-size: 1rem;
    color: #999;
    font-style: italic;
}


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

.review-text.active > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.review-text > * {
    opacity: 0;
}

.review-text > *:nth-child(1) {
    animation-delay: 0.2s;
}

.review-text > *:nth-child(2) {
    animation-delay: 0.4s;
}

.review-text > *:nth-child(3) {
    animation-delay: 0.6s;
}

@media (max-width: 768px) {
    .review-content {
        flex-direction: column !important;
    }
    
    .review-text, .review-image {
        width: 100%;
    }
    
    .review-text {
        padding: 2rem;
        height: 100%;
    }
    
    .review-image {
        height: 100%;
    }
}
