/* Wikids 3.0 Custom Styles - 6 Section Layout */

:root {
    --primary-blue: #000000;
    --light-blue: #E8F4FD;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #666666;
    --light-gray: #72dfe4;
    --light-orange: #fcefce;
    --green-landscape: #b4e0d1;
    --warm-orange: #f8b26c;
    --wikids-yellow: #fff2bf;

    --wikids-new1: #fff2bf;
    --wikids-new2: #b4e0d1;
    --wikids-blueish: #b4eaf2;
    --wikids-new4: #ffc7f9;

    --menu-button-bg: #00dae0;

    /* New Color Variables */
    --sky-blue-legacy: #b4eaf2;
    --footer-bg: #52404a;
    --footer-text: #E8E8E8;
    --footer-border: #34495E;
    --form-border: #ced4da;
    --form-focus-glow: rgba(74, 144, 226, 0.25);
    
    --tag-pink: #e982b5;
    --tag-blue: #8ba0fd;
    --tag-yellow: #f8b26c;
    --tag-lime: #c3eb69;
    --tag-menta: #90e4ca;

    --black-transparent-08: rgba(0, 0, 0, 0.08);
    --black-transparent-10: rgba(0, 0, 0, 0.1);
    --black-transparent-15: rgba(0, 0, 0, 0.15);
    --black-transparent-20: rgba(0, 0, 0, 0.2);
    --black-transparent-30: rgba(0, 0, 0, 0.3);
    --black-transparent-60: rgba(0, 0, 0, 0.6);
    --white-transparent-10: rgba(255, 255, 255, 0.1);
    --white-transparent-30: rgba(255, 255, 255, 0.3);
    
    /* Gradients */
    --wikids-pink-gradient: linear-gradient(to bottom, #ffc7f9 0%, #fadaf7 100%);
    --wikids-blue-gradient: linear-gradient(to bottom, #b4eaf2 0%, #d4f0f5 100%);
    --wikids-yellow-gradient: linear-gradient(to bottom, #f9d566 0%, #fac111 100%);
    --wikids-green-gradient: linear-gradient(to bottom, #b4e0d1 0%, #c5e2d8 100%);
    --wikids-lightyellow-gradient: linear-gradient(to bottom, #fffdd6 0%, #f6f3e1 100%);
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    /* background-color: var(--wikids-yellow); */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar.navbar-pill {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent !important;
    box-shadow: none;
}

.navbar.navbar-pill .container {
    background: #fffdd6;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 6px 20px var(--black-transparent-10);
}

.navbar.navbar-pill .navbar-brand img {
    max-height: 46px;
}

.navbar.navbar-pill .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin: 0 0.6rem;
    transition: color 0.3s ease;
}

.navbar.navbar-pill .nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-lang-item .lang-toggle-link {
    font-weight: 800;
    opacity: 0.9;
}

.nav-lang-item .lang-toggle-link.btn.btn-link {
    text-decoration: none;
    border: 0;
    box-shadow: none;
    padding: 0.5rem 0.6rem;
}

.lang-dropdown-menu {
    min-width: 6rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 0.4rem;
}

.lang-dropdown-menu .dropdown-item {
    border-radius: 8px;
    font-weight: 600;
}

.lang-dropdown-menu .dropdown-item,
.nav-lang-item .lang-toggle-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-code {
    letter-spacing: 0.02em;
}

.lang-dropdown-menu .dropdown-item.active,
.lang-dropdown-menu .dropdown-item:active {
    background-color: #eaf5ff;
    color: #1f3f6b;
}

.nav-lang-item {
    margin-right: 50px;
}

.navbar.navbar-pill .navbar-toggler {
    border: none;
}

@media (max-width: 991.98px) {
    .navbar.navbar-pill .container {
        border-radius: 24px;
        padding: 0.5rem 1rem;
    }
    .navbar.navbar-pill .btn-download-nav {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

body.blog {
    padding-top: 90px;
    background-color: #f9f6ef;
}

.blog .blog-hero {
    position: relative;
}

.blog .blog-body {
    padding: 30px 0 10px;
}

.blog .blog-post-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0 1.5rem;
    border-radius: 18px;
}

.blog .blog-post-text h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
    color: var(--text-dark);
}

.blog .blog-tip {
    background: #b4e0d1;
    border-left: 4px solid #a6a9aa;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.blog .blog-tip ul li, .blog-post-text ul li {
    font-weight: 700 !important;
    list-style: disc;
    margin-right: 30px;
}

.blog .blog-tip-title {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.blog .blog-row {
    row-gap: 2rem;
}

.blog .blog-main {
    /* border-right: 1px solid #a5a3a3; */
    padding-right: 1.5rem;
}

.blog .blog-download-link {
    width: 175px;
    height: 50px;
    display: block;
}

.blog .blog-download-link-secondary {
    width: 146px;
    margin-top: 15px;
}

.blog .blog-post-text.about-hidden {
    padding-top: 0;
}

.blog .blog-read-more {
    cursor: pointer;
    display: block;
    width: 100px;
}

.blog .blog-post {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px var(--black-transparent-08);
    margin-bottom: 1.5rem;
}

.blog .blog-post-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog .blog-post-title h4 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog .blog-post-text img,
.blog .blog-post-text iframe {
    max-width: 100%;
    height: auto;
}

.blog .blog-post-text .pull-right {
    float: none;
    display: block;
    margin: 0 auto 1rem;
}

.blog .about-hidden {
    max-height: 188px;
    overflow: hidden;
}

.blog .about-show {
    max-height: none;
}

@media (max-width: 991.98px) {
    .blog .blog-main {
        border-right: none;
        padding-right: 0;
    }
}

.page-content {
    margin-top: 70px; /* Account for fixed navbar on static pages */
}

/* Section 2: Promotion */
.promotion-section {
    padding: 7rem 0 4rem 0;
    background-color: var(--wikids-yellow);
}
.promotion-section.bumerang {
    background: radial-gradient(ellipse at 60% 5%, #cdf5fa 0%, #93eefc 40%, #dbeafe 75%);
}

/* Full-width hero stage: decorative ? marks + centered copy above them (z-index). */
.promotion-section.bumerang .bumerang-hero-stage {
    position: relative;
    min-height: min(52vh, 440px);
}

.promotion-section.bumerang .bumerang-hero-promotion {
    position: relative;
    z-index: 1;
}

/* Bumerang-only promotion hero layout (dedicated classes; not promotion-title / promotion-subtitle). */
.promotion-section.bumerang .bumerang-hero-copy {
    text-align: center;
    margin-inline: auto;
    color: var(--text-dark);
}

.promotion-section.bumerang .bumerang-hero-heading {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800 !important;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    color: var(--text-dark);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.promotion-section.bumerang .bumerang-hero-lead {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 1rem;
}

.promotion-section.bumerang .bumerang-hero-body {
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.promotion-section.bumerang .bumerang-hero-body p {
    margin: 0 0 0.45rem;
}

.promotion-section.bumerang .bumerang-hero-body p:last-child {
    margin-bottom: 0;
}

.promotion-section.bumerang .bumerang-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.625rem;
    justify-content: center;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.promotion-section.bumerang .bumerang-hero-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.promotion-section.bumerang .bumerang-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1rem;
}

.promotion-section.bumerang .bumerang-hero-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.promotion-section.bumerang .bumerang-hero-link:hover {
    color: #fff;
    opacity: 0.9;
}

.promotion-section.bumerang .bumerang-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    background: linear-gradient(90deg, #f6d08c 0%, #f1c067 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promotion-section.bumerang .bumerang-hero-button:hover {
    transform: scale(1.03);
    color: var(--text-dark);
}

@media (max-width: 575.98px) {
    .promotion-section.bumerang .bumerang-hero-stage {
        min-height: min(42vh, 380px);
    }

    /* Keep CTA pill sized from padding only (no full-width stretch on small screens). */
    .promotion-section.bumerang .bumerang-hero-actions {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .promotion-section.bumerang .bumerang-hero-button {
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .promotion-section.bumerang .bumerang-hero-link {
        text-align: center;
    }
}

.qm {
    position: absolute;
    font-weight: 900;
    color: rgba(167, 139, 250, .3);
    pointer-events: none;
    user-select: none;
    animation: qfloat var(--d, 8s) ease-in-out infinite;
    animation-delay: var(--dl, 0s);
}
@keyframes qfloat {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-120px) rotate(15deg);
    }
}

.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--black-transparent-20);
}

#promotion .download-lead {
    text-align: left;
}

#promotion .app-buttons {
    justify-content: flex-start;
    text-align: left;
}

#promotion .download-note {
    text-align: left;
}


.video-overlay-logo {
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 14%;
    max-width: 120px;
    min-width: 58px;
    z-index: 2;
    pointer-events: none;
}

.promotion-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    pointer-events: none;
}

.promotion-media {
    position: relative;
}

.promotion-content {
    padding-top: 3rem;
}

.promotion-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.promotion-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.promotion-section .app-buttons .download-btn {
    max-height: 60px;
    transition: transform 0.2s ease-in-out;
}

.promotion-section .app-buttons .download-btn:hover {
    transform: scale(1.05);
}

.discovery-section {
    background: var(--white);
    padding: 4rem 0;
}

.discovery-card {
    background: #b4e0d1;
    border-radius: 18px;
    padding: 3rem 3.5rem;
}

.discovery-illustration {
    max-width: 340px;
    width: 100%;
    animation: discovery-jump 2.8s linear infinite;
}

.discovery-illustration-bumerang {
    max-width: 300px;
}

.discovery-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.discovery-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Wrap paired discovery paragraphs: one bottom margin on the row, not per column. */
.discovery-subtitle-row {
    margin-bottom: 1.5rem;
}

.discovery-subtitle-row .discovery-subtitle {
    margin-bottom: 0;
}

/* Stacked heading + bullet list inside discovery two-column layout (e.g. bumerang compare columns). */
.discovery-subtitle-stack {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 1rem;
}

.discovery-subtitle-stack-heading {
    margin-bottom: 0.5rem;
}

.discovery-subtitle-stack-heading strong {
    font-weight: 700;
}

.discovery-subtitle-bullets {
    margin: 0;
    padding-inline-start: 1.35rem;
    list-style-type: disc;
}

.discovery-subtitle-bullets li + li {
    margin-top: 0.35rem;
}

/* Second compare column: rounded border and semi-transparent panel on mint discovery background. */
.discovery-subtitle-stack--highlight {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.4);    
}

.discovery-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

@keyframes discovery-jump {
    0% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* easeOutQuad */
    }
    7.14% { /* 200ms */
        transform: translateY(-20px);
        animation-timing-function: cubic-bezier(0.55, 0.08, 0.68, 0.53); /* easeInQuad */
    }
    14.29% { /* 400ms */
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* easeOutQuad */
    }
    21.43% { /* 600ms */
        transform: translateY(-20px);
        animation-timing-function: cubic-bezier(0.55, 0.08, 0.68, 0.53); /* easeInQuad */
    }
    28.57% { /* 800ms */
        transform: translateY(0);
        animation-timing-function: linear;
    }
    100% { /* rest on ground for ~2s */
        transform: translateY(0);
    }
}

