/* Hero Image Container - Layered Composition */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Background - Static Layer */
.hero-dashboard {
    position: absolute;
    width: 750px;
    height: auto;
    z-index: 1;
    top: 40%;
    left: 20%;
    transform: translate(-50%, -50%);
    animation: slideInFromRight 1.2s ease-out forwards;
    opacity: 0;
}

/* Gym Man - Center Layer - Static */
.hero-man {
    position: absolute;
    width: 710px;
    height: auto;
    z-index: 2;
    top: 50%;
    left: 43%;
    transform: translate(-50%, -50%);
    /* filter: drop-shadow(0 8px 12px rgba(0, 0, 0)); */

}

@keyframes slideInFromRight {
    0% {
        transform: translate(100px, -50%);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Floating Cards - Animated Layer */
.floating-card {
    position: absolute;
    z-index: 3;
    animation: floatUpDown 6s ease-in-out infinite;
}

/* Individual Card Positioning */
.avocado-card {
    width: 364.58px;
    top: -20%;
    left: 5%;
    animation-delay: 0s;
    overflow: hidden;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.workout-card {
    width: 314px;
    top: -7%;
    right: -5.3%;
    animation-delay: 0.5s;
    overflow: hidden;
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.15));

}

.detected-card {
    width: 314px;
    top: 5%;
    right: -5.3%;
    animation-delay: 1s;
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.15));


}

.barbell-card {
    width: 178px;
    top: 35%;
    right: 0%;
    animation-delay: 1.5s;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));

}

.meals-card {
    width: 233.65px;
    bottom: 15%;
    right: 8%;
    animation-delay: 2s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));

}

.rose-card {
    width: 214px;
    bottom: 8%;
    left: 8%;
    animation-delay: 2.5s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Continuous Scale Animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.design-img {
    width: 900px;
    max-width: 100%;
    height: auto;
}

.hero-image-container-1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .hero-image-container-1 {
        margin-top: 50px;
    }
}


/* ============================================
   DESKTOP FIRST - LARGE SCREENS (≥1920px)
   ============================================ */
@media (min-width: 1481px) and (max-width: 1920px) {
    .hero-dashboard {
        width: 620px;
        left: 30%;
    }

    .hero-man {
        width: 580px;
        left: 39%;
    }

    .hero-p {
        font-size: 22px !important;
        line-height: 1.5 !important;
    }

    .hero-h1 {
        font-size: 45px !important;
    }

    .detected-card,
    .workout-card {
        width: 284px !important;
        right: -7.5%;
    }

    .avocado-card {
        width: 290px !important;
        top: -8%;
    }

    .rose-card {
        width: 180px !important;
    }

    .barbell-card {
        width: 160px !important;
    }
}

/* ============================================
   DESKTOP - LARGE (1200px - 1480px)
   Side-by-side layout for Surface Pro 7 & iPad Pro Landscape
   ============================================ */
