/* ============================================
   Alex & Alice
   ============================================ */

:root {
    /* Brand palette */
    --tf-pink: #FFB6C1;
    --tf-pink-d: #FF8FA3;
    --tf-mint: #A0E7E5;
    --tf-mint-d: #6BD0CE;
    --tf-butter: #FFD580;
    --tf-butter-d: #FFB347;
    --tf-lavender: #C7B8EA;
    --tf-sky: #B8E0FF;
    --tf-cream: #FFF8F0;

    --tf-text: #3D2C5C;
    --tf-text-soft: #6B5B8A;
    --tf-muted: #9C8FB3;

    --tf-success: #4CD7B0;
    --tf-warning: #FFC857;
    --tf-danger: #FF6B7A;

    /* Effects */
    --tf-radius: 20px;
    --tf-radius-sm: 12px;
    --tf-radius-lg: 32px;
    --tf-shadow-sm: 0 4px 14px rgba(124, 92, 188, 0.10);
    --tf-shadow: 0 10px 30px rgba(124, 92, 188, 0.12);
    --tf-shadow-lg: 0 20px 50px rgba(124, 92, 188, 0.18);

    /* Type */
    --tf-font: 'Nunito', 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
    --tf-font-h: 'Fredoka', 'Baloo 2', 'Nunito', sans-serif;
}

/* Reset / base */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: var(--tf-font);
    color: var(--tf-text);
    background: #FFFFFF;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
    font-family: var(--tf-font-h);
    font-weight: 700;
    color: #000;
    letter-spacing: -0.01em;
}

h1,
.display-3 {
    font-size: clamp(2rem, 4.5vw, 2.4rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

a {
    color: var(--tf-pink-d);
    text-decoration: none;
}

a:hover {
    color: var(--tf-text);
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 26px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-pink {
    background: linear-gradient(135deg, #fa438f 0%, #fa438f 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(255, 143, 163, 0.45);
}

.btn-primary:hover,
.btn-pink:hover {
    background: linear-gradient(135deg, #ff002e 0%, #eb3a5e 100%);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(255, 143, 163, 0.55);
}

.btn-secondary,
.btn-mint {
    background: linear-gradient(135deg, #448d8b 0%, #34afac 100%);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(107, 208, 206, 0.4);
}

.btn-butter {
    background: linear-gradient(135deg, var(--tf-butter) 0%, var(--tf-butter-d) 100%);
    color: var(--tf-text) !important;
    box-shadow: 0 6px 18px rgba(255, 179, 71, 0.4);
}

.btn-outline-pink {
    background: #fa438f;
    color: #fff !important;
    border: 2px solid #fa438f;
}

.btn-outline-pink:hover {
    background: #fa438f;
    color: #fff !important;
    border-color: #fa438f;
    box-shadow: 0 6px 18px rgba(250, 67, 143, 0.45);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: .9rem;
}

/* Cards */
.card,
.tf-card {
    border: none;
    border-radius: var(--tf-radius);
    box-shadow: var(--tf-shadow-sm);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.tf-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tf-shadow);
}

.product-card {
    border-radius: var(--tf-radius);
    background: #fff;
    box-shadow: var(--tf-shadow-sm);
    overflow: hidden;
    transition: all .25s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tf-shadow-lg);
}

.product-card .product-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--tf-cream) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.product-card .product-img img,
.product-card .product-img svg {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card .badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #fa438f;
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .75rem;
    font-weight: 700;
}

/* Large badge for product detail page */
.badge-discount-lg {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fa438f;
    color: #fff;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(250, 67, 143, 0.4);
    z-index: 2;
}

.product-card .body {
    padding: 18px;
}

.product-card h5 {
    font-size: 1.05rem;
    margin: 0 0 6px;
    /*min-height: 2.5em;*/
}

.product-card .price {
    color: #fa438f;
    font-weight: 800;
    font-size: 1.15rem;
}

.product-card .mrp {
    color: #000;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: .9rem;
    font-weight: 800;
}

/* Hero */
.tf-hero {
    position: relative;
    padding: clamp(60px, 10vw, 50px) 0;
    background: 
        radial-gradient(circle at 5% 15%, rgba(255, 182, 193, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 95% 85%, rgba(160, 231, 229, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(199, 184, 234, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #FFF5F7 0%, #F0F5FF 50%, #FFFDF0 100%);
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 182, 193, 0.15);
}

.tf-hero::before,
.tf-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 213, 128, .2);
    pointer-events: none;
}

.tf-hero::before {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
}

.tf-hero::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -40px;
    background: rgba(199, 184, 234, .2);
}

.tf-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(250, 67, 143, 0.25);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fa438f;
    box-shadow: 0 4px 15px rgba(250, 67, 143, 0.06);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.tf-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--tf-text);
}

.tf-hero h1 strong {
    background: linear-gradient(135deg, #fa438f 0%, #ff6b8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tf-hero .lead {
    color: var(--tf-text-soft);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 30px;
}

.tf-hero-image-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.tf-hero-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.5) 0%, rgba(160, 231, 229, 0.4) 50%, rgba(199, 184, 234, 0.3) 100%);
    filter: blur(45px);
    border-radius: 50%;
    z-index: 1;
    animation: rotateBlob 20s linear infinite;
}