.bumerang-principle-section {
    background: #f9f6ef;
    padding: 5rem 0 4.5rem;
}

.testimonials-section {
    background: #f9f6ef;
    padding: 5rem 0 4.5rem;
}

.testimonials-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700; 
    margin-bottom: 1rem;   
}

.testimonials-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.testimonials-card {
    background: transparent;
    border-radius: 0;
    padding: 0 0 1.5rem;
    text-align: center;
    box-shadow: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.bumerang-principle-card {
    background: transparent;
    border-radius: 0;
    padding: 0 0 1.5rem;
    text-align: center;
    box-shadow: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.testimonials-card::before {
    content: none;
}

.testimonials-slider {
    position: relative;
    min-height: 300px;
    padding: 20px 13px;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    will-change: transform;
    transition: transform 0.6s ease;
}

.bumerang-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    will-change: transform;
    transition: transform 0.6s ease;
}

.testimonial-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: none;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--black-transparent-10);
    min-height: 260px;
}

.bumerang-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: none;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--black-transparent-10);
    min-height: 260px;
}

.testimonial-slide.first-visible {
    border-left: none;
}

.testimonial-rating {
    width: 100px;
    margin-bottom: 0.8rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 1rem;
    max-width: 520px;
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bumerang-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 1rem;
    max-width: 520px;
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bumerang-response-text {
    font-weight: 600 !important;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6cebf;
    border: none;
    padding: 0;
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--text-dark);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #e6e0d5;
    color: var(--text-dark);
    font-size: 0; /* avoid baseline offsets; icon comes from ::before */
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
    position: absolute;
}

