/* 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;

    --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%);
}

* {
    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;
}

.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 .gray-bg {
    /* background: var(--white); */
}

.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-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-right-side {
    /* margin-top: 1rem; */
}

.blog .blog-sidebar-block {
    /* margin-top: 30px; */
}

.blog .blog-sidebar-block-lg {
    /* margin-top: 50px; */
}

.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);
}

.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-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;
}

.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);
    }
}

.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;
}

.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;
}

.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;
}

.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;
}

.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; */
}

.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.png?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;
}

.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 */
.feature-tags {
    margin-top: 1.5rem; /* Increased margin for better spacing */
    line-height: 1.8;
}

.feature-tags .tag {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem; /* Add margin for wrapping */
    padding: 0.1rem 0.5rem; /* Reduced padding */
    font-size: 0.8rem; /* Reduced font size */
    font-weight: 500;
    border-radius: 12px; /* Adjusted for new size */
    color: var(--white); /* White text */
}

.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); }

/* 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-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;
    }
}

/* 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;
    }
}