@media (min-width: 1200px) and (max-width: 1480px) {

    /* Typography adjustments */
    .grey-bar-text h6,
    .grey-bar-text p {
        font-size: 22px;
    }

    .twenty-four {
        font-size: 28px;
    }

    .advantage-left-content h2 {
        font-size: 36px;
    }

    /* Hero section layout */
    .hero-section-main {
        min-height: 520px !important;
        padding: 40px 50px 10px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-section-main .row {
        width: 100% !important;
    }

    .hero-section-main .col-lg-6:first-child {
        text-align: left !important;
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    /* Hero text */
    .hero-h1 {
        font-size: 44px !important;
        line-height: normal !important;
        margin-bottom: 20px !important;
    }

    .hero-p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-top: 15px !important;
        margin-bottom: 25px !important;
    }

    .hero-section-main .points-three {
        justify-content: flex-start !important;
        margin-bottom: 25px !important;
        font-size: 16px !important;
    }

    .hero-section-main .btn-hero {
        margin: 0 0 25px 0 !important;
    }

    .hero-section-main .banner-rating {
        justify-content: flex-start !important;
        width: 100% !important;
        margin-left: 0px !important;
    }

    /* Hero images */
    .hero-image-container {
        height: 400px !important;
        margin-right: 0px !important;
    }

    
    .hero-man {
        width: 420px !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    /* Floating cards */
    .avocado-card {
        width: 200px !important;
        top: -5%;
    }

    .workout-card {
        width: 190px !important;
        right: -14%;
    }

    .detected-card {
        width: 190px !important;
        top: 7%;
        right: -14%;
    }

    .barbell-card {
        width: 140px !important;
    }

    .meals-card {
        width: 200px !important;
    }

    .rose-card {
        width: 150px !important;
        bottom: 2%;
    }

    /* Accordion fixes */
    .dropdown-wrapper .row {
        align-items: flex-start !important;
    }

    .booking-section-wrapper .dropdown-image {
        margin-top: 100px !important;
    }

}

/* ============================================
   DESKTOP - STANDARD (≥1100px)
   Default desktop layout - activates consistently
   ============================================ */
@media (min-width: 1100px) and (max-width: 1199px) {
    .hero-image-container {
        height: 500px;
        margin-top: 30px;
    }

    .hero-dashboard {
        width: 600px !important;
        left: 30% !important;
        top: 45% !important;
    }

    .hero-man {
        width: 500px !important;
        left: 60% !important;
        top: 50% !important;
    }

    /* Floating cards for desktop */
    .avocado-card {
        width: 280px !important;
        top: -10% !important;
        left: 8% !important;
    }

    .workout-card {
        width: 240px !important;
        top: -2% !important;
        right: 0% !important;
    }

    .detected-card {
        width: 240px !important;
        top: 10% !important;
        right: 0% !important;
    }

    .barbell-card {
        width: 140px !important;
        top: 38% !important;
        right: 4% !important;
    }

    .meals-card {
        width: 180px !important;
        bottom: 15% !important;
        right: 8% !important;
    }

    .rose-card {
        width: 160px !important;
        bottom: 10% !important;
        left: 8% !important;
    }

    /* Desktop animation */
    @keyframes floatLargeTablet {

        0%,
        100% {
            transform: translateY(0px) scale(1);
        }

        50% {
            transform: translateY(-14px) scale(1.03);
        }
    }

    .floating-card {
        animation: floatLargeTablet 5s ease-in-out infinite;
    }

    .hero-h1 {
        font-size: 44px;
    }

    .hero-p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .points-three li {
        font-size: 16px !important;
        padding: 5px !important;
    }

    .hero-section-main .banner-rating ul li {
        font-size: 15px !important;
    }

    .hero-dashboard {
        left: 50% !important;
        max-width: 520px;
        width: 490px !important;
    }

    .hero-man {
        left: 42% !important;
    }

    .avocado-card {
        width:250px !important;
        top: -4% !important;
        left: -6% !important;
    }

    .detected-card {
        width: 170px !important;
        right: -12% !important;
        top: 8% !important;
    }

    .workout-card {
        width: 170px !important;
        right: -12% !important;
    }

    .barbell-card {
        right: -8% !important;
        width: 120px !important;
    }

    .meals-card {
        width: 200px !important;
        right: -8% !important;

    }

}

/* ============================================
   TABLET (768px - 1099px)
   Tablet layout with centered content
   Includes iPad Pro portrait mode (1024px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1099px) {
    .hero-image-container {
        height: 450px;
        margin-top: 40px;
        position: relative;
        overflow: visible;
    }

    .hero-dashboard {
        width: 500px !important;
        left: 35% !important;
        top: 45% !important;
        transform: translate(-50%, -50%) !important;
        animation: slideInFromRight 1.2s ease-out forwards;
    }

    .hero-man {
        width: 470px !important;
        left: 45% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    /* Floating cards for tablet */
    .floating-card {
        animation: floatTablet 4s ease-in-out infinite;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    }

    .avocado-card {
        width: 290px !important;
        top: -5% !important;
        left: 8% !important;
        animation-delay: 0s;
    }

    .workout-card {
        width: 230px !important;
        top: 0% !important;
        right: -1% !important;
        animation-delay: 0.3s;
    }

    .detected-card {
        width: 230px !important;
        top: 12% !important;
        right: -1% !important;
        animation-delay: 0.6s;
    }

    .barbell-card {
        width: 150px !important;
        top: 40% !important;
        right: 8% !important;
        animation-delay: 0.9s;
    }

    .meals-card {
        width: 190px !important;
        bottom: 15% !important;
        right: 10% !important;
        animation-delay: 1.2s;
    }

    .rose-card {
        width: 150px !important;
        bottom: 10% !important;
        left: 10% !important;
        animation-delay: 1.5s;
    }

    /* Tablet animation */
    @keyframes floatTablet {

        0%,
        100% {
            transform: translateY(0px) scale(1);
        }

        50% {
            transform: translateY(-12px) scale(1.02);
        }
    }

    /* Content centering for tablet */
    .hero-section-main .col-md-12 {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-section-main .points-three {
        text-align: left !important;
        padding-left: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: fit-content !important;
        display: block !important;
    }

    .hero-section-main .btn-hero {
        margin: 0 auto 25px auto !important;
        display: inline-flex !important;
    }

    .hero-section-main .banner-rating {
        justify-content: center !important;
        width: 100% !important;
    }

    /* Z-index layering */
    .hero-dashboard {
        z-index: 1;
    }

    .hero-man {
        z-index: 2;
    }

    .floating-card {
        z-index: 3;
    }

    /* ============================================
       SECTION STACKING FOR TABLET (iPad Portrait)
       Ensures all sections stack vertically
       ============================================ */

    /* Hero Section - Stack content above image */
    .hero-section-main .row {
        flex-direction: column !important;
    }

    .hero-section-main .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .hero-section-main .col-lg-6:first-child {
        margin-bottom: 30px !important;
        order: 1;
    }

    .hero-section-main .col-lg-6:last-child {
        order: 2;
    }

    /* Table Section (easy-gym-advantage) - Stack vertically */
    .easy-gym-advantage .row {
        flex-direction: column !important;
    }

    .easy-gym-advantage .why-gyms-switch,
    .easy-gym-advantage .gym-advantage {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .easy-gym-advantage .why-gyms-switch {
        border-radius: 40px 40px 0 0 !important;
        min-height: auto !important;
        padding-bottom: 50px !important;
    }

    .easy-gym-advantage .gym-advantage {
        border-radius: 0 0 40px 40px !important;
    }

    /* Graph Section (group-level) - Stack vertically */
    .group-level-both {
        flex-direction: column !important;
    }

    .group-level-left {
        text-align: center !important;
        padding: 60px 40px !important;
        width: 100% !important;
    }

    .group-level-left ul {
        text-align: left !important;
        display: inline-block !important;
    }

    .group-level-right {
        width: 100% !important;
        padding: 40px !important;
    }

    .graph-chart {
        height: 350px !important;
    }

    /* Accordion Sections - Stack image above/below accordion */
    .dropdown-wrapper-one:not(.booking-section-wrapper) .row {
        flex-direction: column-reverse !important;
    }

    .booking-section-wrapper .row {
        flex-direction: column !important;
    }

    .dropdown-wrapper-one .dropdown-image,
    .booking-section-wrapper .dropdown-image {
        margin-bottom: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .dropdown-wrapper .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Stage Section - 2 columns on tablet */
    .stage-section .col-lg-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* General column stacking for any remaining sections */
    .row .col-lg-6,
    .row .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Ensure content wrapper has proper padding */
    .content-wrapper {
        padding: 0 20px !important;
    }
}

/* ============================================
   MOBILE - LARGE (577px - 767px)
   ============================================ */
@media (min-width: 577px) and (max-width: 767px) {
    .hero-image-container {
        height: 400px;
    }

    .hero-dashboard {
        width: 400px;
        left: 35%;
    }

    .hero-man {
        width: 350px;
        left: 43%;
    }

    .avocado-card,
    .workout-card,
    .detected-card,
    .meals-card,
    .rose-card {
        width: 35%;
    }
 .rose-card {
        width: 22%;
    }
    /* Adjust positions for mobile */
    .avocado-card {
        top: -8%;
        left: 3%;
    }

    .workout-card {
        top: -5%;
        right: -3%;
    }

    .detected-card {
        top: 8%;
        right: -3%;
    }

    .barbell-card {
        width: 130px;
        top: 40%;
        right: 5%;
    }

    .meals-card {
        bottom: 12%;
        right: 5%;
    }

    .rose-card {
        bottom: 5%;
        left: 5%;
    }

    /* Mobile animation */
    .floating-card {
        animation: floatScaleMobile 4s ease-in-out infinite;
    }

    .avocado-card {
        animation-delay: 0s;
    }

    .workout-card {
        animation-delay: 0.5s;
    }

    .detected-card {
        animation-delay: 1s;
    }

    .barbell-card {
        animation-delay: 1.5s;
    }

    .meals-card {
        animation-delay: 2s;
    }

    .rose-card {
        animation-delay: 2.5s;
    }
}

/* ============================================
   MOBILE - SMALL (≤576px)
   ============================================ */
@media (max-width: 576px) {
    .hero-section-main {
        padding-bottom: 0;
    }

    .hero-image-container {
        height: 320px;
    }

    .hero-dashboard {
        width: 320px;
        left: 40%;
    }

    .hero-man {
        width: 250px;
        left: 40%;
    }

    .avocado-card {
        top: -8%;
        left: 2%;
        width: 150px;
    }

    .workout-card {
        top: -3%;
        right: -7%;
        width: 130px;
    }

    .detected-card {
        top: 10%;
        right: -7%;
        width: 130px;
    }

    .barbell-card {
        top: 45%;
        right: -2%;
        width: 100px;
    }

    .meals-card {
        bottom: 10%;
        right: -2%;
        width: 100px;
    }

    .rose-card {
        bottom: 3%;
        left: 3%;
        width: 100px;
    }

    .banner-images {
        gap: 5px !important;
    }

    /* Mobile animation */
    .floating-card {
        animation: floatScaleMobile 4s ease-in-out infinite;
    }

    .avocado-card {
        animation-delay: 0s;
    }

    .workout-card {
        animation-delay: 0.5s;
    }

    .detected-card {
        animation-delay: 1s;
    }

    .barbell-card {
        animation-delay: 1.5s;
    }

    .meals-card {
        animation-delay: 2s;
    }

    .rose-card {
        animation-delay: 2.5s;
    }
}

/* ============================================
   DESIGN GYM SECTION RESPONSIVENESS
   ============================================ */
@media (max-width: 991px) {
    .design-row {
        margin-bottom: 50px;
    }

    /* Force image to be on top for Content-Image rows (which utilize .reverse-mobile class) */
    .reverse-mobile {
        flex-direction: column-reverse;
    }

    /* For Image-Content rows, the natural order is Image then Content, so no change needed.
       However, we ensure all rows display as columns on mobile */
    .design-row {
        text-align: center;
    }

    .design-content-wrapper {
        padding: 30px 15px;
    }

    .design-img-wrapper {
        margin-bottom: 20px;
    }
}




/* ============================================
   MOBILE ANIMATION
   ============================================ */
@keyframes floatScaleMobile {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (max-width: 1099px) {
    .floating-card {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Reduce animation for accessibility */
    @media (prefers-reduced-motion: reduce) {
        .floating-card {
            animation: none !important;
        }

        .hero-dashboard {
            animation: none !important;
            opacity: 1;
        }
    }
}

/*hero2*/
.hero-section-2 {
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(0deg, #EAE9FF 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.hero-section-2-faq {
    /* padding-top: 100px; */
    /* padding-bottom: 80px; */
    background: linear-gradient(0deg, #EAE9FF 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 75px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: "poppins", sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: jumpLetter 0.5s ease forwards;
}

.hero-title span:nth-child(1) { animation-delay: 0.1s; }
.hero-title span:nth-child(2) { animation-delay: 0.15s; }
.hero-title span:nth-child(3) { animation-delay: 0.2s; }
.hero-title span:nth-child(4) { animation-delay: 0.25s; }
.hero-title span:nth-child(5) { animation-delay: 0.3s; }
.hero-title span:nth-child(6) { animation-delay: 0.35s; }
.hero-title span:nth-child(7) { animation-delay: 0.4s; }
.hero-title span:nth-child(8) { animation-delay: 0.45s; }
.hero-title span:nth-child(9) { animation-delay: 0.5s; }
.hero-title span:nth-child(10) { animation-delay: 0.55s; }
.hero-title span:nth-child(11) { animation-delay: 0.6s; }
.hero-title span:nth-child(12) { animation-delay: 0.65s; }
.hero-title span:nth-child(13) { animation-delay: 0.7s; }
.hero-title span:nth-child(14) { animation-delay: 0.75s; }
.hero-title span:nth-child(15) { animation-delay: 0.8s; }
.hero-title span:nth-child(16) { animation-delay: 0.85s; }
.hero-title span:nth-child(17) { animation-delay: 0.9s; }

.hero-subtitle {
    font-size: 24px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.btn-hero-demo {
    background-color: #1640D6;
    color: #fff;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.btn-hero-demo:hover {
    background-color: #1134b0;
    color: #fff;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.8s ease 1.5s forwards;
}

.features-split-section {
    background-color: #FEFEFF;
    /* padding-bottom: 60px; */
}

.space-top-bottom11 {
    /* padding-top: 80px; */
    padding-bottom: 80px;
}

.feature-title {
    font-size: 40px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 40px;
}

.feature-text {
    font-size: 24px;
    line-height: 1.7;
    color: #000;
}

.feature-img-wrapper img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-banner {
    background: linear-gradient(90deg, 
        #1E59FF 0%, 
        #2A6AFF 33%, 
        #123599 66%, 
        #1E59FF 100%);
    background-size: 200% 200%;
    padding: 25px 0;
    color: #fff;
    width: 100%;
    font-size: 32px;
    position: relative;
    overflow: hidden;
    animation: gradientSlide 6s ease infinite;
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: sparkle 4s linear infinite;
}

.banner-text {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes sparkle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.8;
    }
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Animations */
@keyframes jumpLetter {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.first-title-coun{
    color: #1849D3;
    font-size: 30px;
    font-weight: bold
}
.faq-hero{
    width: 80%;
    border-radius: 24px;
    margin-bottom: 40px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.035));
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-title span {
        transform: translateY(20px);
    }
    
    @keyframes jumpLetter {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        50% {
            transform: translateY(-5px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero-subtitle {
        font-size: 18px;
    }

    .feature-title {
        font-size: 26px;
    }
     .feature-text{
        font-size: 18px;
     }
    .banner-text {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-title span {
        transform: translateY(15px);
    }
    
    @keyframes jumpLetter {
        0% {
            opacity: 0;
            transform: translateY(15px);
        }
        50% {
            transform: translateY(-3px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile view: Images above, content below */
@media (max-width: 992px) {
    /* For grow-your-gym section */
    .grow-your-gym .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .grow-your-gym .item-img {
        order: 1;
        margin-bottom: 20px;
    }
    
    .grow-your-gym .item-content {
        order: 2;
    }
    
    /* For features-split-section blocks */
    .features-split-section .row.align-items-center {
        flex-direction: column;
    }
    
    /* Ensure all image columns come first on mobile */
    .features-split-section .col-lg-6:has(.feature-img-wrapper) {
        order: 1 !important;
    }
    
    .features-split-section .col-lg-6:has(.feature-title) {
        order: 2 !important;
        margin-top: 30px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Remove specific padding for mobile */
    .features-split-section .ps-lg-5,
    .features-split-section .pe-lg-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Force image to be above content in all scenarios */
    .features-split-section .order-lg-1,
    .features-split-section .order-lg-2,
    .features-split-section .order-1,
    .features-split-section .order-2 {
        order: 1 !important; /* Image first */
    }
    
    .features-split-section .col-lg-6:not(:has(.feature-img-wrapper)) {
        order: 2 !important; /* Content second */
        margin-top: 30px;
    }
}

/* For better mobile experience on smaller screens */
@media (max-width: 576px) {
    .grow-your-gym .item {
        margin-bottom: 40px;
    }
    
    .grow-your-gym .item:last-child {
        margin-bottom: 0;
    }
    
    .features-split-section .col-lg-6:has(.feature-img-wrapper) {
        margin-bottom: 20px;
    }
    
    .features-split-section .row {
        margin-bottom: 40px !important;
    }
    
    .features-split-section .row:last-child {
        margin-bottom: 0 !important;
    }
}


/* Smooth scroll reveal animations */
.grow-your-gym .col-md-4,
.features-split-section .row {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

/* Animation classes to be added via JavaScript */
.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger animation for grow-your-gym blocks */
.grow-your-gym .col-md-4:nth-child(1) { transition-delay: 0.1s; }
.grow-your-gym .col-md-4:nth-child(2) { transition-delay: 0.2s; }
.grow-your-gym .col-md-4:nth-child(3) { transition-delay: 0.3s; }

/* Stagger animation for features-split-section blocks */
.features-split-section .row:nth-child(1) { transition-delay: 0.1s; }
.features-split-section .row:nth-child(2) { transition-delay: 0.2s; }
.features-split-section .row:nth-child(3) { transition-delay: 0.3s; }
.features-split-section .row:nth-child(4) { transition-delay: 0.4s; }
.features-split-section .row:nth-child(5) { transition-delay: 0.5s; }
.features-split-section .row:nth-child(6) { transition-delay: 0.6s; }

/* Image animations within blocks */
.features-split-section .feature-img-wrapper img,
.grow-your-gym .item-img img {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease 0.3s;
}

.animate-visible .feature-img-wrapper img,
.animate-visible .item-img img {
    opacity: 1;
    transform: scale(1);
}

/* Content animations */
.features-split-section .feature-title,
.grow-your-gym .item-content h6 {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease 0.4s;
}

.features-split-section .feature-text,
.grow-your-gym .item-content p {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease 0.5s;
}

.animate-visible .feature-title,
.animate-visible .item-content h6,
.animate-visible .feature-text,
.animate-visible .item-content p {
    opacity: 1;
    transform: translateX(0);
}

/* For blocks with image on right side (even children) */
.features-split-section .row:nth-child(even) .feature-title,
.features-split-section .row:nth-child(even) .feature-text {
    transform: translateX(20px);
}

.features-split-section .row:nth-child(even).animate-visible .feature-title,
.features-split-section .row:nth-child(even).animate-visible .feature-text {
    transform: translateX(0);
}
/*hero2 end*/
/*hero particals*/
/* Hero Section Animated Background with Waves */
.hero-section-main {
    position: relative;
    background: linear-gradient(315deg, #010114 0%, #020024 35%, #050530 65%, #000000 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-top: 100px;
    overflow: hidden;
    z-index: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.hero-section-main .content-wrapper {
    position: relative;
    z-index: 5;
    /* Ensure content is above waves */
}

.hero-section-main img.img-fluid {
    /* margin-bottom: 0; */
    vertical-align: bottom;
    position: relative;
    z-index: 6;
}

/* Specific fix for the row to align image to bottom while keeping text centered/padded */
.hero-section-main .row {
    align-items: flex-end;
}

/* .hero-section-main .col-lg-6:first-child {
    padding-bottom: 100px;
} */

/* Wave Animations */
.wave {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1000% 1000% 0 0;
    position: absolute;
    width: 200%;
    height: 12em;
    animation: waveAnimation 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.3;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: waveAnimation 18s linear reverse infinite;
    opacity: 0.2;
    z-index: 3;
    background: rgba(45, 96, 255, 0.15);
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: waveAnimation 20s -1s reverse infinite;
    opacity: 0.25;
    z-index: 4;
}

@keyframes waveAnimation {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}

/* Flowing Color "Ingredients" (Blobs) */
.color-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1.5;
    /* Below waves but above background */
    opacity: 0.15;
    pointer-events: none;
}

.color-blob:nth-of-type(1) {
    background: radial-gradient(circle, #2D60FF 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: flow1 25s ease-in-out infinite alternate;
}

.color-blob:nth-of-type(2) {
    background: radial-gradient(circle, #050540 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation: flow2 35s ease-in-out infinite alternate;
}

.color-blob:nth-of-type(3) {
    background: radial-gradient(circle, #1E59FF 0%, transparent 70%);
    top: 30%;
    left: 40%;
    animation: flow3 30s ease-in-out infinite alternate;
}

@keyframes flow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(150px, 100px) scale(1.2);
    }
}

@keyframes flow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-200px, -150px) scale(1.3);
    }
}

@keyframes flow3 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    100% {
        transform: translate(100px, -100px) scale(0.9);
    }
}

/* Responsive Adjustments for Hero Section */
@media (max-width: 991px) {
    .full-w-section {
        padding: 60px 20px 0px 20px;
    }

    .hero-section-main .col-lg-6:first-child {
        /*padding-bottom: 40px;*/
        text-align: center;
    }

    .hero-h1 {
        font-size: 42px !important;
        line-height: 50px !important;
    }

    .hero-p {
        font-size: 18px !important;
        line-height: 30px !important;
    }

    .hero-section-main .row {
        align-items: center;
    }

    .points-three {
        padding-left: 0;
        display: inline-block;
        text-align: left;
    }

    .banner-rating .banner-list {
        justify-content: center;
        gap: 20px !important;
    }
}

@media (max-width: 576px) {
    .hero-h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    .hero-section-main {
        padding-top: 50px;
        width: 100%;
    }

    .banner-parent-wrapper {
        width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .full-w-section {
        width: 100%;
        border-radius: 0;
    }

    .hero-section-main img.img-fluid {
        max-width: 80%;
        margin: 30px auto 0;
        display: block;
    }
    .twenty-four{
        font-size: 20px;
    }
    .advantage-left-content h2{
        font-size: 32px;
        text-align: center;
    }
    .twenty-five{
     font-size: 20px;

    }
    .advantage-left-content .many-li li
{
    font-size: 18px;
}
.advantage-left-content .one-li li{
    font-size: 20px;
}
.advantage-left-content .one-li li:before{
    font-size: 20px;
}
.twenty-six {
    font-size: 20px;
    margin-top: 10px;
}
}

/* Continuous scale pulse animation for banner images */
.banner-images img {
    transition: all 0.3s ease;
    /*animation: scalePulse 2s ease-in-out infinite;*/
}

/* Different animation delays for staggered effect */
.banner-images img:nth-child(1) {
    animation-delay: 0s;
}
.banner-images img:nth-child(2) {
    animation-delay: 0.3s;
}
.banner-images img:nth-child(3) {
    animation-delay: 0.6s;
}
.banner-images img:nth-child(4) {
    animation-delay: 0.9s;
}

/* Hover effects - stronger scale on hover */
.banner-images img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.25));
    cursor: pointer;
    animation-play-state: paused; /* Pauses continuous animation on hover */
}

/* Continuous scale pulse animation - from normal to slightly bigger and back */
@keyframes scalePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/*hero particals 2 end*/