.testimonial-nav:hover {
    background: #d6cebf;
}

.testimonial-nav.prev {
    left: -10px;
}

.testimonial-nav.next {
    right: -10px;
}

@media (max-width: 991.98px) {
    .testimonial-slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 575.98px) {
    .testimonials-card {
        padding: 2.5rem 1.5rem;
    }
    .testimonials-track {
        gap: 16px;
    }
    .testimonial-slide {
        flex: 0 0 100%;
        padding: 1.75rem 1.5rem;
    }
    .testimonial-slide.first-visible {
        border-left: none;
    }
}

.testimonial-nav.prev::before {
    content: "‹";
    font-size: 3.2rem;
    line-height: 1;
    position: absolute;
    top: 45%;
    left: 48%;
    transform: translate(-50%, -50%);
}

.testimonial-nav.next::before {
    content: "›";
    font-size: 3.2rem;
    line-height: 1;
    position: absolute;
    top: 45%;
    left: 52%;
    transform: translate(-50%, -50%);
}

/* Blog snapshots */
.blog-snapshots-section {
    background: #f9f6ef;
    padding: 4.5rem 0 4rem;
}

.blog-snapshots-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.blog-snapshots-card {
    position: relative;
    padding: 0 0 1.5rem;
}

.blog-snapshots-slider {
    position: relative;
    overflow: hidden;
    padding: 10px 16px 22px;
}

