/* ==========================================================================
   KidzyTech Modern Design System (Pixel-to-Pixel Redesign)
   ========================================================================== */

:root {
    --primary-pink: #FF4B91;
    --primary-purple: #A66CFF;
    --primary-blue: #00D7FF;
    --primary-green: #00FFAB;
    --primary-orange: #FF7600;
    --text-navy: #2B1D61;
    --text-gray: #5A607F;
    --bg-main: #FDFCFA;
    --bg-cream: #FDFCFA;
    --card-shadow: 0 12px 30px rgba(43, 29, 97, 0.04);
    --card-shadow-hover: 0 20px 40px rgba(43, 29, 97, 0.08);
    --border-soft: 2px solid #F3F0EB;
    --font-heading: 'Baloo 2', cursive;
    --font-body: 'Fredoka', sans-serif;
}

/* Global Adjustments */
body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-navy);
    line-height: 1.6;
    padding-top: 100px;
    margin: 0;
    background-image: none !important; /* Remove pattern background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-navy);
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Clean up container width */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header Redesign */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid #F3F0EB;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000 !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(43, 29, 97, 0.06);
    transform: none;
    border-radius: 0;
    padding: 0.8rem 0;
    z-index: 100000 !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--text-navy) !important;
}

.logo span:first-child {
    color: var(--primary-pink);
    margin-right: 4px;
}

.logo span:last-child {
    color: var(--primary-purple);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-navy);
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: color 0.3s;
}

.nav-links a:hover {
    background: none;
    color: var(--primary-pink);
    transform: none;
}

/* Active Nav Bar Underline */
.nav-links li.active-link::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 15%;
    right: 15%;
    height: 4px;
    background-color: var(--primary-pink);
    border-radius: 20px;
}

/* Right Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-search-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-navy);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-search-btn:hover {
    color: var(--primary-pink);
}

.nav-profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-purple);
}

/* Breadcrumbs style */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 1.5rem 0;
}

.breadcrumbs a {
    color: var(--text-gray);
}

.breadcrumbs a:hover {
    color: var(--primary-pink);
}

.breadcrumbs span.separator {
    color: #BDC2D9;
}

/* Common Header/Hero sections */
.page-title-section {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title-section h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-navy);
}

.page-title-section p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Modern Pill Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #FFFFFF;
    border: var(--border-soft);
    color: var(--text-navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.filter-tab.active {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(255, 75, 145, 0.2);
}

/* Base Cards layout */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.modern-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: #E6E2D9;
}

.modern-card-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background-color: #F8F9FE;
}

.modern-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-img {
    transform: scale(1.05);
}

.modern-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-card-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modern-card-meta {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.modern-card-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Button UI */
.btn-modern-pill {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-modern-pill.pink {
    background-color: var(--primary-pink);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(255, 75, 145, 0.2);
}

.btn-modern-pill.pink:hover {
    background-color: #E91E63;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 75, 145, 0.3);
}

.btn-modern-pill.purple {
    background-color: var(--primary-purple);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(166, 108, 255, 0.2);
}

.btn-modern-pill.purple:hover {
    background-color: #9253FC;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(166, 108, 255, 0.3);
}

.btn-modern-pill.outline {
    background-color: transparent;
    border: 2px solid #D9DEEB;
    color: var(--text-navy);
}

.btn-modern-pill.outline:hover {
    border-color: var(--text-navy);
    transform: translateY(-2px);
}

/* Centered loading button wrapper */
.load-more-container {
    text-align: center;
    margin: 2rem 0 4rem;
}

/* ==========================================================================
   HOMEPAGE CUSTOM SPECIFIC STYLES
   ========================================================================== */

/* Modern Hero Section styling */
/* Modern Hero Section styling */
.hero-redesign {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 8.5rem 0 4rem;
}

.hero-redesign-left h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-redesign-left h1 span.word-learn { color: var(--primary-purple); }
.hero-redesign-left h1 span.word-play { color: var(--primary-green); }
.hero-redesign-left h1 span.word-create { color: var(--primary-orange); }
.hero-redesign-left h1 span.word-grow { color: var(--primary-pink); }

.hero-redesign-left p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-redesign-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.btn-explore-activities {
    background: linear-gradient(135deg, #A66CFF 0%, #8B5CF6 100%) !important;
    color: #FFFFFF !important;
    padding: 14px 32px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important;
    transition: all 0.3s ease !important;
    font-family: var(--font-body);
}

.btn-explore-activities:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35) !important;
}

.btn-watch-video {
    background: #FFFFFF !important;
    color: #2B1D61 !important;
    border: 2px solid #F3F0EB !important;
    padding: 14px 32px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 8px 24px rgba(43, 29, 97, 0.03) !important;
    transition: all 0.3s ease !important;
    font-family: var(--font-body);
}

.btn-watch-video .play-icon-pink {
    color: var(--primary-pink) !important;
    font-size: 1.3rem !important;
}

.btn-watch-video:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(43, 29, 97, 0.08) !important;
    border-color: #E2DDD5 !important;
}

