/**
 * Front Page Styles
 * 
 * Contains all styling specific to the front page including hero section,
 * activities grid, call-to-action sections, and page-specific animations.
 * 
 * @package NewJusJumpin
 * @version 1.0.4
 */


/* ==================== FRONT PAGE BRAND PALETTE ==================== */
:root {
    --brand-pink: #f67edd;
    --brand-green: #6dc065;
    --brand-orange: #ff661a;
    --brand-cyan: #00b9e3;
    --brand-rose: #ff5da0;
    --brand-yellow: #ffc60b;
    --brand-lime: #b2d235;
    --brand-red: #ff3645;
    --brand-purple: #8869d2;
}

/* ==================== KNOW US (scoped) ==================== */
.jj-know {
    margin-top: 20px;
}

.jj-know__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    
}
#know-us-better .jj-know__content{
    position: relative;
    z-index: 3;                     /* keeps it above blobs & pattern */
    background-color: rgba(255, 255, 255, 0.45); /* translucent white */
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 18px;

}
.jj-know__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* enable 3D space for child */
}

.jj-know__image {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.18));
    transform-style: preserve-3d;
    transition: transform 200ms ease, filter 200ms ease;
    animation: levitate 3s infinite ease-in-out;
}

@keyframes levitate {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* removed legacy stats-heading (old timeline) */

@media (max-width: 968px) {
    .jj-know__grid { grid-template-columns: 1fr; gap: 28px; }
    .jj-know__image { max-width: 420px; }
}

@media (max-width: 640px) {
    .jj-know__image { max-width: 340px; }
}

/* removed old Know Us → Stats timeline styles */

/* ==================== WHY JUS JUMPIN CARDS (scoped) ==================== */
.jj-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

/* Asymmetrical modern cards */
#why-choose-us .jj-why__grid--asym { gap: 28px; }
#why-choose-us .why-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-cyan));
    border-radius: 20px;
}

/* Add a subtle overlay for better text readability */
#why-choose-us .why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

#why-choose-us .why-card.shape-a {
    background: linear-gradient(135deg, var(--brand-pink), var(--brand-cyan));
}

#why-choose-us .why-card.shape-b {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-lime));
}

#why-choose-us .why-card.shape-c {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-yellow));
}

/* Asymmetrical clip shapes */
#why-choose-us .why-card.shape-a { clip-path: polygon(0 0, 100% 0, 100% 88%, 72% 100%, 0 90%); border-radius: 16px; }
#why-choose-us .why-card.shape-b { clip-path: polygon(0 0, 100% 0, 100% 90%, 100% 90%, 18% 100%, 0 94%); border-radius: 18px; }
#why-choose-us .why-card.shape-c { clip-path: polygon(0 0, 100% 0, 100% 86%, 64% 100%, 0 94%); border-radius: 20px; }

#why-choose-us .why-card:hover { 
    transform: translateY(-8px) scale(1.01); 
    box-shadow: 0 20px 48px rgba(0,0,0,0.16); 
}

#why-choose-us .why-media { 
    position: relative; 
    width: 100%; 
    height: 58%; 
    overflow: hidden; 
    z-index: 2;
}
#why-choose-us .why-media img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transform: scale(1.02); 
    transition: transform 0.5s ease; 
}
#why-choose-us .why-card:hover .why-media img { transform: scale(1.8); }
#why-choose-us .why-media::after { 
    content: ''; 
    position: absolute; 
    inset: auto 0 0 0; 
    height: 44%; 
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent); 
}

#why-choose-us .why-content { 
    padding: 18px 16px 22px; 
    z-index: 2;
    position: relative;
}
#why-choose-us .why-title {
    margin: 0 2px 8px;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(45deg, var(--brand-orange), var(--brand-yellow), var(--brand-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#why-choose-us .why-text { 
    margin: 8px 2px; 
    font-size: 13.5px; 
    color: #2a4a3f; 
    line-height: 1.55; 
}

/* Subtle stagger for asymmetry */
#why-choose-us .jj-why__grid--asym .why-card:nth-child(2n) { transform: translateY(6px); }
#why-choose-us .jj-why__grid--asym .why-card:nth-child(3n) { transform: translateY(-4px); }
#why-choose-us .jj-why__grid--asym .why-card:hover { transform: translateY(-10px) scale(1.02); }

@media (max-width: 968px) {
    #why-choose-us .why-card { min-height: 300px; }
    #why-choose-us .why-media { height: 54%; }
}
@media (max-width: 640px) {
    #why-choose-us .jj-why__grid--asym { gap: 20px; }
    #why-choose-us .why-card { min-height: 280px; }
}

/* Modernize Why section background */
#why-choose-us {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 50%, #f6f8ff 100%);
    padding: 80px 0;
}