.blog-snapshots-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    will-change: transform;
    transition: transform 0.6s ease;
}

.blog-snapshot-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #f6d08c 0%, #f1c067 100%);
    border-radius: 26px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.blog-snapshot-media {
    flex: 0 0 40%;
}

.blog-snapshot-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-snapshot-body {
    flex: 1;
    padding: 2.5rem 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
}

.blog-snapshot-body h4 {
    margin: 0;
    color: #1b1b1b;
    font-size: 1.7rem;
    font-weight: 700;
}

.blog-snapshot-text {
    margin: 0;
    font-size: 1.1rem;
    color: #1b1b1b;
    line-height: 1.6;
    max-width: 560px;
}

.blog-snapshot-btn {
    align-self: flex-end;
    margin-top: auto;
    background: #fff7e1;
    color: #e59a1b;
    border-radius: 999px;
    padding: 0.75rem 2.25rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-snapshot-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.blog-snapshot-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1.25rem;
}

.blog-snapshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6cebf;
    border: none;
    padding: 0;
    cursor: pointer;
}

.blog-snapshot-dot.active {
    background: var(--text-dark);
}

.blog-snapshot-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #f1eadc;
    color: var(--text-dark);
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.blog-snapshot-nav:hover {
    background: #d6cebf;
}

.blog-snapshot-nav.prev {
    left: -10px;
}

.blog-snapshot-nav.next {
    right: -10px;
}

.blog-snapshot-nav.prev::before {
    content: "‹";
    font-size: 3.2rem;
    line-height: 1;
    position: absolute;
    top: 45%;
    left: 48%;
    transform: translate(-50%, -50%);
}

.blog-snapshot-nav.next::before {
    content: "›";
    font-size: 3.2rem;
    line-height: 1;
    position: absolute;
    top: 45%;
    left: 52%;
    transform: translate(-50%, -50%);
}

.blog .blog-post {
    scroll-margin-top: 100px;
}

@media (max-width: 991.98px) {
    .blog-snapshot-body {
        padding: 2rem 2rem 1.8rem;
    }
    .blog-snapshot-body h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .blog-snapshots-slider {
        padding: 10px 6px 24px;
    }
    .blog-snapshot-slide {
        flex-direction: column;
    }
    .blog-snapshot-media {
        flex: 0 0 auto;
    }
    .blog-snapshot-body {
        padding: 1.6rem 1.5rem 1.7rem 2.4rem;
    }
    .blog-snapshot-btn {
        align-self: center;
    }
}

/* Section 2: Benefits */
.benefits-section {
    background: var(--wikids-blue-gradient);
    padding: 4rem 0;
    /* margin-bottom: 60px; */
}
.benefits-section.bumerang {
    background: var(--wikids-lightyellow-gradient);
}
.benefits-section.bumerang .main-content {
    margin: 2rem 0;
}

.section-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--black-transparent-10);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-height: 400px; /* Ensure consistent height */
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.benefit-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.benefits-section .row .col-lg-3:nth-child(1) .benefit-card.is-visible {
    transition-delay: 0.5s;
}
.benefits-section .row .col-lg-3:nth-child(2) .benefit-card.is-visible {
    transition-delay: 1s;
}
.benefits-section .row .col-lg-3:nth-child(3) .benefit-card.is-visible {
    transition-delay: 1.5s;
}
.benefits-section .row .col-lg-3:nth-child(4) .benefit-card.is-visible {
    transition-delay: 2s;
}

.benefit-card img {
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

.benefit-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 50px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; /* Allow paragraph to take remaining space */
    margin-bottom: 0; /* Remove default margin */
}

/* Section 3: About the App2 */
.about-app-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
    background-image: url('../img/about-background.jpg?v=1');
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    min-height: 40vh;
    background-color: var(--sky-blue-legacy);
}