.tf-hero-img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(61, 44, 92, 0.12));
}

@keyframes rotateBlob {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.08); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* Class card */
.class-card {
    border-radius: var(--tf-radius-lg);
    padding: 32px 24px;
    color: var(--tf-text);
    box-shadow: 0 12px 30px rgba(61, 44, 92, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 45px rgba(61, 44, 92, 0.12);
    border-color: rgba(255, 255, 255, 0.95);
}

.class-card .class-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto;          /* center horizontally */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.class-card:hover .class-icon {
    transform: scale(1.12) rotate(3deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
}

.class-card .class-pill {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #fa438f 0%, #ff6b8b 100%);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    margin-top: 12px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(250, 67, 143, 0.2);
    border: none;
    transition: transform 0.2s;
}

.class-card:hover .class-pill {
    transform: scale(1.05);
}

.class-card h3 {
    margin: 16px 0 6px;
    font-weight: 800;
    color: var(--tf-text);
}

/* Sections */
.tf-section {
    padding: 60px 0;
    background: var(--tf-gradient-soft);
    background-image: linear-gradient(135deg, rgb(237 213 221) 0%, rgb(255, 224, 236) 100%);
    overflow: hidden;
}

/* Special Class Section with premium vibrant background */
.tf-class-section {
    position: relative;
    padding: 50px 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 182, 193, 0.45) 0%, transparent 35%),
        radial-gradient(circle at 90% 15%, rgba(199, 184, 234, 0.45) 0%, transparent 35%),
        radial-gradient(circle at 50% 85%, rgba(160, 231, 229, 0.5) 0%, transparent 40%),
        linear-gradient(180deg, #FFFFFF 0%, #FFF3F6 40%, #F4F7FF 100%);
    overflow: hidden;
    border-bottom: 3.5px dashed rgba(255, 182, 193, 0.35);
}

.tf-section .section-title,
.tf-class-section .section-title {
    text-align: center;
    margin-bottom: 48px;
}

.tf-section .section-title small,
.tf-class-section .section-title small {
    display: inline-block;
    background: linear-gradient(135deg, #fa438f 0%, #ff6b8b 100%);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(250, 67, 143, 0.18);
}

/* WhatsApp float button */
.tf-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    z-index: 9999;
    transition: transform .2s;
    animation: tfPulse 2.5s infinite;
}

.tf-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

.tf-whatsapp svg {
    width: 32px;
    height: 32px;
}

@keyframes tfPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    }

    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* Navbar */
.tf-navbar {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    box-shadow: var(--tf-shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tf-navbar .navbar-brand {
    font-family: var(--tf-font-h);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--tf-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tf-navbar .navbar-brand .brand-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--tf-pink) 0%, var(--tf-lavender) 100%);
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
}

.tf-navbar .nav-link {
    color: var(--tf-text) !important;
    font-weight: 700;
    padding: 8px 14px !important;
    border-radius: 999px;
    transition: all .2s;
}