.hero-redesign-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(43,29,97,0.06));
}

.hero-illustration-wrapper {
    position: relative;
    width: 100%;
}

.hero-illustration-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(43,29,97,0.06));
}

/* Hide mobile-specific background bubbles, titles, and badges on desktop */
.hero-bg-shape,
.mobile-hero-title,
.hero-badge {
    display: none;
}

.hero-badge {
    display: none;
}

/* Animations declarations */
@keyframes bobBubble {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.1); }
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

@keyframes bobBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Homepage Category quick cards bar */
.home-categories-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.home-category-card {
    background: #FFFFFF !important;
    border: 2px solid #FDFCFA !important;
    box-shadow: 0 8px 24px rgba(43, 29, 97, 0.04) !important;
    border-radius: 24px !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.home-category-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(43, 29, 97, 0.08) !important;
}

.home-category-card-icon {
    font-size: 2rem !important;
    margin-bottom: 0.8rem !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

/* Custom background & icon colors matching mockup */
.card-crafts .home-category-card-icon {
    background-color: #FFF0F5 !important;
    color: var(--primary-pink) !important;
}
.card-diy .home-category-card-icon {
    background-color: #FFF5EE !important;
    color: var(--primary-orange) !important;
}
.card-games .home-category-card-icon {
    background-color: #F0F8FF !important;
    color: var(--primary-blue) !important;
}
.card-learning .home-category-card-icon {
    background-color: #F5F0FF !important;
    color: var(--primary-purple) !important;
}
.card-drawing .home-category-card-icon {
    background-color: #FFFDF0 !important;
    color: #FFC000 !important;
}

.home-category-card h3 {
    font-size: 1.1rem;
    color: var(--text-navy);
    margin: 0;
    font-weight: 700;
}

/* Badge stats strip */
.stats-strip {
    background-color: #F8F7FF;
    border: 2px solid #EDE9FE;
    border-radius: 32px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.stats-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.stats-strip-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stats-strip-icon-wrap.green { background-color: #E6FDF5; color: #10B981; }
.stats-strip-icon-wrap.yellow { background-color: #FEFCE8; color: #EAB308; }
.stats-strip-icon-wrap.purple { background-color: #F5F3FF; color: #8B5CF6; }
.stats-strip-icon-wrap.pink { background-color: #FFF1F2; color: #F43F5E; }

.stats-strip-content h4 {
    font-size: 1.1rem;
    margin: 0 0 3px 0;
    color: var(--text-navy);
    font-weight: 700;
}

.stats-strip-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}


/* ==========================================================================
   ACTIVITY DETAIL PAGE CUSTOM SPECIFIC STYLES
   ========================================================================== */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Left side gallery */
.detail-gallery-card {
    background-color: #FFFFFF;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    border-radius: 28px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-main-img-wrap {
    width: 100%;
    padding-top: 80%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #F8F9FE;
    margin-bottom: 1.5rem;
}

.detail-main-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.detail-thumbs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.detail-thumb-btn {
    border-radius: 12px;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: #F8F9FE;
}

.detail-thumb-btn.active {
    border-color: var(--primary-pink);
}

.detail-thumb-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

/* Detail Right column */
.detail-info-col h1 {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.detail-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.detail-meta-strip {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

.detail-meta-item i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.detail-actions-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* What you'll need grid */
.materials-section {
    margin-bottom: 3.5rem;
}

.materials-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.materials-items-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.material-item-square {
    background-color: #FFFFFF;
    border: var(--border-soft);
    border-radius: 18px;
    padding: 1.2rem 0.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(43,29,97,0.02);
}

.material-item-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.material-item-square span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-navy);
    display: block;
    line-height: 1.2;
}

/* Steps section styling */
.steps-section {
    margin-bottom: 4rem;
}

.steps-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-card {
    background-color: #FFFFFF;
    border: var(--border-soft);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--card-shadow);
}

.step-card-num-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-card-num-circle.purple { background-color: var(--primary-purple); }
.step-card-num-circle.pink { background-color: var(--primary-pink); }
.step-card-num-circle.orange { background-color: var(--primary-orange); }
.step-card-num-circle.green { background-color: var(--primary-green); }

.step-card-text {
    font-size: 0.95rem;
    color: var(--text-navy);
    line-height: 1.5;
    font-weight: 500;
}

/* Great Job card */
.great-job-card {
    background-color: #FFF9E6;
    border: 2px solid #FFE499;
    border-radius: 20px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.05);
}

.great-job-stars {
    color: #FFB800;
    font-size: 1.5rem;
}

.great-job-text strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #B38600;
    display: block;
    line-height: 1.2;
}

.great-job-text p {
    font-size: 0.85rem;
    color: #8C702E;
    margin: 0;
}


/* ==========================================================================
   ABOUT US CUSTOM PAGE STYLES
   ========================================================================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-intro-left h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-intro-left p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-stat-box {
    background-color: #FFFFFF;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    border-radius: 20px;
    padding: 1.8rem;
}

.about-stat-num {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-num.purple { color: var(--primary-purple); }
.about-stat-num.blue { color: var(--primary-blue); }
.about-stat-num.green { color: #10B981; }
.about-stat-num.pink { color: var(--primary-pink); }

.about-stat-lbl {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 700;
}

.about-intro-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(43,29,97,0.05));
}

.about-mission-promise {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-column-card {
    background-color: #FFFFFF;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    border-radius: 28px;
    padding: 2.5rem;
}

.about-column-card h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.about-column-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.about-bottom-banner {
    background-color: var(--primary-purple);
    color: #FFFFFF;
    border-radius: 32px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 5rem;
    box-shadow: 0 10px 30px rgba(166,108,255,0.2);
}

.about-bottom-banner h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 800;
}

.about-bottom-banner h2 i {
    color: #FFD700;
}


/* ==========================================================================
   PARENT RESOURCES PAGE STYLES
   ========================================================================== */
.parents-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.parents-category-card {
    background-color: #FFFFFF;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.parents-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: #E2DDD5;
}

.parents-category-card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.parents-category-card-icon-wrap.pink { background-color: #FFF1F2; color: #F43F5E; }
.parents-category-card-icon-wrap.yellow { background-color: #FEFCE8; color: #EAB308; }
.parents-category-card-icon-wrap.blue { background-color: #ECFDF5; color: #10B981; }
.parents-category-card-icon-wrap.purple { background-color: #F5F3FF; color: #8B5CF6; }

.parents-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.parents-category-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.parents-recommend-section {
    margin-bottom: 5rem;
}

.parents-recommend-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.parents-articles-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.parent-article-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.parent-article-img-wrap {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.parent-article-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.parent-article-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.parent-article-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.parent-article-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-pink);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.parent-article-link:hover {
    color: #E91E63;
    gap: 8px;
}

.footer-col-toggle .footer-chevron {
    display: none !important;
}

.stats-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.stats-section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-navy);
    margin: 0;
}

.stats-section-header .star-yellow {
    color: #FFC000;
    font-size: 1.8rem;
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
    /* Mobile Hero Layout & Style */
    .hero-redesign {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center !important;
        padding: 2.5rem 1.5rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        background: linear-gradient(135deg, #FFF5F7 0%, #F5F3FF 50%, #E0F2FE 100%) !important;
        border-radius: 35px !important;
        border: 3px solid #FFFFFF !important;
        box-shadow: 0 15px 35px rgba(43, 29, 97, 0.04), inset 0 0 60px rgba(255, 255, 255, 0.6) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-hero-title {
        display: block !important;
        font-size: 4.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.5rem !important;
        font-family: var(--font-heading) !important;
        color: var(--text-navy) !important;
        text-align: center !important;
        position: relative !important;
        z-index: 6 !important;
        order: -2 !important;
    }

    .mobile-hero-title span {
        display: inline-block !important;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8), 4px 4px 0px rgba(0, 0, 0, 0.05) !important;
    }

    .mobile-hero-title span:hover {
        transform: translateY(-5px) scale(1.05) rotate(1deg) !important;
    }

    .mobile-hero-title span.word-learn { color: var(--primary-purple); }
    .mobile-hero-title span.word-play { color: var(--primary-green); }
    .mobile-hero-title span.word-create { color: var(--primary-orange); }
    .mobile-hero-title span.word-grow { color: var(--primary-pink); }

    .hero-redesign-right {
        order: -1 !important; /* Force image second relative to title, but first in content columns */
        width: 100% !important;
        margin-top: 0.5rem !important;
    }

    .hero-redesign-left {
        order: 1 !important;
        width: 100% !important;
        position: relative !important;
        z-index: 5 !important;
    }

    /* Hide the original left-side h1 title on mobile */
    .hero-redesign-left h1 {
        display: none !important;
    }

    .hero-redesign-left p {
        font-size: 1.15rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-redesign-actions {
        display: flex !important;
        justify-content: center !important;
        gap: 1.2rem !important;
        margin-bottom: 2.5rem !important;
    }

    /* Mobile Tactile 3D Buttons */
    .btn-explore-activities {
        background: var(--primary-purple) !important;
        color: #FFFFFF !important;
        padding: 14px 28px !important;
        border-radius: 20px !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        position: relative !important;
        border: 2px solid rgba(255,255,255,0.3) !important;
        box-shadow: 0 6px 0 #7c4fd6, 0 12px 15px rgba(166, 108, 255, 0.2) !important;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        font-family: 'Fredoka', sans-serif !important;
        cursor: pointer !important;
    }

    .btn-explore-activities:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 9px 0 #7c4fd6, 0 15px 20px rgba(166, 108, 255, 0.25) !important;
    }

    .btn-explore-activities:active {
        transform: translateY(3px) !important;
        box-shadow: 0 3px 0 #7c4fd6, 0 5px 10px rgba(166, 108, 255, 0.2) !important;
    }

    .btn-watch-video {
        background: #FFFFFF !important;
        color: var(--text-navy) !important;
        border: 2px solid #F3F0EB !important;
        padding: 14px 28px !important;
        border-radius: 20px !important;
        font-weight: 800 !important;
        font-size: 1.1rem !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        position: relative !important;
        box-shadow: 0 6px 0 #e2ddd5, 0 12px 15px rgba(43, 29, 97, 0.04) !important;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        font-family: 'Fredoka', sans-serif !important;
        cursor: pointer !important;
    }

    .btn-watch-video .play-icon-pink {
        color: var(--primary-pink) !important;
        font-size: 1.2rem !important;
    }

    .btn-watch-video:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 9px 0 #e2ddd5, 0 15px 20px rgba(43, 29, 97, 0.06) !important;
        border-color: #E6E2D9 !important;
    }

    .btn-watch-video:active {
        transform: translateY(3px) !important;
        box-shadow: 0 3px 0 #e2ddd5, 0 5px 10px rgba(43, 29, 97, 0.03) !important;
    }

    /* Enable and style background shapes and badges inside mobile hero */
    .hero-bg-shape {
        display: block !important;
        position: absolute !important;
        pointer-events: none !important;
        z-index: 1 !important;
        opacity: 0.7 !important;
    }

    .shape-bubble-1 {
        width: 120px !important;
        height: 120px !important;
        top: -10px !important;
        left: 5% !important;
    }

    .shape-bubble-2 {
        width: 180px !important;
        height: 180px !important;
        bottom: -30px !important;
        right: -20px !important;
    }

    .shape-star-1 {
        top: 15% !important;
        right: 8% !important;
        font-size: 2rem !important;
    }

    .shape-star-2 {
        top: 35% !important;
        left: 6% !important;
        font-size: 1.8rem !important;
    }

    .shape-cloud-1 {
        top: 5% !important;
        left: 12% !important;
        font-size: 2.2rem !important;
    }

    .hero-illustration-wrapper img {
        border-radius: 25px !important;
        border: 5px solid #FFFFFF !important;
        box-shadow: 0 10px 25px rgba(43, 29, 97, 0.08) !important;
    }

    .hero-badge {
        display: flex !important;
        position: absolute !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border: 2px solid #FFFFFF !important;
        padding: 10px 16px !important;
        border-radius: 16px !important;
        align-items: center !important;
        gap: 10px !important;
        box-shadow: 0 10px 25px rgba(43, 29, 97, 0.1) !important;
        z-index: 10 !important;
    }

    .badge-icon {
        font-size: 1.5rem !important;
    }

    .badge-text {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    .badge-text strong {
        font-family: 'Fredoka', sans-serif !important;
        color: var(--text-navy) !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
    }

    .badge-text span {
        display: none !important; /* Hide subtitle to fit mobile viewports */
    }

    .badge-safe {
        left: -10px !important;
        top: 10% !important;
        animation: bobBadge 4s ease-in-out infinite alternate !important;
    }

    .badge-parents {
        right: -10px !important;
        bottom: 5% !important;
        animation: bobBadge 4s ease-in-out infinite alternate 1s !important;
    }
    
    .home-categories-bar {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-stats-grid {
        justify-content: center;
    }
    
    .about-mission-promise {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .parents-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .parents-articles-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    header {
        padding: 0.8rem 1.2rem !important;
        background: #FFFFFF !important;
        border-radius: 0 0 25px 25px !important;
        box-shadow: 0 8px 24px rgba(43, 29, 97, 0.05) !important;
        border-bottom: 2px solid #F3F0EB !important;
    }
    
    .nav-links {
        display: none; /* Let mobile-bottom-nav handle it or hamburger */
    }
    
    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, #FF4B91 0%, #FF769F 100%) !important;
        color: #FFFFFF !important;
        border: 2px solid #FFFFFF !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        box-shadow: 0 4px 0 #d93d7c, 0 8px 15px rgba(255, 75, 145, 0.25) !important;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        position: relative !important;
        top: 0 !important;
    }

    .mobile-menu-btn:hover {
        transform: translateY(-2px) scale(1.05) !important;
        box-shadow: 0 6px 0 #d93d7c, 0 12px 18px rgba(255, 75, 145, 0.35) !important;
    }

    .mobile-menu-btn:active {
        transform: translateY(2px) scale(0.95) !important;
        box-shadow: 0 2px 0 #d93d7c, 0 4px 8px rgba(255, 75, 145, 0.2) !important;
    }
    
    .logo {
        font-size: 2.3rem !important; /* Larger logo size on mobile */
    }

    .nav-actions {
        display: none !important;
    }
    
    .home-categories-bar {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .home-category-card {
        flex: 1 1 calc(33.333% - 12px) !important;
        max-width: calc(33.333% - 12px) !important;
        min-width: 90px !important;
        padding: 1.2rem 0.6rem !important;
    }
    
    .home-category-card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        border-radius: 14px !important;
    }

    .home-category-card h3 {
        font-size: 0.9rem !important;
    }

    /* Footer accordion styling on mobile */
    .footer-col-toggle {
        cursor: pointer;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(43, 29, 97, 0.08);
        margin-bottom: 0 !important;
        font-family: var(--font-heading);
        font-size: 1.2rem !important;
        color: var(--text-navy) !important;
    }
    
    .footer-col-toggle .footer-chevron {
        display: inline-block !important;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        color: var(--primary-pink);
    }
    
    .footer-links ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-links.active ul {
        max-height: 350px !important;
        padding: 15px 0 !important;
    }
    
    .footer-links.active .footer-col-toggle .footer-chevron {
        transform: rotate(180deg);
    }
    
    .footer-content {
        gap: 1rem !important;
    }
    
    .footer-about {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .stats-section-header h2 {
        font-size: 1.7rem !important;
    }
    .stats-section-header .star-yellow {
        font-size: 1.5rem !important;
    }
    
    .stats-strip {
        grid-template-columns: 1fr;
    }
    
    .detail-info-col h1 {
        font-size: 2.6rem;
    }
    
    .detail-meta-strip {
        flex-wrap: wrap;
        gap: 1.2rem;
    }
    
    .parents-articles-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-redesign-left h1 {
        font-size: 2.8rem;
    }
    
    .hero-redesign-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .btn-explore-activities, .btn-watch-video {
        width: 100% !important;
    }

    .hero-badge {
        padding: 8px 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .badge-icon {
        font-size: 1.3rem;
    }

    .badge-text strong {
        font-size: 0.8rem;
    }

    .badge-text span {
        display: none;
    }

    .badge-safe {
        left: 5px;
        top: 5%;
    }

    .badge-parents {
        right: 5px;
        bottom: 5%;
    }
    
    /* home-categories-bar styles inherited from max-width: 768px */
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .materials-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .parents-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LEGAL PAGES CUSTOM STYLES
   ========================================================================== */
.legal-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 4rem;
    background: #FFFFFF;
    border-radius: 40px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.legal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-blue), var(--primary-purple));
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-navy);
    text-align: center;
    font-weight: 800;
}

.legal-container h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-container h2::before {
    content: "🛡️";
    font-size: 1.5rem;
}

.legal-container p, .legal-container ul {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-container ul {
    list-style: none;
    padding-left: 0;
}

.legal-container ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.legal-container ul li::before {
    content: "👉";
    position: absolute;
    left: 0;
}

.last-updated {
    text-align: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    display: block;
}

@media (max-width: 768px) {
    .legal-container {
        margin: 2rem 15px;
        padding: 2rem;
    }
    .legal-container h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   DRAWING PAD CUSTOM STYLES
   ========================================================================== */
.drawing-container {
    background: #FFFFFF;
    border-radius: 32px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
}

.drawing-toolbar {
    background-color: #F8F7FF;
    border-bottom: var(--border-soft);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.tool-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #E6E2D9;
    background: #FFFFFF;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
}

.tool-btn:hover, .tool-btn.active {
    border-color: var(--primary-pink);
    background-color: #FFF1F2;
    transform: scale(1.05);
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.color-swatch:hover, .color-swatch.active {
    transform: scale(1.15);
    border-color: var(--text-navy);
}

.size-slider-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.canvas-area {
    width: 100%;
    height: 550px;
    position: relative;
    background-color: #FFFFFF;
}

#drawingCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

.drawing-workspace {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-top: 1px solid var(--glass-border);
}

.template-sidebar {
    background-color: #FAFAFB;
    border-right: var(--border-soft);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.template-sidebar h3 {
    font-family: var(--font-heading);
    color: var(--text-navy);
    font-size: 1.4rem;
    margin: 0;
}

.template-sidebar p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.template-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.template-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFFFFF;
    border: 2px solid #E6E2D9;
    border-radius: 16px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
    width: 100%;
}

.template-card:hover {
    border-color: var(--primary-pink);
    background-color: #FFF1F2;
    transform: translateY(-2px);
}

.template-card.active {
    border-color: var(--primary-pink);
    background-color: #FFF1F2;
    box-shadow: 0 4px 12px rgba(255, 75, 145, 0.1);
}

.template-card .template-icon {
    font-size: 1.8rem;
}

.template-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin: 0;
    color: var(--text-navy);
    font-weight: 700;
}

.drawing-main {
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .drawing-workspace {
        grid-template-columns: 1fr;
    }
    .template-sidebar {
        border-right: none;
        border-bottom: var(--border-soft);
    }
    .template-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
    .template-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

.sticker-selector {
    border-top: 2px dashed #E6E2D9;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sticker-selector h4 {
    font-family: var(--font-heading);
    color: var(--text-navy);
    font-size: 1.2rem;
    margin: 0;
}

.sticker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.sticker-btn {
    font-size: 1.6rem;
    background: #FFFFFF;
    border: 2px solid #E6E2D9;
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.sticker-btn:hover {
    border-color: var(--primary-pink);
    transform: scale(1.1);
}

.sticker-btn.active {
    border-color: var(--primary-pink);
    background-color: #FFF1F2;
    box-shadow: 0 4px 8px rgba(255, 75, 145, 0.1);
}

/* ==========================================================================
   SINGLE BLOG POST CUSTOM OVERRIDES
   ========================================================================== */
.article-header {
    max-width: 1000px;
    margin: 4rem auto 2rem;
    text-align: center;
    padding: 0 5%;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-navy);
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.article-meta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    background: #FFFFFF;
    border-radius: 50px;
    box-shadow: var(--card-shadow);
    border: var(--border-soft);
}

.article-featured-image {
    width: 100%;
    height: 450px;
    border-radius: 36px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    margin: 2rem 0 3rem;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 24px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-navy);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
    color: var(--text-navy);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-navy);
}

.article-content blockquote {
    background: #FFF9E6;
    border-left: 8px solid var(--primary-pink);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 24px;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-navy);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-sidebar .sidebar-widget {
    background: #FFFFFF;
    border-radius: 24px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    padding: 2rem;
}

.article-sidebar .sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.comments-section {
    background: #FFFFFF;
    border-radius: 28px;
    border: var(--border-soft);
    box-shadow: var(--card-shadow);
    padding: 3rem;
    margin-bottom: 4rem;
}

.comments-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION STYLES
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    height: 76px !important;
    border-radius: 30px !important;
    border: var(--border-soft) !important;
    z-index: 200000 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 10px !important;
    box-shadow: 0 15px 35px rgba(43, 29, 97, 0.1) !important;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }
}

.bottom-nav-item {
    color: #94a3b8 !important; /* Neutral muted grey default */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    font-family: var(--font-body) !important;
    gap: 4px !important;
    width: 20% !important; /* Exactly 5 items */
    z-index: 1 !important;
    padding-top: 5px !important;
    position: relative !important;
}

.bottom-nav-item i {
    font-size: 1.4rem !important;
    transition: transform 0.3s !important;
}

.bottom-nav-item span {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
}

/* Color active items only */
.bottom-nav-item.active:nth-of-type(1) { color: var(--primary-pink) !important; }
.bottom-nav-item.active:nth-of-type(2) { color: var(--primary-blue) !important; }
.bottom-nav-item.active:nth-of-type(3) { color: var(--primary-purple) !important; }
.bottom-nav-item.active:nth-of-type(4) { color: var(--primary-orange) !important; }
.bottom-nav-item.active:nth-of-type(5) { color: var(--primary-pink) !important; }

/* Inactive items are neutral grey */
.bottom-nav-item:not(.active) {
    color: #94a3b8 !important;
}

.bottom-nav-item.active {
    transform: none !important; /* Muted flat design aligns to baseline */
}

.bottom-nav-item.active i {
    transform: scale(1.1) !important;
}

/* Hide background blob and nav indicator lines to solve visual glitches */
.bottom-nav-item::before,
.bottom-nav-item.active::before,
.bottom-nav-item::after,
.bottom-nav-item.active::after,
.nav-indicator {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   LEARNING HUB CREATIVE UPDATES
   ========================================================================== */
.learning-hero {
    background: linear-gradient(135deg, #FFF5F7 0%, #F5F0FF 100%);
    border: var(--border-soft);
    border-radius: 36px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.learning-hero::before {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 2rem;
    opacity: 0.6;
    animation: float-bubble 3s ease-in-out infinite;
}

.learning-hero::after {
    content: '🎈';
    position: absolute;
    bottom: 20px;
    right: 40px;
    font-size: 2rem;
    opacity: 0.6;
    animation: float-bubble 4s ease-in-out infinite;
}

.learning-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-navy);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.learning-hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

@keyframes float-bubble {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.modern-card-img-wrap .circle-bg {
    position: absolute;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.modern-card:hover .modern-card-img-wrap .circle-bg {
    transform: scale(1.2) rotate(15deg);
}

.age-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.age-pill.toddler { background-color: #FFF1F2; color: #F43F5E; }
.age-pill.preschool { background-color: #ECFDF5; color: #10B981; }
.age-pill.bigkid { background-color: #F5F3FF; color: #8B5CF6; }
.hidden-card {
    display: none !important;
}