.about-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white-transparent-10);
    z-index: 1;
}

.about-app-section .container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.app-buttons {
    margin-top: 1.5rem !important;
}

.app-buttons img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.app-buttons a {
    text-decoration: none;
}

.app-buttons img:hover {
    transform: scale(1.05);
}

.video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--black-transparent-20);
    line-height: 0; /* Fix potential extra space below video */
}

.about-video {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 3 / 2.1;
    border-radius: 15px;
    border: 0;
    pointer-events: none;
}

.try-free-text {
    margin: 1.5rem 0;
}

.try-free-text p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.content-with-balloon {
    position: relative;
    padding-left: 2rem;
}

.balloon-container {
    position: absolute;
    bottom: -5vh;
    right: 10px;
    z-index: 3;
}

.hot-air-balloon {
    max-width: 120px;
    height: auto;
    animation: floatAndShrink 15s ease-in-out infinite;
}

@keyframes floatAndShrink {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-300px) scale(0.7); /* Move up and shrink */
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* New animation for the download section balloon */
.download-balloon-container .hot-air-balloon {
    animation: floatAndShrinkDownload 15s ease-in-out infinite;
}

@keyframes floatAndShrinkDownload {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-150px) scale(0.7); /* EDIT THIS LINE for the download balloon */
    }
    100% {
        transform: translateY(0) scale(1);
    }
}


/* Section 4: Features */
.features-section {
    background: var(--white);
    padding: 4rem 0;
}

.features-container {
    background: var(--wikids-pink-gradient);
    border-radius: 25px;
    padding: 50px 30px;
}

.features-slider {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
    min-height: 360px;
}

.feature-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    width: 100%;
    height: 100%;
}

.feature-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.feature-slide.exit-left {
    transform: translateX(-100%);
    opacity: 0;
}

.feature-slide.exit-right {
    transform: translateX(100%);
    opacity: 0;
}

.feature-slide.from-left {
    transform: translateX(-100%);
}

.feature-slide.from-right {
    transform: translateX(100%);
}

.feature-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 1.5rem;
}

.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6cebf;
    border: none;
    padding: 0;
    cursor: pointer;
}

.feature-dot.active {
    background: var(--text-dark);
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    height: 100%;
    min-height: 300px; /* Ensure consistent minimum height */
}

/* Add extra padding to inner sides of cards */
.feature-card:nth-child(odd) {
    padding-right: 2rem; /* Right side of left cards */
}

.feature-card:nth-child(even) {
    padding-left: 2rem; /* Left side of right cards */
}

.feature-card:hover {
    transform: scale(1.02);
}

/* Curiosity Section */
.curiosity-section {
    background: var(--white);
    margin: 5rem 0;
}

.curiosity-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem; /* Adjusted margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.curiosity-consolidated-card {
    background: var(--wikids-pink-gradient);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 3px 10px var(--black-transparent-08);
    color: var(--white);
}

.card-header-container {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.flying-owl-container {
    flex-shrink: 0; /* Prevent the owl container from shrinking */
    margin-right: 2rem;
}

.flying-owl-gif {
    max-height: 150px;
}

.card-header-text {
    text-align: center;
    width: 100%;
}

.curiosity-card-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.curiosity-info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--black-transparent-10);
    transition: transform 0.3s ease;
    width: 100%; /* Ensure card fills the column */
    display: flex;
    flex-direction: column;
}

.curiosity-info-card:hover {
    transform: translateY(-5px);
}

.curiosity-info-card h2 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.curiosity-info-card ul {
    list-style: none;
    padding-left: 1.5rem; /* Indent list */
    text-align: left;
    flex-grow: 1; /* Allow list to take up space */
}

.curiosity-info-card li {
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-light);
}

.curiosity-info-card li::before {
    content: '✨';
    position: absolute;
    left: -1.5rem;
}

.curiosity-paragraph {
    padding-bottom: 1rem;
    color: var(--text-dark);
}

.curiosity-paragraph:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.2rem;
}

.curiosity-paragraph p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* Feature content layout */
.feature-content {
    display: flex;
    align-items: flex-start; /* Align to top */
    height: 100%;
}
.feature-reverse {
    flex-direction: row-reverse; /* Reverse order for alternating cards */
}

/* Image section - 40% of card */
.feature-image {
    flex: 0 0 40%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-image img {
    width: 90%;
    height: auto;
    border-radius: 10px;
}

/* Text section - 60% of card */
.feature-text {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 10px;
    padding-left: 10px;
}
.feature-image.right {
    justify-content: right;
}

.feature-text h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0; /* Remove default margin */
}