#why-choose-us::before,
#why-choose-us::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
}

#why-choose-us::before { 
    width: 540px; 
    height: 540px; 
    left: -160px; 
    top: -120px; 
    background: radial-gradient(circle at 40% 40%, var(--brand-yellow), transparent 60%); 
}
#why-choose-us::after { 
    width: 600px; 
    height: 600px; 
    right: -200px; 
    bottom: -160px; 
    background: radial-gradient(circle at 60% 60%, var(--brand-green), transparent 60%); 
}

/* Desktop: 4 columns */
@media (min-width: 1100px) {
    .jj-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

/* Unify section headings with front page gradient style */
#why-choose-us .section-title h2
{
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--brand-pink), var(--brand-cyan), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

@media (max-width: 968px) {
    #why-choose-us .section-title h2 { font-size: 2.6rem; }
    #why-choose-us { padding: 60px 0; }
}

@media (max-width: 640px) {
    #why-choose-us .section-title h2 { font-size: 2.2rem; }
    #why-choose-us { padding: 50px 0; }
}

/* ==================== OUR ACTIVITIES SLIDER (scoped) ==================== */
.jj-acts__sub {
    text-align: center;
    font-size: 1.3rem;
    color: #f1ffd1;
    line-height: 1.5;
    margin-top: 6px;
}

.jj-acts {
    /* full-bleed container overriding theme .container */
    max-width: none;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0;
    padding-right: 0;
}

/* Section background with green tint over trampoline */
#our-activities { position: relative; overflow: hidden; background: #0a2a1f; }
#our-activities::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(22,77,55,0.55), rgba(22,77,55,0.55)), url('../img/infinity_trampoline_activity.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
    z-index: 0;
}
#our-activities .jj-acts,
#our-activities .section-title,
#our-activities .activities-cta { position: relative; z-index: 1; }

/* Unify section headings with front page gradient style */
#why-choose-us .section-title h2
{
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--brand-pink), var(--brand-cyan), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#our-activities .section-title h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(120deg, var(--brand-orange) 0%, var(--brand-yellow) 50%, var(--brand-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 968px) {
    #why-choose-us .section-title h2,
    #our-activities .section-title h2 { font-size: 2.6rem; }
    .jj-acts__sub { font-size: 1.15rem; padding: 0 20px; }
}

@media (max-width: 640px) {
    #why-choose-us .section-title h2,
    #our-activities .section-title h2 { font-size: 2.2rem; }
    .jj-acts__sub { font-size: 1rem; padding: 0 15px; }
}

/* Slider layout */
.jj-acts__slider { position: relative; width: 100%; overflow: hidden; padding: 24px 0; border-radius: 20px; }
.jj-acts__slides { --acts-gap: 22px; display: flex; gap: var(--acts-gap); will-change: transform; transition: transform 600ms ease; }
.jj-acts__slide { flex: 0 0 calc(33.333% - var(--acts-gap)); position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); aspect-ratio: 3 / 2; }
.jj-acts__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jj-acts__slide:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 185, 227, 0.28); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.jj-acts__name { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.25rem 1.1rem; font-size: 1.05rem; font-weight: 800; color: #0b251d; background: rgba(255,255,255,0.32); border-top: 1px solid rgba(255,255,255,0.52); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

@media (max-width: 968px) {
    .jj-acts__slide { flex: 0 0 calc(50% - var(--acts-gap)); }
}
@media (max-width: 640px) {
    .jj-acts__slide { flex: 0 0 calc(100% - var(--acts-gap)); }
}

.jj-why .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.95)) padding-box,
                linear-gradient(135deg, rgba(47,179,168,0.35), rgba(255,217,61,0.35)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    box-sizing: border-box;
    padding: 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.jj-why .card:hover {
    transform: translateY(-8px) scale(1.015) rotate3d(1, -1, 0, 0.6deg);
    box-shadow: 0 22px 40px rgba(47, 179, 168, 0.22);
}

.jj-why .card-image-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: rgb(165, 165, 165);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.jj-why .card-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.06) 100%);
    pointer-events: none;
}