.tf-navbar .nav-link:hover,
.tf-navbar .nav-link.active {
    background: var(--tf-cream);
    color: var(--tf-pink-d) !important;
}

.tf-navbar .cart-link {
    position: relative;
    background: var(--tf-pink);
    color: #fff !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.tf-navbar .cart-link .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e5366d;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

/* Forms */
.form-control,
.form-select {
    border-radius: var(--tf-radius-sm);
    border: 2px solid #EEE6F2;
    padding: 12px 16px;
    font-family: var(--tf-font);
    transition: all .2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tf-pink);
    box-shadow: 0 0 0 4px rgba(255, 182, 193, .25);
}

.form-label {
    font-weight: 700;
    color: var(--tf-text);
}

/* Footer */
.tf-footer {
    background: linear-gradient(180deg, #112641 0%, #112641 100%);
    color: #E5DCF5;
    padding: 60px 0 20px;
    margin-top: 0px;
}

.tf-footer h5 {
    color: #fff;
    font-family: var(--tf-font-h);
    margin-bottom: 18px;
}

.tf-footer a {
    color: #E5DCF5;
}

.tf-footer a:hover {
    color: var(--tf-pink);
}

.tf-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: .9rem;
    color: #fff;
}
/* Banners (CTA) */
.tf-cta-banner {
    border-radius: var(--tf-radius-lg);
    padding: 50px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 143, 163, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(160, 231, 229, 0.35) 0%, transparent 40%),
        linear-gradient(135deg, #2C1F47 0%, #1F1535 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(31, 15, 60, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-cta-banner::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 213, 128, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(20px);
}

.tf-cta-banner h2 {
    color: #fff;
    font-weight: 800;
}

.tf-cta-banner .lead {
    color: rgba(255, 255, 255, 0.88);
}

/* Premium Newsletter Form layout */
#newsletter-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    width: 100%;
}

#newsletter-form:focus-within {
    border-color: rgba(255, 182, 193, 0.5);
    box-shadow: 0 8px 30px rgba(255, 182, 193, 0.15);
}

#newsletter-form .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 18px !important;
    font-size: 0.95rem;
    box-shadow: none !important;
    height: auto !important;
}

#newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#newsletter-form .btn {
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#newsletter-form .btn:hover {
    transform: scale(1.04);
}

@media (max-width: 576px) {
    #newsletter-form {
        flex-direction: column;
        border-radius: var(--tf-radius);
        padding: 16px;
        background: rgba(255, 255, 255, 0.06);
    }
    #newsletter-form .form-control {
        text-align: center;
        width: 100%;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 50px !important;
    }
    #newsletter-form .btn {
        width: 100%;
    }
}

/* Testimonials premium card layout */
.tf-testimonial-card {
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(61, 44, 92, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
}

.tf-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(250, 67, 143, 0.08);
    border-color: rgba(250, 67, 143, 0.15);
}

.tf-testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(124, 92, 188, 0.06);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
}

.tf-testimonial-card:hover .quote-icon {
    color: rgba(250, 67, 143, 0.1);
}

.tf-testimonial-card .testimonial-text {
    font-size: 0.98rem;
    color: var(--tf-text-soft);
    line-height: 1.6;
    font-weight: 600;
}

.tf-testimonial-card .avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--tf-text);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
/* Badges */
.tf-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: var(--tf-cream);
    color: #ffffff;
}

/* Page hero (smaller hero for inner pages) */
.tf-page-hero {
    /*background: linear-gradient(135deg, #e3dcd4 0%, #e3dcd4 100%);*/
    background: linear-gradient(135deg, #f5911f 0%, #f5911f 100%);
    padding: 50px 0;
    text-align: center;
    border-radius: 0 0 var(--tf-radius-lg) var(--tf-radius-lg);
    margin-bottom: 40px;
    border-bottom: 3.5px dashed rgba(255, 255, 255, 0.25);
}

.tf-page-hero .breadcrumb {
    justify-content: center;
    background: transparent;
}

/* Floating shapes (decorative) */
.tf-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
    pointer-events: none;
}

/* Utility */
.text-pink {
    color: #fa438f !important;
}

.text-mint {
    color: var(--tf-mint-d) !important;
}