.feature-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0; /* Remove default margin */
    flex-grow: 1; /* Allow text to fill remaining space */
}

/* Feature Tags */
.tags {
    margin-top: 1.5rem; /* Increased margin for better spacing */
    line-height: 1.8;
}

.tags .tag {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem; /* Add margin for wrapping */
    padding: 0.2rem 1rem; /* Reduced padding */
    font-size: 1rem; /* Reduced font size */
    font-weight: 500;
    border-radius: 12px; /* Adjusted for new size */
}

.tag-pink { background-color: var(--tag-pink); }
.tag-blue { background-color: var(--tag-blue); }
.tag-yellow { background-color: var(--tag-yellow); }
.tag-gray { background-color: var(--tag-lime); }
.tag-menta { background-color: var(--tag-menta); }

/* Section 5: Download */
.download-section {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.reveal-left {
    transform: translateX(-60px);
}

.scroll-reveal.reveal-left.in-view {
    transform: translateX(0);
}

.scroll-reveal.reveal-right {
    transform: translateX(60px);
}

.scroll-reveal.reveal-right.in-view {
    transform: translateX(0);
}

.scroll-reveal.reveal-scale {
    transform: scale(0.9);
}

.scroll-reveal.reveal-scale.in-view {
    transform: scale(1);
}

/* Staggered children reveal */
.scroll-reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.scroll-reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.scroll-reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.scroll-reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.scroll-reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    max-height: 80px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-info {
    margin-top: 2rem;
}

.download-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.download-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.download-info a:hover {
    text-decoration: underline;
}

.download-balloon-container {
    position: absolute;
    left: 15%;
    z-index: 1;
    animation: fly 10s ease-in-out infinite;
}

@keyframes fly {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(100px);
    }
    100% {
        transform: translateY(0);
    }
}

.download-note {
    color: var(--text-light);
}

.download-lead {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}


/* Section 6: Upper Footer */
.upper-footer-section {
    margin: 0;
}