.jj-why .card-image-container img { width: 100%; height: 100%; object-fit: cover; display: block; }

.jj-why .card-title {
    margin: 2px 2px 6px;
    font-size: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    color: #12312a;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.jj-why .card-des {
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin: 0 2px 2px;
    font-size: 13.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2a4a3f;
}

/* Tablet tweaks */
@media (max-width: 992px) {
    .jj-why .card { min-height: 300px; }
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .jj-why__grid { gap: 18px; }
    .jj-why .card { min-height: 260px; padding: 12px; }
}
    .hero-actions {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    
    .btn-outline {
        background: #00000040;
        border: 2px solid #ffffff;
        color: #ffffff;
        padding: 12px 30px;
        border-radius: 30px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }
    
    .btn-outline:hover {
        background: #ffffff;
        color: #2e5d2e;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    }
    
    .about-content {
        max-width: 900px;
        margin: 0 auto 80px;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 25px;
        color: #2e5d2e;
    }
    
    .activities-cta {
        margin-top: 80px;
        padding: 60px 40px;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 185, 227, 0.15);
    }
    
    .activities-cta h3 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        background: linear-gradient(45deg, var(--brand-pink), var(--brand-cyan), var(--brand-purple));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .activities-cta p {
        font-size: 1.3rem;
        color:  rgb(217 255 0);
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* CTA buttons with brand colors */
    #our-activities .activities-cta .btn-primary {
        background: linear-gradient(135deg, #ff851b, #ff6a00); /* Vibrant orange gradient */
  color: #000;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  outline: none;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.35s ease;
  box-shadow: 0 10px 20px rgba(255, 102, 26, 0.25);
  cursor: pointer;
        box-shadow: 0 10px 20px rgba(255, 102, 26, 0.25);
    }
    #our-activities .activities-cta .btn-primary:hover {
        background: var(--brand-yellow);
        color: #000000;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(255, 198, 11, 0.28);
    }
    #our-activities .activities-cta .btn-outline {
        background: transparent;
        border: 2px solid var(--brand-cyan);
        color: var(--brand-cyan);
    }
    #our-activities .activities-cta .btn-outline:hover {
        background: var(--brand-cyan);
        color: #001b22;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 185, 227, 0.28);
    }
    
    /* Placeholder image styles for development */
    .activity-card img,
    .hero-video {
        background: linear-gradient(135deg, #98fb98 0%, #7ae97a 50%, #5cd65c 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
    }
    
    .activity-card img::before {
        content: "Image Coming Soon";
    }
    
    /* Animation delays for staggered effects */
    .stat-card:nth-child(1) { animation-delay: 0.1s; }
    .stat-card:nth-child(2) { animation-delay: 0.2s; }
    .stat-card:nth-child(3) { animation-delay: 0.3s; }
    .stat-card:nth-child(4) { animation-delay: 0.4s; }
    .stat-card:nth-child(5) { animation-delay: 0.5s; }
    .stat-card:nth-child(6) { animation-delay: 0.6s; }
    
    .benefit-card:nth-child(1) { animation-delay: 0.1s; }
    .benefit-card:nth-child(2) { animation-delay: 0.2s; }
    .benefit-card:nth-child(3) { animation-delay: 0.3s; }
    .benefit-card:nth-child(4) { animation-delay: 0.4s; }
    .benefit-card:nth-child(5) { animation-delay: 0.5s; }
    .benefit-card:nth-child(6) { animation-delay: 0.6s; }
    
    .activity-card:nth-child(1) { animation-delay: 0.1s; }
    .activity-card:nth-child(2) { animation-delay: 0.2s; }
    .activity-card:nth-child(3) { animation-delay: 0.3s; }
    .activity-card:nth-child(4) { animation-delay: 0.4s; }
    .activity-card:nth-child(5) { animation-delay: 0.5s; }
    .activity-card:nth-child(6) { animation-delay: 0.6s; }
    
    @media (max-width: 768px) {
        .hero-actions {
            flex-direction: column;
            align-items: center;
        }
        
        .activities-cta {
            padding: 40px 20px;
        }
        
        .activities-cta h3 {
            font-size: 2rem;
        }
        
        .activities-cta p {
            font-size: 1.1rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .about-text p {
            font-size: 1.1rem;
        }
    }

/* ==================== STORES MARQUEE (States — Cities) ==================== */
.store-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ==================== SECTION DIVIDERS ==================== */
.jj-divider {
    position: absolute;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 0;
    z-index: 2; /* above backgrounds */
    height: 0; /* overlay: do not consume layout space */
    pointer-events: none;
}
.jj-divider svg { display: block; width: 100%; height: 120px; position: absolute; top: -1px; left: 0; right: 0; }
@media (max-width: 768px) {
    .jj-divider svg { height: 80px !important; }
}

/* Named divider hooks for easy tuning */
.jj-divider-knowus-cloud {
    margin-top: -90px;
}
.jj-divider-acts-bottom {
    margin-top: -115px;
}

@media (max-width: 768px) {
    .jj-divider-acts-bottom {
        margin-top: -70px;
    }
    .jj-divider-knowus-cloud {
        margin-top: -60px;
    }
    .jj-divider-acts-bottom {
        margin-top: -75px;
    }
}

/* ==================== TESTIMONIALS (Google Reviews style) ==================== */
#jj-testimonials { position: relative; overflow: hidden; }
#jj-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://img.freepik.com/free-vector/elegant-white-background-with-wave-design_1017-39102.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
    z-index: 0;
}
#jj-testimonials > .container { position: relative; z-index: 1; }

#jj-testimonials .section-title h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    background: radial-gradient(circle, rgba(250, 150, 0, 1) 0%, rgba(253, 74, 29, 1) 50%, rgba(255, 102, 26, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.jj-testimonials__sub { font-size: 1.2rem; color: #fa9b30;; opacity: 0.9; }

.jj-testimonials__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
}

