
/* Text Animation - Slide up from bottom */
.text-content {
    animation: slideUpFromBottom 1s ease-out forwards;
    transform: translateY(100vh);
    opacity: 0;
}

@keyframes slideUpFromBottom {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    60% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.journey-button {
    animation: slideUpFromBottom 1s ease-out forwards;
    transform: translateY(100vh);
    opacity: 0;
}

@keyframes slideUpFromBottom {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    60% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Initial hidden states - no delays */
.animate-hrc {
    transform: translateX(-100px) scale(0.8);
    opacity: 0;
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.main-heding-top {
    transform: translateY(-80px) scale(0.9);
    opacity: 0;
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-scribble {
    transform: translateY(-60px) rotate(-10deg) scale(0.7);
    opacity: 0;
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-italic {
    transform: translateX(80px) scale(0.95);
    opacity: 0;
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-leaf {
    transform: translateY(60px) scale(0.9);
    opacity: 0;
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Active bounce animations - all start immediately */
.animate-hrc.in-view {
    animation: bounceInLeft 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.main-heding-top.in-view {
    animation: bounceInDown 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.animate-scribble.in-view {
    animation: bounceInRotate 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.animate-italic.in-view {
    animation: bounceInRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

.animate-leaf.in-view {
    animation: bounceInUp 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
}

/* Active states when in view */
.animate-hrc.in-view,
.main-heding-top.in-view,
.animate-scribble.in-view,
.animate-italic.in-view,
.animate-leaf.in-view {
    transform: translate(0, 0);
    opacity: 1;
}
/* -----------stories---------- */
@keyframes slideInTop {
    0% {
        transform: translateY(-50px);  
        opacity: 0;
    }
    100% {
        transform: translateY(0);      
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


.animate-top.animate {
    animation: slideInTop 0.8s ease-out forwards;
}

.animate-top {
    animation: slideInTop 0.8s ease-out forwards;
}

.animate-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-bottom {
    animation: slideInBottom 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.animate-right {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Start animations when individual cards get the 'animate' class */
.animate-left.animate {
    animation-play-state: running;
}

.animate-bottom.animate {
    animation-play-state: running;
}

.animate-right.animate {
    animation-play-state: running;
}

/* Hover effects for enhanced interactivity */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Ensure stories section is visible */


/* Contact Section Animation Styles */

/* Get Help Badge Animation */
.animate-get-help {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease-out;
}

.animate-get-help.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Heading Animation */
.animate-heading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-heading.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Form Elements Animation */
.animate-form {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.animate-form.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure all elements are visible by default for fallback */
#contact .animate-get-help,
#contact .animate-heading,
#contact .animate-form {
    display: block !important;
    visibility: visible !important;
}

/* Alternative: If you want to show elements immediately without animation */
/*
#contact .animate-get-help,
#contact .animate-heading,
#contact .animate-form {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
*/

.consultation {
    background: linear-gradient(to bottom, #FFF6F7, #D9D9D9);
}

.consultation h1 {
    font-size: 3.4rem;
    line-height: 1.3em;
}

.consultation h1.animate {
    opacity: 1;
    transform: translateY(0);
}

.dot-1 {
    top: 20%;
    left: 15%;
    animation-delay: 2s;
}

.dot-2 {
    bottom: 30%;
    right: 20%;
    animation-delay: 2.5s;
}

.yellow-dot.animate {
    opacity: 1;
    animation: pulse 2s infinite;
}

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

/* Final animated positions */
.consultation-img.animate {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.img-1.animate {
    top: 2%;
    left: 15%;
}

.img-2.animate {
    top: -5% !important;
    right: 20%;
}

.img-3.animate {
    top: 35%;
    left: 8%;
}

.img-4.animate {
    top: 30% !important;
    right: 12%;
}

.img-5.animate {
    bottom: 20%;
    left: 20%;
}

.img-6.animate {
    bottom: 15%;
    right: 25%;
}

.animate-events-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-events-top {
    opacity: 0;
    transform: translateY(-80px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-events-bottom {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Active states */
.animate-events-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-events-top.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animate-events-bottom.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Add hover effects for enhanced interaction */
.events-div:hover {
    transform: translateY(-10px) scale(1.02);
    transition: all 0.3s ease-out;
}

.events-div:hover img {
    filter: brightness(1.1);
    transition: all 0.3s ease-out;
}

  /* Animation Styles */
  .contact-section {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-section.animate {
    opacity: 1;
}

/* Chat Card Animation - From Left */
.chat-card {
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-section.animate .chat-card {
    transform: translateX(0);
    opacity: 1;
}

/* Girl Image Animation - From Bottom */
.girl-image {
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.contact-section.animate .girl-image {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Tag Animation - From Top */
.contact-tag-animated {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.contact-section.animate .contact-tag-animated {
    transform: translateY(0);
    opacity: 1;
}

/* Form Animation - From Right */
.contact-form {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.3s;
}

.contact-section.animate .contact-form {
    transform: translateX(0);
    opacity: 1;
}

/* Title Animation - Fade In */
.contact-title {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.4s;
}

.contact-section.animate .contact-title {
    transform: translateY(0);
    opacity: 1;
}

/* Animation keyframes */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Default state for animated elements */
.animate-left, .animate-bottom, .animate-right {
    opacity: 0;
}

/* In-view state for animated elements */
.animate-left.in-view {
    animation: slideInFromLeft 1s ease-out forwards;
}

.animate-bottom.in-view {
    animation: slideInFromBottom 1s ease-out forwards;
}

.animate-right.in-view {
    animation: slideInFromRight 1s ease-out forwards;
}

.team-member {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-member.animate-left {
    transform: translateX(-100px);
}

.team-member.animate-right {
    transform: translateX(100px);
}

.team-member.animate-up {
    transform: translateY(50px);
}

.team-member.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Stagger animation delays */
.team-member:nth-child(1).visible {
    transition-delay: 0.1s;
}

.team-member:nth-child(2).visible {
    transition-delay: 0.3s;
}

.team-member:nth-child(3).visible {
    transition-delay: 0.5s;
}

.team-member:nth-child(4).visible {
    transition-delay: 0.7s;
}

.team-image {
    transition: transform 0.3s ease;
}

.team-member:hover .team-image {
    transform: scale(1.05);
}

.view-all-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.9s;
}

.view-all-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}


/* Define Life Section Animation Styles */
#define-life-section .bg-black {
    transform: translateX(100%); /* Start position: completely off-screen to the right */
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

#define-life-section .bg-black.slide-in-right {
    transform: translateX(0); /* End position: normal position */
    opacity: 1;
}

/* Ensure the container shows the sliding effect */
.define-life-container {
    background-color: white;
    overflow: hidden;
    position: relative;
}

/* Fallback - show the div normally if animation doesn't trigger */
.bg-black {
    display: block !important;
}

/* Make sure content is visible when animation completes */
#define-life-section .bg-black.slide-in-right * {
    visibility: visible;
}


@media(max-width:600px) {
    .img-1.animate {
        top: 4%;
        left: 4%;
        width: 80px;
    }

    .img-3.animate {
        top: 44%;
        left: 1%;
    }
    .img-5.animate {
        bottom: 2%;
        left: 20%;
    }
    .img-6.animate {
        bottom: -2%;
        right: 3%;
    }
    .img-4.animate {
        top: 6% !important;
        right: 12%;
    }
}