.upper-footer-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 7: Footer */
.footer-section {
    background: var(--footer-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-media {
    margin-bottom: 1.5rem;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.footer-cta {
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-copyright {
    border-top: 1px solid var(--footer-border);
    padding-top: 1rem;
    margin-top: 2rem;
}

.footer-copyright p {
    color: var(--footer-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Custom Download Button for Nav */
.btn-download-nav {
    background-color: var(--menu-button-bg); 
    color: var(--white) !important;
    border-radius: 25px;
    padding: 0.3rem 1.5rem !important;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
    border: none;
    line-height: inherit; /* to vertically center text in navbar */
    font-size: 1rem;
    margin-left: 30px;
    margin-top: 3px;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    background-color: var(--menu-button-bg); 
}

/* Legal Section */
.legal-section {
    padding: 7rem 0;
    /* background: var(--light-blue); */
}

.legal-section .container {
    max-width: 1000px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section h2,
.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.legal-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 1.5rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    position: relative;
}

.legal-section li::before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: -15px;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}

.story-highlight {
    font-size: 1.5em;
    margin-bottom: 50px;
    margin-top: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
}

.story-page-section {
    padding: 1.5rem 0;
}

.story-page-section:nth-of-type(odd) {
    background-color: var(--light-gray);
}

.story-page-section:nth-of-type(even) {
    background-color: var(--light-gray);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.contact-form-wrapper {
    position: relative;
}

.contact-balloon {
    position: absolute;
    top: 50%;
    right: -150px; /* Position it outside the form area */
    transform: translateY(-50%);
    z-index: 1;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--form-border);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem var(--form-focus-glow);
}

.contact-form .btn-primary {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
}

.form-success-message {
    background-color: var(--light-blue);
    border: 1px solid var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.form-success-message h3 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .btn-download-nav {
        margin-left: 6px;
        margin-bottom: 5px;;
    }
    .discovery-card {
        padding: 2.5rem 1.75rem;
    }

    .discovery-text {
        text-align: center;
    }
    .discovery-text-bumerang {
        text-align: right;
    }

    .discovery-section .app-buttons {
        justify-content: center !important;
    }

    .discovery-illustration {
        max-width: 280px;
    }

    .promotion-content {
        text-align: center;
        padding-top: 2rem;
        margin-bottom: 2rem;
    }

    .promotion-title {
        font-size: 2.2rem;
    }

    #promotion .app-buttons {
        justify-content: center;
        text-align: center;
    }

    #promotion .download-note,
    #promotion .download-lead {
        text-align: center;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .features-slider {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    .feature-card,
    .benefit-card {
        margin-bottom: 2rem;
    }
    
    .benefit-card .row {
        flex-direction: column;
    }
    
    .benefit-card .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Remove extra padding on mobile */
    .feature-card:nth-child(odd),
    .feature-card:nth-child(even) {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .curiosity-card {
        padding: 1.5rem;
    }
    
    .curiosity-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .curiosity-paragraph {
        padding-bottom: 1rem;
    }
    
    .curiosity-paragraph:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .curiosity-paragraph p {
        color: var(--text-dark);
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0;
        font-family: 'Nunito', sans-serif;
    }
    
    .testimonials-card {
        padding: 2.25rem 2rem;
    }
    .testimonial-nav.prev {
        left: 20px;
    }
    .testimonial-nav.next {
        right: 20px;
    }
    .testimonial-text {
        font-size: 1rem;
        max-width: 460px;
    }

    /* Mobile About App section styles */
    .mobile-about-content .app-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-about-content .app-buttons a {
        display: inline-block;
    }
    
    .mobile-about-content .download-btn {
        width: auto;
    }

    .app-buttons img {
        max-height: 50px;
        margin-bottom: 1rem;
    }

    .card-header-container {
        flex-direction: column;
    }

    .flying-owl-container {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .card-header-text {
        text-align: center;
    }

    .features-slider {
        padding: 0 16px;
        min-height: 650px;
    }

    /* Mobile layout for feature cards */
    .feature-content {
        flex-direction: column !important; /* Override reverse for mobile */
        gap: 1rem;
    }
    
    .feature-image {
        flex: none;
        order: 1; /* Image comes first on mobile */
        margin-top: 1rem;
    }
    
    .feature-text {
        flex: none;
        order: 2; /* Text follows image on mobile */
        display: flex;
        flex-direction: column;
    }
    
    .feature-text h4 {
        order: 1; /* Title first */
    }
    
    .feature-text p {
        order: 2; /* Description second */
    }

    .feature-tags {
        order: 3; /* Tags last */
    }
}

@media (max-width: 480px) {
    #concept .feature-tags {
        display: none;
    }
}

@media (min-width: 1280px) {
    .promotion-section {
        background-size: 100% auto;
        background-position: bottom;
    }
}

/* Tweak promo title sizing to avoid wrapping at mid-large widths */
@media (max-width: 1399.98px) and (min-width: 1280px) {
    .promotion-title {
        font-size: 2.7rem;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .promotion-title {
        font-size: 2.3rem;
    }
}

/* Fix for content alignment on desktop */
@media (min-width: 991px) {
    #promotion .row {
        align-items: anchor-center;
    }

    #promotion .col-lg-5 {
        align-self: flex-start; /* Keep the text content aligned to the top */
    }
}

/* Hide balloon on smaller screens */
@media (max-width: 1200px) {
    .balloon-container, .download-balloon-container {
        display: none;
    }
    .bumerang-track {
        flex-direction: column;
        align-items: stretch;
    }

    .bumerang-slide {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

/* Fix for layout issues on medium-large screens (tablets in landscape) */
@media (max-width: 1279.99px) and (min-width: 992px) {
    .promotion-title {
        font-size: 2.4rem; /* Slightly smaller title */
    }

    .promotion-section .app-buttons .download-btn {
        max-height: 45px; /* Smaller buttons to prevent wrapping */
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-card,
    .benefit-card {
        padding: 1.5rem;
    }
}

/* ── Bumerang page: Steps section (wikids-bumerang GH pages — colors, icons, breakpoints) ── */
.bumerang-steps-section {
    /* Mirrors :root from https://ezylevy.github.io/wikids-bumerang/ */
    --bm-purple: #764ba2;
    --bm-blue: #667eea;
    --bm-dark: #2e1760;
    --bm-ink: #1a0e2e;
    --bm-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bm-off: #f8f6ff;
    --bm-light: #ede9ff;
    --bm-shadow-sm: 0 6px 20px rgba(118, 75, 162, 0.12);
    padding: 5.5rem 0;
    background: var(--bm-off);
    text-align: right;
}

.bumerang-steps-head {
    margin-bottom: 0;
}

.bumerang-steps-title {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--bm-dark);
}

.bumerang-steps-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: 0;
}

/* Vertical timeline (visible desktop/tablet landscape); hidden & stacked on small screens like source. */
.bumerang-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    margin-top: 3.5rem;
}

.bumerang-steps-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    /* Align with center of 56px icon inside 64px wrap (RTL): 32px from track edge */
    right: 31px;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2, #a78bfa);
}

.bumerang-action-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.25rem;
    padding: 2.75rem 0;
    align-items: start;
}

.bumerang-action-row:not(:last-child) {
    border-bottom: 1px solid rgba(118, 75, 162, 0.1);
}

.bumerang-action-num-wrap {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Circular raster icons (asset includes its own background); smaller than prior 80px emoji circles. */
.bumerang-action-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--bm-shadow-sm);
    background: transparent;
}

.bumerang-action-num-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.bumerang-action-content h3 {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--bm-ink);
}

.bumerang-action-content > p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.1rem;
}