.jj-testi {
    padding: 1.1rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    color: #0b251d;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
}
.jj-testi--accent-1 { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-pink) 22%, transparent), color-mix(in srgb, var(--brand-cyan) 90%, transparent)); }
.jj-testi--accent-2 { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-green) 22%, transparent), color-mix(in srgb, var(--brand-lime) 90%, transparent)); }
.jj-testi--accent-3 { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-orange) 50%, transparent), color-mix(in srgb, var(--brand-yellow) 90%, transparent)); }
.jj-testi--light { background: rgba(255,255,255,0.92); }

.jj-testi__user { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.jj-testi__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(0,0,0,0.06); }
.jj-testi__meta { display: flex; flex-direction: column; }
.jj-testi__name { margin: 0; font-weight: 800; color: #12312a; }
.jj-testi__tag { margin: 0; font-size: 0.95rem; color: var(--brand-yellow); font-weight: 800; letter-spacing: 0.25px; }

.jj-testi__headline { margin: 6px 0 6px; font-size: 1.1rem; font-weight: 800; color: #12312a; text-shadow: 0 1px 0 rgba(255,255,255,0.35); }
.jj-testi__text { margin: 0; font-size: 0.98rem; color: rgba(18,49,42,0.9); line-height: 1.6; }

/* Grid spans for visual interest */
.jj-testimonials__grid .jj-testi:nth-child(1) { grid-column: 1 / span 2; }
.jj-testimonials__grid .jj-testi:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / span 2; }
.jj-testimonials__grid .jj-testi:nth-child(5) { grid-column: 2 / span 2; }

@media (max-width: 1100px) {
    #jj-testimonials .section-title h2 { font-size: 2.6rem; }
    .jj-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
    .jj-testimonials__grid .jj-testi:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / span 2; }
    .jj-testimonials__grid .jj-testi:nth-child(5) { grid-column: 1 / span 2; }
}
@media (max-width: 768px) {
    #jj-testimonials .section-title h2 { font-size: 2.2rem; }
    .jj-testimonials__grid { display: flex; flex-direction: column; }
}