.text-soft {
    color: #000 !important;
    font-weight: 600;
}

.bg-pink {
    background: var(--tf-pink) !important;
}

.bg-mint {
    background: var(--tf-mint) !important;
}

.bg-butter {
    background: var(--tf-butter) !important;
}

.bg-lavender {
    background: var(--tf-lavender) !important;
}

.bg-sky {
    background: var(--tf-sky) !important;
}

.bg-cream {
background: #f5911fe0 !important;
}

.rounded-tf {
    border-radius: var(--tf-radius) !important;
}

/* Character animation */
@keyframes tfBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.tf-bob {
    animation: tfBob 3.5s ease-in-out infinite;
}

@keyframes tfWiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.tf-wiggle {
    animation: tfWiggle 2.4s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .tf-section {
        padding: 50px 0;
    }

    .tf-hero {
        padding: 30px 0 50px;
        text-align: center;
    }

    .tf-hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .tf-whatsapp {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: 16px;
    }

    .tf-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* Print */
@media print {

    .tf-navbar,
    .tf-footer,
    .tf-whatsapp {
        display: none !important;
    }
}

.btn-lg {
    font-size: 1.05rem;
    padding: 12px 26px;
}

/* Hero buttons side-by-side on all screen sizes */
.btn-hero {
    font-size: 1.05rem;
    padding: 13px 28px;
    white-space: nowrap;
    flex: 1 1 0;
    text-align: center;
    max-width: 200px;
}

.hero-btn-row {
    width: 100%;
    max-width: 440px;
}

@media (max-width: 480px) {
    .btn-hero {
        font-size: 0.9rem;
        padding: 11px 16px;
    }
}

.tf-navbar .cart-link {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    color: rgb(255, 255, 255) !important;
    background: #fa438f;
    border-radius: 50%;
    place-items: center;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #000;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ============================================
   Unified Sidebar Filter Styles
   ============================================ */
.tf-sidebar-filter {
    background: radial-gradient(circle at 0% 0%, rgba(255, 182, 193, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(160, 231, 229, 0.12) 0%, transparent 50%),
                #FFFDFE;
    border-radius: 28px;
    padding: 28px 24px;
    border: 2.5px solid #FDF0F3;
    box-shadow: 0 10px 30px rgba(124, 92, 188, 0.04);
    position: sticky;
    /*top: 100px;*/
}

.tf-sidebar-filter .sidebar-title {
    font-family: var(--tf-font-h);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--tf-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 14px;
    color: var(--tf-text-soft) !important;
    font-weight: 700;
    font-size: 0.93rem;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    background: transparent;
    text-decoration: none;
}

.menu-link:hover {
    color: var(--tf-pink-d) !important;
    background: rgba(250, 67, 143, 0.05);
    transform: translateX(4px);
}

.menu-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #fa438f 0%, #ff6b8b 100%);
    box-shadow: 0 4px 12px rgba(250, 67, 143, 0.2);
}

.menu-icon {
    font-size: 1.1rem;
    margin-right: 12px;
    transition: transform 0.25s;
    color: var(--tf-pink-d);
}

.menu-link.active .menu-icon {
    color: #ffffff;
}

.menu-link:hover .menu-icon {
    transform: scale(1.15) rotate(3deg);
}

.menu-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--tf-pink-d);
    margin-right: 12px;
    display: inline-block;
    transition: transform 0.25s, background-color 0.25s;
}

.menu-link.active .menu-bullet {
    background-color: #ffffff;
    transform: scale(1.5);
}

.badge-size {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(124, 92, 188, 0.06);
    color: var(--tf-text-soft);
    margin-left: auto;
    font-weight: 700;
}