.bumerang-action-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.bumerang-action-box {
    border-radius: 14px;
    padding: 16px;
    text-align: right;
}

.bumerang-abox-say {
    background: #ede9ff;
}

.bumerang-abox-creates {
    background: #f0fdf4;
}

.bumerang-abox-payoff {
    background: #fff7ed;
}

.bumerang-abox-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.bumerang-abox-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
    line-height: 1;
}

.bumerang-action-box p {
    font-size: 0.92rem;
    line-height: 1.65;
    font-weight: 600;
    color: var(--bm-ink);
    margin: 0;
}

@media (max-width: 768px) {
    .bumerang-steps-vertical::before {
        display: none;
    }

    .bumerang-action-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }

    .bumerang-action-num-wrap {
        width: 100%;
        align-items: center;
    }

    .bumerang-action-boxes {
        grid-template-columns: 1fr;
    }
}

/* Bumerang page: 10 questions accordion — homepage yellow palette (promotion hero / :root) */
.bumerang-questions-section {
    padding: 4.5rem 0;
    /* background: var(--wikids-yellow); */
    background: #c5eef2;
    text-align: right;
}

.bumerang-questions-head {
    margin-bottom: 2rem;
}

.bumerang-questions-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.bumerang-questions-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-light);
    max-width: 36rem;
    margin-inline: auto;
    margin-bottom: 0;
}

/* Stack items with gap; warm borders from --warm-orange / --tag-yellow family */
.bumerang-q-accordion.accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-bg: transparent;
    gap: 0.65rem;
    display: flex;
    flex-direction: column;
}

.bumerang-q-accordion .accordion-item {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.bumerang-q-accordion .accordion-header {
    margin-bottom: 0;
}

.bumerang-q-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    font-weight: 700;
    padding: 1rem 1.15rem;
    box-shadow: none;
}

.bumerang-q-accordion .accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--text-dark);
}

.bumerang-q-accordion .accordion-button::after {
    display: none;
}

.bumerang-q-accordion .accordion-button:focus {
    border-color: transparent;
}

.bumerang-q-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    text-align: right;
}

.bumerang-q-trigger-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bumerang-q-emoji {
    font-size: 1.35rem;
    line-height: 1;
}

.bumerang-q-label {
    font-size: 1.05rem;
}

.bumerang-q-chevron {
    font-size: 1rem;
    color: var(--text-light);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.bumerang-q-accordion .accordion-button:not(.collapsed) .bumerang-q-chevron {
    transform: rotate(180deg);
}

.bumerang-q-accordion-body {
    background: #ffffff;
    padding: 1.25rem;
    text-align: right;
}

.bumerang-q-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bumerang-qbox {
    border-radius: 12px;
    padding: 14px;
}

.bumerang-qbox-lbl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Accordion labels: dedicated small PNGs in /img/ (small_stop / small_bumerang / small_search). Do not substitute scaled bumerang-step-* images. */
.bumerang-qbox-usual .bumerang-qbox-lbl::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url("/img/small_stop.png") center / contain no-repeat;
}

.bumerang-qbox-bounce .bumerang-qbox-lbl::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url("/img/small_bumerang.png") center / contain no-repeat;
}

.bumerang-qbox-do .bumerang-qbox-lbl::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url("/img/small_search.png") center / contain no-repeat;
}

.bumerang-qbox p {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Card tints: cream / yellow hero / warm highlight */
.bumerang-qbox-usual {
    background: #c5f6f8;
    border-color: rgba(249, 213, 102, 0.55);
}

.bumerang-qbox-bounce {
    background: #d9fcfd;
    border-color: rgba(250, 193, 17, 0.4);
}

.bumerang-qbox-do {
    background: #e9fbfc;
    border-color: rgba(248, 178, 108, 0.55);
}

@media (max-width: 767.98px) {
    .bumerang-q-cols {
        grid-template-columns: 1fr;
    }
}