.store-marquee__inner {
    display: flex;
    width: max-content;
}

.store-marquee__track {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 18px;
    white-space: nowrap;
    animation: jj-store-marquee 38s linear infinite;
}

/* Pause animation when user hovers for readability */
.store-marquee__inner:hover .store-marquee__track {
    animation-play-state: paused;
}

/* Respect user preference to reduce motion */
@media (prefers-reduced-motion: reduce) {
    .store-marquee__track {
        animation: none;
    }
}

@keyframes jj-store-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.store-marquee__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f6f7fb;
    color: #1C352D;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.06);
}

.store-marquee__pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-yellow));
    box-shadow: 0 0 0 2px rgba(255, 198, 11, 0.25);
}

@media (max-width: 992px) {
    .store-marquee__track { gap: 20px; padding: 10px 14px; }
    .store-marquee__pill { font-size: 0.9rem; padding: 7px 12px; }
}

@media (max-width: 640px) {
    .store-marquee__track { gap: 16px; padding: 8px 12px; }
    .store-marquee__pill { font-size: 0.85rem; padding: 6px 10px; }
}

/* ==================== KNOW US: DECORATIVE BACKGROUND ==================== */
#know-us-better {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 40%, #f6f8ff 100%);
}

/* Allow overflow for decorative elements on desktop */
@media (min-width: 969px) {
    #know-us-better {
        overflow: visible;
    }
}

.jj-know__background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }
  
  .jj-know__background .bg-blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: blobFloat 25s ease-in-out infinite alternate;
  }
  
  /* Existing blobs */
  .jj-know__background .blob-1 {
    top: -120px;
    left: -120px;
    background: radial-gradient(circle at 30% 30%, #FFD93D, transparent 60%);
    animation-delay: 0s;
  }
  
  .jj-know__background .blob-2 {
    bottom: -160px;
    right: -140px;
    background: radial-gradient(circle at 60% 60%, #FF6B6B, transparent 60%);
    animation-delay: 4s;
  }
  
  .jj-know__background .blob-3 {
    top: 20%;
    right: 20%;
    background: radial-gradient(circle at 40% 40%, #9BE7C4, transparent 60%);
    opacity: 0.25;
    animation-delay: 2s;
  }
  
  /* New blobs */
  .jj-know__background .blob-4 {
    bottom: 10%;
    left: 25%;
    background: radial-gradient(circle at 50% 50%, #6DC065, transparent 60%);
    width: 400px;
    height: 400px;
    opacity: 0.3;
    animation-delay: 3s;
  }
  
  .jj-know__background .blob-5 {
    top: 40%;
    left: 45%;
    background: radial-gradient(circle at 50% 50%, #8869D2, transparent 65%);
    width: 300px;
    height: 300px;
    opacity: 0.25;
    animation-delay: 5s;
  }
  
  /* Optional grid overlay for texture */
  .jj-know__background .bg-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    opacity: 0.2;
    z-index: 1;
  }

  /* Overlayed pattern just above the blobs and below the content */
  .jj-know__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern_bg.svg');
    background-size: contain;
    opacity: 0.5;
    z-index: 2; /* Ensure it's above blobs and grid, but below content */
    pointer-events: none; /* Allow interaction with content below */
  }

  /* Floating animation for blobs */
  @keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(1); }
  }
  
  /* Responsive tuning */
  @media (max-width: 768px) {
    .jj-know__background .bg-blob {
      width: 280px;
      height: 280px;
      filter: blur(40px);
    }
    .jj-know__background .blob-4,
    .jj-know__background .blob-5 {
      display: none; /* reduce visuals for small screens */
    }
  }
  

/* Headings refinement within Know Us */
#know-us-better .main-heading {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: radial-gradient(circle,rgba(250, 150, 0, 1) 0%, rgba(253, 74, 29, 1) 50%, rgba(255, 102, 26, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#know-us-better .sub-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1C352D;
    margin-bottom: 1rem;
}