.menu-link.active .badge-size {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ============================================
   Hero Orange Theme Text Visibility Styles
   ============================================ */
.tf-hero.bg-cream {
    /*background: #d1aa7e !important;*/
    background: rgba(245, 145, 31, 0.88) !important;
    border-bottom: 3.5px dashed rgba(255, 255, 255, 0.25);
}

.tf-hero.bg-cream h1 {
    color: #112641 !important;
}

.tf-hero.bg-cream h1 strong {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.tf-hero.bg-cream h1 .text-pink {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.tf-hero.bg-cream h1 span[style*="color:"] {
    color: #112641 !important; /* override inline purple on Alice */
}

.tf-hero.bg-cream .lead {
    color: #FFFFFF !important;
    font-weight: 600;
}

.tf-hero.bg-cream .hero-meta-row {
    color: #FFFFFF !important;
}

.tf-hero.bg-cream .hero-meta-row span {
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

.tf-hero.bg-cream .hero-meta-row span i {
    color: #FFFFFF !important;
}

/* ── Video section / Gradient page section styles ── */
.tf-video-section {
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.45) 0%, transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(160, 231, 229, 0.45) 0%, transparent 45%),
              radial-gradient(circle at 50% 80%, rgba(255, 213, 128, 0.35) 0%, transparent 50%),
              linear-gradient(135deg, #FFEBF0 0%, #FFF9E6 50%, #E8FAF8 100%) !important;
  border-top: 4px dashed rgba(250, 67, 143, 0.15);
  border-bottom: 4px dashed rgba(250, 67, 143, 0.15);
  overflow: hidden;
  z-index: 1;
}

.tf-video-bg-shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
}
.tf-video-bg-shapes .bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.15));
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 4px 10px rgba(255,255,255,0.6), 0 8px 24px rgba(61,44,92,0.04);
  animation: floatBubble 12s infinite ease-in-out;
}
.tf-video-bg-shapes .bubble-1 {
  width: 90px; height: 90px;
  left: 6%; top: 15%;
  animation-delay: 0s;
  animation-duration: 14s;
}
.tf-video-bg-shapes .bubble-2 {
  width: 130px; height: 130px;
  right: 4%; top: 22%;
  animation-delay: -3s;
  animation-duration: 18s;
}
.tf-video-bg-shapes .bubble-3 {
  width: 70px; height: 70px;
  left: 45%; bottom: 8%;
  animation-delay: -6s;
  animation-duration: 13s;
}
.tf-video-bg-shapes .bubble-4 {
  width: 100px; height: 100px;
  right: 32%; top: 58%;
  animation-delay: -9s;
  animation-duration: 16s;
}
@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-24px) rotate(180deg) scale(1.06);
  }
}

.vid-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  padding: 0 8px;
}
.vid-tabs {
  list-style: none;
  margin: 0; padding: 8px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(61,44,92,0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  max-width: 100%;
}

.vid-tab-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: .88rem;
  color: #888;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.vid-tab-btn:hover { color: var(--tf-pink-d); }
.vid-tab-btn.active {
    background: linear-gradient(135deg, #fa438f, #fa438f);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 143, 163, .35);
}

.vid-panel { display: none; }
.vid-panel.active { display: block; }

.vid-card {
  border-radius: 24px;
  border: 3.5px solid #fff !important;
  box-shadow: 0 8px 22px rgba(61,44,92,0.05);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  background: #fff;
}
.vid-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(61,44,92,0.12) !important;
  border-color: #fa438f !important;
}

.vid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.vid-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: opacity .2s, transform .3s;
}
.vid-card:hover .vid-thumb img { opacity: 1; transform: scale(1.03); }

.vid-play-btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.15);
  transition: background .2s;
}
.vid-card:hover .vid-play-btn { background: rgba(0,0,0,.25); }
.vid-play-btn i {
  font-size: 2.2rem;
  color: #fff;
  background: rgb(251 59 93 / 92%);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
  box-shadow: 0 4px 20px rgba(255,100,130,.4);
}
.vid-card:hover .vid-play-btn i { transform: scale(1.12); background: #e72c4d; }

.vid-title {
  font-size: .92rem;
  color: var(--tf-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tf-badge-rhyme    { background: #fa438f; color: #ffffff; }
.tf-badge-learning { background: #fa438f; color: #ffffff; }
.tf-badge-cartoon  { background: #fa438f; color: #ffffff; }
.tf-badge-story    { background: #fa438f; color: #ffffff; }

/* Prevent double dashed border when tf-video-section follows tf-page-hero */
.tf-page-hero + .tf-video-section {
    border-top: none !important;
}