#know-us-better .jj-know__content p { color: #023812; }

#know-us-better .jj-know__tag {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid #ff7b00;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
}

#know-us-better .jj-know__cta-wrap {
    margin-top: 40px;
}

#know-us-better .jj-know__cta-wrap .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
}
#know-us-better .jj-know__cta-wrap .btn-secondary {
    background: #f04d13;
    color: #000000;
}

#know-us-better .jj-know__cta-wrap .btn-secondary:hover {
    background: #c7ec38;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(152, 251, 152, 0.3);
    color: #000000;
}

/* Ensure grid remains responsive */
@media (max-width: 968px) {
    #know-us-better .main-heading { font-size: 2.6rem; }
    #know-us-better .sub-heading { font-size: 1.35rem; }
}

@media (max-width: 640px) {
    #know-us-better .main-heading { font-size: 2.2rem; }
    #know-us-better .sub-heading { font-size: 1.2rem; }
}

/* Modern journey stats remain in place; wrapper #impressive-journey removed */

.journey-stats {
    position: relative;
    z-index: 1;
    margin-top: 50px
}

.journey-stats-header {
    text-align: center;
    margin-bottom: 70px;
}

.journey-stats-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-lime)); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-top: 50px;
}

.journey-stats-subtitle {
    font-size: 1.3rem;
    color: #4a7a4a;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.journey-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.journey-stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(47, 179, 168, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.journey-stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Background Gradient Effect */
.journey-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(47, 179, 168, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.journey-stat-card:hover::before {
    opacity: 1;
}

.journey-stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(47, 179, 168, 0.25);
    border-color: rgba(47, 179, 168, 0.3);
}

.journey-stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-lime));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 185, 227, 0.30);
}

.journey-stat-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.journey-stat-card:hover .journey-stat-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(47, 179, 168, 0.4);
}

.journey-stat-card:hover .journey-stat-icon i {
    transform: scale(1.1);
}

.journey-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(45deg, var(--brand-orange), var(--brand-yellow), var(--brand-rose));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.journey-stat-card:hover .journey-stat-number {
    transform: scale(1.1);
}

.journey-stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1C352D;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.journey-stat-description {
    font-size: 0.9rem;
    color: #6b8e6b;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

/* Staggered Animation Delays */
.journey-stat-card[data-delay="0"] {
    transition-delay: 0s;
}

.journey-stat-card[data-delay="100"] {
    transition-delay: 0.1s;
}

.journey-stat-card[data-delay="200"] {
    transition-delay: 0.2s;
}

.journey-stat-card[data-delay="300"] {
    transition-delay: 0.3s;
}

.journey-stat-card[data-delay="400"] {
    transition-delay: 0.4s;
}

.journey-stat-card[data-delay="500"] {
    transition-delay: 0.5s;
}

.journey-stat-card[data-delay="600"] {
    transition-delay: 0.6s;
}

.journey-stat-card[data-delay="700"] {
    transition-delay: 0.7s;
}

/* Responsive Design */
@media (max-width: 968px) {
    .journey-stats-title {
        font-size: 2.8rem;
    }

    .journey-stats-subtitle {
        font-size: 1.15rem;
        padding: 0 20px;
    }

    .journey-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 25px;
    }

    .journey-stat-card {
        aspect-ratio: auto;
        padding: 35px 25px;
    }

    .journey-stat-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 20px;
    }

    .journey-stat-icon i {
        font-size: 2.2rem;
    }

    .journey-stat-number {
        font-size: 3rem;
    }

    .journey-stat-label {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .journey-stats-header {
        margin-bottom: 50px;
    }

    .journey-stats-title {
        font-size: 2.2rem;
    }

    .journey-stats-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .journey-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .journey-stat-card {
        padding: 30px 20px;
    }

    .journey-stat-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .journey-stat-icon i {
        font-size: 2rem;
    }

    .journey-stat-number {
        font-size: 2rem;
    }

    .journey-stat-label {
        font-size: 1.2rem;
    }

    .journey-stat-description {
        font-size: 0.95rem;
    }
}