  /* ========================================
     KIDSZONIA COLOR PALETTE - GLOBAL
     ======================================== */
  :root {
    --kz-light-blue: #BAEBF9;
    --kz-white: #FFFFFF;
    --kz-cream: #FFF7DD;
    --kz-purple: #982C95;
    --kz-red: #BC3646;
    --kz-pink: #F15E7E;
  }

  /* ========================================
     AUTH PAGES MARGIN FIX (Same as Drawing Pages)
     ======================================== */
  .auth-page-content {
    margin-top: 100px; /* Default for desktop */
  }

  @media (max-width: 991px) {
    .auth-page-content {
      margin-top: 90px; /* Tablet */
    }
  }

  @media (max-width: 767px) {
    .auth-page-content {
      margin-top: 80px; /* Mobile */
    }
  }

  /* Custom styles */
  html {
    scroll-padding-top: 100px;
    /* This won't affect selection */
  }

  /* body {
    scroll-behavior: smooth;
    /* Smooth scrolling */
  /*
    font-family: 'Montserrat', sans-serif;
  } */

  /* Fixed header */
  .fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }


  section {
    padding: 3rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  @media (min-width: 992px) {
    section {
      padding: 5rem 0;
    }
  }




  /* Navbar active state */

  .navbar {
    padding: 0px;
    margin: 0px;

  }


  .top-bar {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
  }

  .contact-info .nav {
    align-items: center;
    flex-wrap: wrap;
  }

  .contact-info .nav-item {
    margin-right: 15px;
    display: flex;
    align-items: center;
  }

  .contact-info svg {
    margin-right: 8px;
    flex-shrink: 0;
  }

  .contact-info a {
    text-decoration: none;
    color: #212529;
  }

  .contact-info .gray {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  .header_h1 {
    font-size: 40px;
    font-weight: bolder;
    color: #000000;
  }

  .header_h2 {
    font-size: 30px;
    font-weight: bold;
    color: #5FA3AC;
  }

  .more_info {
    background-color: #F26E03;
    color: #ffffff;
    font-weight: bold;
  }

  /* .section_heading {
    font-family: 'DS Marker Felt', sans-serif;
    letter-spacing: 0px;
    color: #F15E7E ;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    opacity: 1;
    font-size: 80px;
    font-weight: 700;
    text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0px  2px 0 #fff,
     2px  0px 0 #fff,
    -2px  0px 0 #fff,
     0px -2px 0 #fff;
    letter-spacing: 2px;
  } */

  .section_heading {
    font-family: 'DS Marker Felt', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(32px, 8vw, 80px);
    letter-spacing: 2px;
    color: var(--kz-pink);

    /* white outline using multiple text-shadows */
    text-shadow:
      -3px -3px 0 var(--kz-white),
      3px -3px 0 var(--kz-white),
      -3px 3px 0 var(--kz-white),
      3px 3px 0 var(--kz-white),
      0px 3px 0 var(--kz-white),
      3px 0px 0 var(--kz-white),
      -3px 0px 0 var(--kz-white),
      0px -3px 0 var(--kz-white),
      /* soft drop shadow for depth */
      0px 8px 18px rgba(0, 0, 0, 0.15);

    /* smooth visual appearance */
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
  }

  /* Optional subtle hover effect */
  .section_heading:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
  }

  .about_us_txt {
    color: #296771;
    font-size: 20px;

  }

  .about_website_link {
    color: #F26E03;
    font-size: 24px;
    font-weight: bold;
  }

  .services_div {
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
  }

  .services_image {
    border-top-right-radius: 2rem;
  }

  .big_rounded_div {
    border-radius: 3rem;
    border: 10px solid #ffffff;
  }

  .vision_h1 {
    -webkit-text-stroke: 2px #5FA3AC;
    /* width and color */
    color: #ffffff;
    font-weight: bold;
    font-size: 60px;
    letter-spacing: 5px;
  }

  .our_team_txt {
    color: #296771;
    font-size: 25px;
    align-content: center;

  }

  .header_icons {
    font-size: 35px;
    color: #5FA3AC;
  }


  @media (min-width: 768px) {
    .navbar-custom {
      background-color: #5FA3AC;
    }
  }

  @media (min-width: 992px) {
    .ps-lg-5 {
      padding-left: 8rem !important;
    }
  }

  .bolder {
    font-weight: bolder;
  }


  .curved-card {
    position: relative;
    width: 100%;
    padding: 2rem;
    background-color: var(--kz-white);
    border: 3px solid var(--kz-pink);
    box-shadow: 0px 3px 6px #00000029;
    transition: all 0.3s ease;
  }

  .curved-card:hover {
    border-color: var(--kz-red);
    transform: translateY(-5px);
  }

  .curved-card img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }

  .curved-card h5 {
    font-weight: bold;
    color: var(--kz-purple);
    text-transform: uppercase;
  }
  

  @media (max-width: 576px) {
    .curved-card {
      padding: 1rem;
      max-width: 250px;
    }

    .curved-card img {
      width: 60px;
    }
  }

  .curved-card1 {
    border-top-right-radius: 100% 124%;
    border-bottom-left-radius: 15% 15%;
    text-align: left;
  }

  .curved-card2 {
    border-top-left-radius: 100% 124%;
    border-bottom-right-radius: 15% 15%;
    text-align: right;
  }

  .curved-card3 {
    border-bottom-right-radius: 100% 124%;
    border-top-left-radius: 15% 15%;
    text-align: left;
  }

  .curved-card4 {
    border-bottom-left-radius: 100% 124%;
    border-top-right-radius: 15% 15%;
    text-align: right;
  }

  .rhymes {
    background: var(--kz-light-blue);
    opacity: 1;
  }


  .miko {
    background: var(--kz-cream) !important;
    opacity: 1;
  }


  .image_generator {
    background: var(--kz-cream);
    opacity: 1;
  }



  .cards-wrapper {
    display: flex;
    justify-content: center;
  }

  .card img {
    max-width: 100%;
    max-height: 100%;
  }

  .card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
  }

  .carousel-inner {
    padding: 1em;
  }

  .carousel-control-prev,
  .carousel-control-next {
    background-color: #e1e1e1;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  @media (min-width: 768px) {
    .card img {
      height: 11em;
    }
  }

  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* full viewport height */
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  /* Video background full width/height */
  .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .video-container .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Overlay Image */
  .overlay-container {
    /* position: relative; */
    width: 100%;
    text-align: center;
  }

  .overlay-image {
    max-width: 100%;
    height: auto;
  }

  /* Optional dark gradient overlay (for readability if text added later) */
  /* Commented out to remove blur/opacity from hero images
  .hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
  }
  */

  @media (max-width: 992px) {
    .hero-section {
      height: auto;
      /* allow section to grow naturally */
      min-height: 300px;
      padding: 2rem 0;
    }

    .video-container {
      height: 60vh;
      /* limit video height on tablets */
    }

    .overlay-image {
      width: 90%;
      /* shrink image slightly */
    }
  }

  @media (max-width: 576px) {
    .hero-section {
      height: auto;
      min-height: 220px;
    }

    .video-container {
      height: 40vh;
    }

    .overlay-image {
      width: 100%;
    }
  }

  .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .overlay-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .overlay-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }




  .logo {
    height: 90px;
    transition: transform 0.3s ease;
  }

  .logo:hover {
    transform: scale(1.05);
  }

  /* Larger logo on bigger screens */
  @media (min-width: 1200px) {
    .logo {
      height: 100px;
    }
  }

  .custom-input-container {
    padding: 1rem;
    border-radius: 0.5rem;
  }

  .input-group .form-control::placeholder {
    color: #aaa;
    font-style: italic;
  }

  .input-group-text {
    background-color: transparent;
    border: none;
  }

  .btn-circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }




  .image-stack {
    position: relative;
    /* width: 800px; /* adjust based on image size */
    height: 300px;
    /* set enough height to show all images */
    margin: auto;
  }

  .image-stack div {
    position: absolute;
  }

  .image-1 {
    top: 5px;
    left: 0;
    z-index: 1;
    width: 50%;
  }

  .image-2 {
    top: 80px;
    left: 184px;
    z-index: 2;
    width: 50%;
  }

  .image-3 {
    top: 40px;
    left: 340px;
    z-index: 3;
    width: 50%;
  }

  .product-card {
    position: relative;
    width: 350px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .heart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    border: none;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }

  .product-img {
    width: 100%;
    height: auto;
    display: block;
  }

  .shop-btn {
    background-color: #FF6600;
    border: none;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
  }

  .navbar-custom a {
    pointer-events: auto !important;
  }

  .navbar-custom {
    background-color: rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Fix for profile dropdown */
  .navbar-custom .dropdown-menu {
    z-index: 1050 !important;
    position: absolute !important;
    min-width: 200px;
  }

  .navbar-custom .nav-item.dropdown {
    position: relative;
  }

  /* Ensure dropdown is clickable and visible */
  .navbar-custom .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-weight: bold;
    color: #333 !important;
    padding: 12px 25px;
    border-radius: 20px;
    min-width: 200px;
    text-align: center;
    margin: 2px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  }

  .nav-link.active {
    background-color: #FFD700;
    color: #000000 !important;
  }

  .nav-link:not(.active) {
    background-color: #DA70D6;
  }

  .navbar-custom .nav-link {
    transition: color 0.3s ease;
  }

  .navbar-custom .nav-link:hover {
    background-color: #FFD700;
    color: #000000 !important;
  }

  /* Profile dropdown toggle button styling */
  .navbar-custom .nav-item.dropdown .nav-link.dropdown-toggle {
    cursor: pointer !important;
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
    user-select: none;
  }

  .navbar-custom .nav-item.dropdown .nav-link.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
  }

  /* Ensure dropdown toggle is clickable */
  .navbar-custom .dropdown-toggle {
    pointer-events: auto !important;
  }

  /* Prevent any overlay from blocking dropdown */
  .navbar-custom .nav-item.dropdown {
    z-index: 1040;
  }

  /* Make sure dropdown-menu is visible and above everything */
  .navbar-custom .dropdown-menu {
    display: none;
  }

  .navbar-custom .dropdown-menu.show {
    display: block !important;
  }

  /* Mobile responsive adjustments for dropdown */
  @media (max-width: 991px) {
    .navbar-custom .nav-link {
      min-width: auto;
      width: 100%;
    }

    .navbar-custom .dropdown-menu {
      position: static !important;
      float: none;
      width: 100%;
      margin-top: 0;
      border-radius: 8px;
    }
  }



  /* ✅ Make toggler visible and matching your theme */
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  /* ✅ On mobile: show menu with same glassy background */
  @media (max-width: 992px) {
    .navbar-collapse {
      background-color: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(10px);
      border-radius: 0 0 15px 15px;
      padding: 10px 0;
      overflow: visible !important;
    }
  }

  /* Ensure navbar allows overflow for dropdown */
  .navbar-custom .container {
    overflow: visible !important;
  }

  .navbar-custom #navbarContent {
    overflow: visible !important;
  }

  /* Style the dropdown menu */
  .navbar-custom .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

  .navbar-custom .dropdown-item {
    padding: 0.5rem 1.25rem;
    color: #333;
    transition: all 0.2s ease;
  }

  .navbar-custom .dropdown-item:hover {
    background-color: #DA70D6;
    color: white;
  }

  .navbar-custom .dropdown-item.active {
    background-color: #FFD700;
    color: #000;
  }

  .navbar-custom .dropdown-divider {
    margin: 0.5rem 0;
    border-top-color: rgba(0, 0, 0, 0.1);
  }

  .navbar-custom .dropdown-header {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem 0.25rem;
  }

  .navbar-custom .dropdown-item-text {
    padding: 0.25rem 1.25rem;
    color: #333;
  }



  /* Search Modal Styling - Simple and Professional */
  .search-modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }

  .search-modal-content .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 2rem;
  }

  .search-modal-content .modal-title {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.5rem;
  }

  .search-modal-content .btn-close {
    opacity: 0.5;
  }

  .search-modal-content .btn-close:hover {
    opacity: 1;
  }

  .search-modal-content .modal-body {
    padding: 2.5rem 2rem;
  }

  .search-modal-content .form-control {
    border: 2px solid #ced4da;
    border-radius: 10px 0 0 10px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: border-color 0.15s ease-in-out;
  }

  .search-modal-content .form-control:focus {
    border-color: #DA70D6;
    box-shadow: 0 0 0 0.2rem rgba(218, 112, 214, 0.25);
    outline: none;
  }

  .search-modal-content .btn-primary {
    background: #DA70D6;
    border: 2px solid #DA70D6;
    border-radius: 0 10px 10px 0;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }

  .search-modal-content .btn-primary:hover {
    background: #c55ec0;
    border-color: #c55ec0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(218, 112, 214, 0.3);
  }

  .search-modal-content .btn-primary:active {
    background: #b04ca8;
    border-color: #b04ca8;
    transform: translateY(0);
  }

  /* Search icon in nav */
  .navbar-custom .nav-item .nav-link i.fa-search {
    font-size: 1.2rem;
  }

  /* Mobile responsive for search modal */
  @media (max-width: 767px) {
    .search-modal-content .modal-header {
      padding: 1rem;
    }

    .search-modal-content .modal-title {
      font-size: 1.2rem;
    }

    .search-modal-content .modal-body {
      padding: 1.5rem;
    }

    .search-modal-content .form-control {
      font-size: 1rem;
      padding: 0.6rem 1rem;
    }

    .logo {
      height: 70px;
    }
  }

  /* Scroll to top button */
  .scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #DA70D6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .scroll-to-top.active {
    opacity: 1;
  }

  .scroll-to-top:hover {

    background: #FFD700;
    transform: translateY(-3px);
    color: white;
  }

  .story_books {
    background-color: #FFFFFF;
  }

  .kitchen_story {
    background-color: #FFF7DD;
  }

  .gallery-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }



  .image-stack-pan {
    position: relative;
    /* width: 800px; /* adjust based on image size */
    height: 300px;
    /* set enough height to show all images */
    margin: auto;
  }

  .image-stack-pan div {
    position: absolute;
  }

  .imagepan-1 {
    top: 0px;
    left: 0;
    z-index: 1;
    width: 60%;
  }

  .imagepan-2 {
    top: 0px;
    left: 129px;
    z-index: 2;
    width: 60%;
  }

  .imagepan-3 {
    top: 0px;
    left: 258px;
    z-index: 3;
    width: 60%;
  }


  .drawing_outer {
    background: #3B3536 0% 0% no-repeat padding-box;
    border-radius: 39px;
    padding: 20px;
  }

  .drawing_box {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #707070;
    border-radius: 40px;
    height: 100%;
  }

  .ribbon {
    width: 30px;
    height: 67px;

    position: relative;
    margin: 50px auto;
  }

  .ribbon::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 16px solid transparent;

  }

  .ribbon-orange {
    background-color: orange;
  }

  .ribbon-orange::after {
    border-top: 24px solid orange;
  }

  .ribbon-red {
    background-color: red;
  }

  .ribbon-red::after {
    border-top: 24px solid red;
  }


  .ribbon-yellow {
    background-color: yellow;
  }

  .ribbon-yellow::after {
    border-top: 24px solid yellow;
  }

  .ribbon-green {
    background-color: green;
  }

  .ribbon-green::after {
    border-top: 24px solid green;
  }

  .ribbon-blue {
    background-color: blue;
  }

  .ribbon-blue::after {
    border-top: 24px solid blue;
  }

  .ribbon-purple {
    background-color: purple;
  }

  .ribbon-purple::after {
    border-top: 24px solid purple;
  }

  .ribbon.selected {
    height: 90px;
  }


  .badge-custom {
    background: #FFFFFF;
    border: 1px solid #95489A;
    border-radius: 25px;
    opacity: 1;
    position: relative;
    padding: 0.75rem 2.5rem 0.75rem 1.5rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    color: #95489A;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .badge-custom .btn-close {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-size: 0.7rem;
    padding: 0.35rem;
    background-size: 0.7rem;
    transition: all 0.2s ease;
    filter: none;
  }

  .badge-custom .btn-close:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background-color: rgba(0, 0, 0, 0.1);
  }

  /* 📱 Tablet screens */
  @media (max-width: 768px) {
    .badge-custom {
      font-size: 0.8rem;
      padding: 0.6rem 2rem 0.6rem 1.2rem;
      border-radius: 20px;
    }

    .badge-custom .btn-close {
      font-size: 0.6rem;
      right: 0.4rem;
    }

    body {
      padding-top: 70px !important;
      /* adjust if your header is taller */
    }
  }

  /* 📱 Small mobile screens */
  @media (max-width: 576px) {
    .badge-custom {
      font-size: 0.75rem;
      padding: 0.5rem 1.6rem 0.5rem 1rem;
      border-radius: 18px;
    }

    .badge-custom .btn-close {
      font-size: 0.55rem;
      right: 0.35rem;
      padding: 0.25rem;
    }
  }


  .kitchen_story_accordion {
    font-family: 'Montserrat', sans-serif;
    background-color: #F9E9F6;
    color: #95489A;
    font-size: 35px;
    font-weight: 600;
  }


  .kitchen_story_faq {
    font-family: 'Montserrat', sans-serif;
    background-color: #CCFEE7;
    color: #95489A;
    font-size: 35px;
    font-weight: 600;
  }

  .kitchen_story_tips {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFD6E8;
    color: #95489A;
    font-size: 35px;
    font-weight: 600;
  }

  .kitchen_story_portion {
    font-family: 'Montserrat', sans-serif;
    background-color: #EAFBFC;
    color: #95489A;
    font-size: 35px;
    font-weight: 600;
  }

  .kitchen_story_learn {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff4cc;
    color: #95489A;
    font-size: 35px;
    font-weight: 600;
  }

  .circle-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 10px;
  }

  .circle-btn i {
    font-size: 40px;
    margin-bottom: 8px;
  }


  .kitchen_story_heading {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .kitchen_story_cook {
    font-size: 1.1rem;
    color: #ff6600;
  }

  .kitchen_story_description {
    font-size: 1.1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* ✅ Responsive tweaks for phones */
  @media (max-width: 768px) {
    .kitchen_story_heading {
      font-size: 1.6rem;
      line-height: 1.2;
      padding: 0 10px;
    }

    .kitchen_story_description {
      font-size: 1rem;
      padding: 0 12px;
    }
  }

  @media (max-width: 480px) {
    .kitchen_story_heading {
      font-size: 1.4rem;
    }

    .kitchen_story_description {
      font-size: 0.95rem;
    }
  }

  .image-card {
    border: 3px solid #e0f7fa;
    /* Light teal border */
    border-radius: 20px;
    /* Rounded corners */
    padding: 8px;
    /* Space inside border */
    background-color: #ffffff;
    /* White background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: .5rem;
  }

  .image-card:hover {
    transform: scale(1.03);
    /* Slight zoom on hover */
  }

  .image-card img {
    width: 100%;
    border-radius: 15px;
    /* Inner image rounding */
  }

  .miko_heading {
    color: #982B94;
    font-size: clamp(40px, 6vw, 90px);
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, 0px 3px 0 #fff, 3px 0px 0 #fff, -3px 0px 0 #fff, 0px -3px 0 #fff, 0px 8px 18px rgba(0, 0, 0, 0.15);
    line-height: 1;
    transition: all 0.3s ease;
  }

  .miko_with {
    font-size: clamp(25px, 3vw, 50px);
    font-weight: bold;
  }

  .miko_learning {
    color: #DA70D6;
    font-size: 20px;
    font-weight: bold;
  }

  .coming-up {
    font-size: 30px;
    font-weight: bold;
  }

  /* ========================================
     FOOTER STYLES - ALL IN ONE PLACE
     ======================================== */

  /* Main Footer Container */
  .footer {
    background: #f8f9fa;
    padding: 50px 20px 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    border-top: 4px solid #B0F7FC;
  }

  .footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    align-items: start;
  }

  /* Footer Brand Section with Logo */
  .footer-brand img {
    width: 160px;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
  }

  .footer-brand img:hover {
    opacity: 0.8;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
  }

  /* Footer Links Section */
  .footer-links h4,
  .footer-social h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #b129b1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

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

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
  }

  .footer-links a:hover {
    color: #b129b1;
    padding-left: 5px;
  }

  /* Social Icons Section */
  .social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #666;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .social-icons a:hover .fa-youtube {
    color: #FF0000;
  }

  .social-icons a:hover .fa-facebook {
    color: #1877F2;
  }

  .social-icons a:hover .fa-instagram {
    color: #E4405F;
  }

  /* Footer Image Section */
  .footer-image {
    text-align: center;
  }

  .footer-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }

  /* Footer Bottom Section */
  .footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding: 25px 0;
    text-align: center;
    background-color: #fff;
  }

  .footer-bottom p {
    margin: 5px 0;
  }

  /* Footer Tagline - Large */
  .footer-tagline {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
  }

  .footer-tagline .fa-heart,
  .footer-tagline i {
    color: #ff0000;
    font-size: 30px;
    margin: 0 8px;
    animation: heartbeat 1.5s ease-in-out infinite;
  }

  @keyframes heartbeat {
    0%, 100% {
      transform: scale(1);
    }
    10%, 30% {
      transform: scale(1.2);
    }
    20%, 40% {
      transform: scale(1);
    }
  }

  /* Footer Copyright */
  .footer-copyright {
    font-size: 13px;
    color: #666;
  }

  /* Responsive Footer Styles */
  @media (max-width: 992px) {
    .footer-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    .footer-image {
      grid-column: span 2;
    }
  }

  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 30px;
    }

    .social-icons {
      justify-content: center;
    }

    .footer-brand img {
      width: 140px;
    }

    .footer-image {
      grid-column: span 1;
    }

    .footer-image img {
      max-height: 150px;
    }

    .footer-tagline {
      font-size: 22px;
    }

    .footer-tagline .fa-heart,
    .footer-tagline i {
      font-size: 26px;
    }
  }

  @media (max-width: 480px) {
    .footer {
      padding: 40px 15px 0;
    }

    .footer-links h4,
    .footer-social h4 {
      font-size: 16px;
    }

    .footer-links a {
      font-size: 13px;
    }

    .footer-tagline {
      font-size: 20px;
    }

    .footer-tagline .fa-heart,
    .footer-tagline i {
      font-size: 24px;
    }

    .social-icons a {
      width: 38px;
      height: 38px;
      font-size: 16px;
    }

    .footer-brand img {
      width: 120px;
    }

    .footer-image img {
      max-height: 120px;
    }
  }

  .pan_img {
    border: 10px solid #fff;
    border-radius: 15px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
  }

  .video-container .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .object-fit-cover {
    object-fit: cover;
    object-position: center;
  }

  @media (max-width: 992px) {
    .image-stack-pan {
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .image-stack-pan>div {
      position: static !important;
      /* removes overlap */
      width: 100% !important;
      z-index: auto !important;
      margin-bottom: 20px;
    }

    .image-stack-pan img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 10px;
      /* optional for nice corners */
    }
  }



  /* For small devices */
  @media (max-width: 768px) {
    .rhymes .card-wrapper {
      flex-direction: column;
      /* stack cards vertically */
      align-items: center;
      /* center them horizontally */
    }

    .rhymes .card-wrapper .col-12,
    .rhymes .card-wrapper .col-sm-6,
    .rhymes .card-wrapper .col-md-4 {
      width: 100%;
      /* each card takes full width */
      max-width: 90%;
      /* small margin from edges */
    }

    .rhymes .image-card {
      margin-bottom: 20px;
    }
  }

  /* Optional: Adjust carousel buttons on mobile */
  @media (max-width: 576px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      width: 24px;
      height: 24px;
    }
  }

  @media (max-width: 992px) {
  .product-img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .card-wrapper {
    flex-direction: column;       /* stack vertically */
    align-items: center;
    gap: 25px;
  }

  .product-card {
    width: 100%;
  }

  .product-img {
    width: 90%;                   /* slightly smaller than full width */
    max-width: 300px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .product-img {
    width: 100%;
    max-width: 250px;
  }
}

.link-title {
  font-size: 1.25rem;        /* slightly larger text for title */
  font-weight: 600;          /* semi-bold for emphasis */
  color: #222;               /* dark grayish black */
  text-decoration: none;     /* no underline */
  transition: color 0.3s ease, transform 0.2s ease;
}

.link-title:hover {
  color: #000;               /* pure black on hover */
  text-decoration: underline;
  transform: translateY(-1px); /* subtle lift effect */
}

/* Description style */
.link-description {
  font-size: 0.95rem;        /* slightly smaller */
  color: #555;               /* medium gray for readability */
  line-height: 1.6;          /* comfortable spacing */
  margin-top: 4px;
  text-decoration: none; 
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.link-description:hover {
  color: #000;               /* darken text on hover */
  text-decoration: underline; /* subtle underline on hover */
  cursor: pointer;
}

/* ========================================
   Detail Pages Styles (Rhymes, Stories, Cooking)
   ======================================== */

/* Video Container - Responsive 16:9 Ratio - Enhanced */
.video-container {
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 100%;
    margin: 0 auto;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-video iframe,
.responsive-video #youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Container on Mobile */
@media (max-width: 767px) {
    .video-container {
        border-radius: 12px;
    }
}

/* Video Title */
.video-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Breadcrumbs */
.breadcrumb {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #E74C3C;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Description Content */
.description-content {
    line-height: 1.8;
    color: #555;
}

.description-content p {
    margin-bottom: 1rem;
}

/* Related Items */
.related-item {
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.related-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* Detail Page Cards */
.detail-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.detail-card .card-header {
    border-radius: 12px 12px 0 0 !important;
    border: none;
}

/* Responsive Video Title */
@media (max-width: 991px) {
    .video-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .video-title {
        font-size: 1.25rem;
    }
}

/* Related Items Thumbnails - Fixed Aspect Ratio */
.related-thumb-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.related-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.related-title {
    line-height: 1.3;
    min-height: 2.6em; /* Two lines minimum */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Item Hover - Enhanced */
.related-item:hover {
    background: #e9ecef;
    transform: scale(1.02);
}

.related-item:hover .related-thumb {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    flex: 1;
    min-width: 45px;
    white-space: nowrap;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile: Show only icons */
@media (max-width: 575px) {
    .share-btn {
        min-width: auto;
        padding: 0.375rem 0.75rem;
    }
}

/* Tablet and up: Show text */
@media (min-width: 576px) {
    .share-btn {
        min-width: 120px;
    }
}

/* Back Button Styling */
.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* Video Section Enhancements */
.video-section {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved Card Spacing */
.detail-card.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Video Player Enhancement - Glow Effect */
.video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #E74C3C, #3498DB, #2ECC71, #F39C12);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.video-container:hover::before {
    opacity: 0.6;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Video Section Wrapper */
.video-section {
    padding: 0;
}

/* Better spacing around video */
.video-container {
    margin-bottom: 1.5rem;
}

/* Loading placeholder for video */
.responsive-video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #E74C3C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0.3;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.responsive-video iframe,
.responsive-video #youtube-player {
    z-index: 1;
}

/* Video Wrapper - Better Presentation */
.video-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

@media (max-width: 767px) {
    .video-wrapper {
        padding: 1rem;
        border-radius: 16px;
    }
}

/* Remove loading animation when video is loaded */
.responsive-video iframe:not([src=""]) ~ ::after,
.responsive-video #youtube-player:not(:empty) ~ ::after {
    display: none;
}



 /* Feature Badges */
        .feature-badges {
            margin-top: 60px;
            padding: 30px 0;
        }

        .feature-badge {
            background: white;
            border-radius: 15px;
            padding: 25px 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            text-align: left;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: transform 0.3s;
        }

        .feature-badge:hover {
            transform: translateY(-5px);
        }

        .feature-badge .icon {
            font-size: 2.5rem;
            flex-shrink: 0;
        }

        .feature-badge h6 {
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 5px;
            font-size: 1rem;
        }

        .feature-badge p {
            font-size: 0.85rem;
            color: #666;
            margin: 0;
        }
/* ========================================
   Home Page Feature Badges Section - Enhanced
   ======================================== */

/* Feature badges section styling removed - now merged with Continue Watching */

.feature-badge {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
}

.feature-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #E74C3C;
}

.feature-badge .icon {
    font-size: 2.8rem;
    flex-shrink: 0;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-badge h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-badge p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .feature-badge {
        padding: 20px 15px;
        gap: 12px;
    }
    
    .feature-badge .icon {
        font-size: 2.2rem;
    }
    
    .feature-badge h6 {
        font-size: 1rem;
    }
    
    .feature-badge p {
        font-size: 0.8rem;
    }
}

/* Home Page Styles that were inline */

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.shadow-hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.learning-outcomes small {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Product/Story Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Image Cards (Rhymes) */
.image-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Section Headings */
.section_heading {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section_heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E74C3C, #3498DB, #28a745);
    border-radius: 2px;
}

/* Carousel improvements */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Lead text styling */
.lead {
    color: #555;
    font-weight: 400;
    line-height: 1.7;
}

/* ========================================
   Feature Badge Compact - Square Design
   ======================================== */

.feature-badge-compact {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 160px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-badge-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-badge-compact:hover::before {
    opacity: 1;
}

.feature-badge-compact:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
}

.feature-badge-compact .icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.feature-badge-compact:hover .icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-badge-compact h6 {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 1.1rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.feature-badge-compact p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Tablet - Slightly smaller */
@media (max-width: 991px) {
    .feature-badge-compact {
        height: 150px;
        padding: 22px 18px;
    }

    .feature-badge-compact .icon {
        font-size: 2.5rem;
    }

    .feature-badge-compact h6 {
        font-size: 1rem;
    }

    .feature-badge-compact p {
        font-size: 0.75rem;
    }
}

/* Mobile - More compact */
@media (max-width: 767px) {
    .feature-badge-compact {
        height: 140px;
        padding: 20px 15px;
    }

    .feature-badge-compact .icon {
        font-size: 2.3rem;
        margin-bottom: 10px;
    }

    .feature-badge-compact h6 {
        font-size: 0.95rem;
    }

    .feature-badge-compact p {
        font-size: 0.7rem;
    }

}

/* Small mobile - Even more compact */
@media (max-width: 575px) {
    .feature-badge-compact {
        height: 130px;
        padding: 18px 12px;
        border-radius: 16px;
    }

    .feature-badge-compact .icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .feature-badge-compact h6 {
        font-size: 0.9rem;
    }

    .feature-badge-compact p {
        font-size: 0.68rem;
    }

}

/* ========================================
   Merged Section - Vertically Stacked (One UP, One DOWN)
   ======================================== */

/* Main section container - no padding, no margin */
.merged-hero-section {
    padding: 0 !important;
    margin: 0 !important;
    display: block;
}

/* Part 1: Continue Watching - TOP (Light Background) - Only shows when logged in */
.continue-watching-part {
    background: linear-gradient(to bottom, #e8f4f8 0%, #f0e8f8 100%);
    padding: 60px 0;
    margin: 0;
    width: 100%;
    display: block;
}

/* Part 1B: Promotional Banner - TOP (For non-logged-in users) */
.promo-banner-part {
    background: linear-gradient(135deg, #E8F4F8 0%, #D4E8F0 50%, #E8D4F0 100%);
    padding: 60px 0;
    margin: 0;
    width: 100%;
    display: block;
}

.promo-banner-content {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg,
        rgba(224, 247, 250, 0.9) 0%,
        rgba(232, 232, 245, 0.9) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    min-height: 250px;
}

/* Decorative Background Elements (Bokeh Circles) */
.promo-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.bokeh-1 {
    width: 200px;
    height: 200px;
    background: #A8E6CF;
    top: -50px;
    left: -50px;
}

.bokeh-2 {
    width: 150px;
    height: 150px;
    background: #87CEEB;
    top: 20px;
    left: 30%;
}

.bokeh-3 {
    width: 180px;
    height: 180px;
    background: #DDA0DD;
    bottom: -60px;
    right: -60px;
}

.bokeh-4 {
    width: 120px;
    height: 120px;
    background: #FFB6C1;
    top: 50%;
    right: 20%;
}

.bokeh-5 {
    width: 160px;
    height: 160px;
    background: #B0E0E6;
    bottom: 30px;
    left: 25%;
}

/* Character Section */
.promo-character-section {
    position: relative;
    z-index: 1;
}

.promo-character-wrapper {
    position: relative;
    display: inline-block;
}

.promo-character {
    position: relative;
    display: inline-block;
}

.character-emoji {
    font-size: 120px;
    display: block;
    line-height: 1;
    animation: bounce 2s ease-in-out infinite;
}

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

.character-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.decoration {
    position: absolute;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.confetti-1 {
    top: 0;
    right: -10px;
    animation-delay: 0s;
}

.confetti-2 {
    top: 20%;
    left: -20px;
    animation-delay: 0.5s;
}

.confetti-3 {
    top: 40%;
    right: 0;
    animation-delay: 1s;
}

.flower-1 {
    bottom: 30%;
    left: -10px;
    animation-delay: 1.5s;
}

.flower-2 {
    bottom: 10%;
    right: 10px;
    animation-delay: 2s;
}

.mail {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2.5s;
}

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

/* Content Section */
.promo-content-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.promo-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    color: #5a5a5a;
    margin-bottom: 25px;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Statistics Section */
.promo-stats-wrapper {
    margin-bottom: 30px;
}

.promo-stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.promo-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
}

.percent-sign {
    font-size: 0.8em;
}

.stat-blue {
    color: #4ECDC4;
}

.stat-green {
    color: #7ED957;
}

.stat-purple {
    color: #B565D8;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    line-height: 1.4;
}

/* Signup Form */
.promo-signup-form {
    max-width: 600px;
    margin: 0 auto;
}

.promo-form .input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.promo-email-input {
    border: none;
    border-radius: 0;
    padding: 16px 24px;
    font-size: 1.05rem;
    background: white;
    color: #333;
}

.promo-email-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
    background: white;
}

.promo-email-input::placeholder {
    color: #aaa;
}

.promo-join-btn {
    background: linear-gradient(135deg, #5FB89B 0%, #4A9B7F 100%);
    color: white;
    border: none;
    border-radius: 0;
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-join-btn:hover {
    background: linear-gradient(135deg, #4A9B7F 0%, #3D8169 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 184, 155, 0.4);
}

/* Mobile Responsive for Promo Banner */
@media (max-width: 991px) {
    .promo-banner-content {
        padding: 30px 20px;
        min-height: auto;
    }

    .character-emoji {
        font-size: 80px;
    }

    .decoration {
        font-size: 18px;
    }

    .promo-tagline {
        text-align: center;
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .promo-stats {
        gap: 20px;
        justify-content: center;
    }

    .promo-stat {
        min-width: 120px;
    }
}

@media (max-width: 767px) {
    .promo-banner-part {
        padding: 40px 0;
    }

    .promo-banner-content {
        padding: 25px 15px;
    }

    .character-emoji {
        font-size: 60px;
    }

    .decoration {
        font-size: 16px;
    }

    .promo-tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }

    .promo-stats {
        gap: 15px;
    }

    .promo-stat {
        min-width: 100px;
    }

    .promo-email-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .promo-join-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .promo-form .input-group {
        flex-direction: column;
    }

    .promo-email-input {
        border-radius: 12px 12px 0 0;
    }

    .promo-join-btn {
        border-radius: 0 0 12px 12px;
        width: 100%;
    }
}

/* Part 2: Why Parents Love - BOTTOM (Gradient Background) - ALWAYS shows */
.why-parents-part {
    background: linear-gradient(135deg, #89CFF0 0%, #B19CD9 100%);
    padding: 60px 0 !important;
    margin: 0 !important;
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.why-parents-part::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.why-parents-part .container {
    position: relative;
    z-index: 1;
}

/* Pink Play Icon */
.designer-play-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e91e63, #d81b60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* Pink Heading */
.designer-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #e91e63;
}

/* Arrow Button */
.designer-arrow-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.designer-arrow-btn:hover {
    background: #f5f5f5;
    border-color: #e91e63;
    color: #e91e63;
}

/* Video Card */
.designer-video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.designer-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Video Thumbnail */
.designer-video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

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

/* Duration Badge */
.designer-duration-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Play Button Overlay */
.designer-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e91e63;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.designer-video-card:hover .designer-play-button {
    opacity: 1;
}

/* Progress Bar (on thumbnail) */
.designer-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.designer-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63, #f06292);
    transition: width 0.3s ease;
}

/* Video Info */
.designer-video-info {
    padding: 16px;
}

.designer-video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Small Progress Bar */
.designer-progress-bar-small {
    height: 4px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.designer-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63, #f06292);
}

.designer-time {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

/* Gradient Background for Why Parents Love */
.designer-gradient-bg {
    background: linear-gradient(135deg, #89CFF0 0%, #B19CD9 100%);
    position: relative;
    overflow: hidden;
}

.designer-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.designer-gradient-bg .container {
    position: relative;
    z-index: 1;
}

/* White Heading */
.designer-white-heading {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.designer-white-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin: 0;
}

/* Feature Card */
.designer-feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.designer-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.designer-feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
}

.designer-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.designer-feature-text {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Explore Button - Base Style */
.designer-explore-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.designer-explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    color: #333;
}

/* Explore Button - Rhymes Variant (Red/Pink) */
.designer-explore-btn-rhymes {
    display: inline-block;
    background: linear-gradient(135deg, #E74C3C, #FF6B6B);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
}

.designer-explore-btn-rhymes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    color: #fff;
}

/* Explore Button - Stories Variant (Blue/Purple) */
.designer-explore-btn-stories {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.designer-explore-btn-stories:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: #fff;
}

/* Explore Button - Kitchen Variant (Green/Teal) */
.designer-explore-btn-kitchen {
    display: inline-block;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
    transition: all 0.3s ease;
}

.designer-explore-btn-kitchen:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.5);
    color: #fff;
}

/* Remove extra space between Why Parents Love and Features section */
#features {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .continue-watching-part {
        padding: 40px 0;
    }

    .why-parents-part {
        padding: 40px 0 !important;
    }

    #features {
        padding-top: 30px !important;
    }

    .designer-heading {
        font-size: 1.25rem;
    }

    .designer-play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .designer-arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .designer-white-heading {
        font-size: 1.75rem;
    }

    .designer-white-subtitle {
        font-size: 1rem;
    }

    .designer-feature-icon {
        font-size: 3rem;
    }

    .designer-explore-btn,
    .designer-explore-btn-rhymes,
    .designer-explore-btn-stories,
    .designer-explore-btn-kitchen {
        padding: 14px 40px;
        font-size: 1rem;
    }
}

/* ========================================
   GLOBAL COLOR PALETTE APPLICATION
   ======================================== */

/* PRIMARY BUTTONS */
.btn-primary {
    background-color: var(--kz-purple) !important;
    border-color: var(--kz-purple) !important;
    color: var(--kz-white) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--kz-red) !important;
    border-color: var(--kz-red) !important;
    color: var(--kz-white) !important;
}

/* SUCCESS BUTTONS */
.btn-success {
    background-color: var(--kz-pink) !important;
    border-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--kz-purple) !important;
    border-color: var(--kz-purple) !important;
    color: var(--kz-white) !important;
}

/* INFO BUTTONS */
.btn-info {
    background-color: var(--kz-light-blue) !important;
    border-color: var(--kz-light-blue) !important;
    color: var(--kz-purple) !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: var(--kz-pink) !important;
    border-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

/* OUTLINE BUTTONS */
.btn-outline-primary {
    border-color: var(--kz-purple) !important;
    color: var(--kz-purple) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--kz-purple) !important;
    border-color: var(--kz-purple) !important;
    color: var(--kz-white) !important;
}

.btn-outline-info {
    border-color: var(--kz-pink) !important;
    color: var(--kz-pink) !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    background-color: var(--kz-pink) !important;
    border-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

/* BADGES */
.badge.bg-primary {
    background-color: var(--kz-purple) !important;
}

.badge.bg-success {
    background-color: var(--kz-pink) !important;
}

.badge.bg-info {
    background-color: var(--kz-light-blue) !important;
    color: var(--kz-purple) !important;
}

/* TEXT COLORS */
.text-primary {
    color: var(--kz-purple) !important;
}

.text-success {
    color: var(--kz-pink) !important;
}

.text-info {
    color: var(--kz-light-blue) !important;
}

/* LINKS */
a {
    color: var(--kz-purple);
}

a:hover {
    color: var(--kz-red);
}

.navbar-custom .nav-link {
    color: #333 !important;
    font-weight: 900 !important;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #000 !important;
}

.navbar-custom .nav-link.active {
    color: #000 !important;
}

/* CARDS */
.card {
    border-color: var(--kz-light-blue);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--kz-pink);
    box-shadow: 0 10px 20px rgba(152, 44, 149, 0.2);
}

.card-header {
    background-color: var(--kz-cream);
    border-bottom-color: var(--kz-pink);
}

/* FORMS */
.form-control:focus {
    border-color: var(--kz-pink);
    box-shadow: 0 0 0 0.2rem rgba(241, 94, 126, 0.25);
}

.form-label {
    color: var(--kz-purple);
    font-weight: 600;
}

/* PROGRESS BARS */
.progress {
    background-color: var(--kz-cream);
}

.progress-bar {
    background-color: var(--kz-pink);
}

.progress-bar.bg-success {
    background-color: var(--kz-pink) !important;
}

.progress-bar.bg-primary {
    background-color: var(--kz-purple) !important;
}

/* ALERTS */
.alert-success {
    background-color: var(--kz-cream);
    border-color: var(--kz-pink);
    color: var(--kz-purple);
}

.alert-info {
    background-color: var(--kz-light-blue);
    border-color: var(--kz-purple);
    color: var(--kz-purple);
}

.alert-primary {
    background-color: var(--kz-cream);
    border-color: var(--kz-purple);
    color: var(--kz-purple);
}

/* PAGINATION */
.pagination .page-link {
    color: var(--kz-purple);
    border-color: var(--kz-light-blue);
}

.pagination .page-link:hover {
    background-color: var(--kz-cream);
    color: var(--kz-red);
    border-color: var(--kz-pink);
}

.pagination .page-item.active .page-link {
    background-color: var(--kz-purple);
    border-color: var(--kz-purple);
}

/* CAROUSEL CONTROLS */
.carousel-control-prev,
.carousel-control-next {
    background-color: var(--kz-pink);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--kz-purple);
    opacity: 1;
}

/* CATEGORY & STORY CARDS */
.category-card,
.story-card,
.rhyme-card,
.kitchen-card {
    border: 2px solid var(--kz-light-blue);
    transition: all 0.3s ease;
}

.category-card:hover,
.story-card:hover,
.rhyme-card:hover,
.kitchen-card:hover {
    border-color: var(--kz-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(152, 44, 149, 0.2);
}

.category-card .card-title,
.story-card .card-title,
.rhyme-card .card-title,
.kitchen-card .card-title {
    color: var(--kz-purple);
}

/* FILTER BUTTONS */
.filter-btn,
.filter-age-btn,
.filter-cook-btn,
.circle-btn {
    background-color: var(--kz-white);
    border: 2px solid var(--kz-purple);
    color: var(--kz-purple);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-age-btn:hover,
.filter-cook-btn:hover,
.circle-btn:hover,
.filter-btn.active,
.filter-age-btn.active,
.filter-cook-btn.active {
    background-color: var(--kz-pink);
    border-color: var(--kz-pink);
    color: var(--kz-white);
}

/* NAVBAR CUSTOM - Glass Effect Preserved */
.navbar-custom {
    /* Removed solid background - using glass effect from above */
    border-bottom: 3px solid var(--kz-pink);
}

.navbar-brand:hover {
    opacity: 0.8;
}

/* HERO SECTIONS */
.stories-hero,
.rhymes-hero,
.kitchen-hero {
    background: linear-gradient(135deg, var(--kz-purple) 0%, var(--kz-red) 100%);
}

/* BACKGROUND UTILITIES */
.bg-cream {
    background-color: var(--kz-cream) !important;
}

.bg-light-blue {
    background-color: var(--kz-light-blue) !important;
}

.bg-purple {
    background-color: var(--kz-purple) !important;
    color: var(--kz-white) !important;
}

.bg-pink {
    background-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

/* DROPDOWN MENUS */
.dropdown-menu {
    border-color: var(--kz-light-blue);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: var(--kz-cream);
    color: var(--kz-purple);
}

/* MODAL */
.modal-header {
    background-color: var(--kz-cream);
    border-bottom-color: var(--kz-pink);
}

.modal-footer {
    border-top-color: var(--kz-pink);
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(241, 94, 126, 0.25);
}

/* TABLES */
.table thead {
    background-color: var(--kz-cream);
    color: var(--kz-purple);
}

.table-hover tbody tr:hover {
    background-color: var(--kz-cream);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(186, 235, 249, 0.1);
}

/* PLAY OVERLAY */
.play-overlay {
    transition: all 0.3s ease;
}

.play-overlay i {
    color: var(--kz-pink);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.play-overlay:hover i {
    color: var(--kz-purple);
    transform: scale(1.1);
}

/* SEARCH */
.search-modal-content .modal-header {
    background: var(--kz-purple);
    color: var(--kz-white);
}

/* DASHBOARD STATS */
.stat-card {
    border-left: 4px solid var(--kz-pink);
}

.stat-card:hover {
    border-left-color: var(--kz-purple);
}

/* LOADING SPINNER */
.spinner-border {
    color: var(--kz-pink);
}

/* SCROLLBAR (Webkit browsers) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--kz-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--kz-pink);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--kz-purple);
}

/* ========================================
   RHYMES DETAIL PAGE VIDEO FIX
   ======================================== */

/* YouTube Player Container - FIX for half-screen issue */
#youtube-player {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

/* YouTube iframe created by API */
#youtube-player iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Ensure responsive-video has correct aspect ratio */
.video-wrapper .responsive-video {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    height: 0 !important;
    overflow: hidden !important;
}

/* Regular iframes (non-logged in users) */
.video-wrapper .responsive-video iframe:not(#youtube-player iframe) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ========================================
   DETAIL PAGES COLOR UPDATES
   ======================================== */

/* Breadcrumbs */
.breadcrumb-item a {
    color: var(--kz-purple) !important;
}

.breadcrumb-item a:hover {
    color: var(--kz-red) !important;
}

.breadcrumb-item.active {
    color: var(--kz-pink) !important;
}

/* Video Title */
.video-title {
    color: var(--kz-purple) !important;
}

/* Detail Page Cards */
.detail-card .card-header {
    background-color: var(--kz-cream) !important;
    border-bottom: 2px solid var(--kz-pink) !important;
}

.detail-card .card-header.bg-danger {
    background: linear-gradient(135deg, var(--kz-pink), var(--kz-red)) !important;
    color: var(--kz-white) !important;
}

/* Related Items */
.related-item {
    background: var(--kz-cream) !important;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.related-item:hover {
    background: var(--kz-light-blue) !important;
    border-color: var(--kz-pink) !important;
}

.related-title {
    color: var(--kz-purple) !important;
}

/* Share Buttons */
.share-btn {
    border-color: var(--kz-purple) !important;
    color: var(--kz-purple) !important;
}

.share-btn:hover {
    background-color: var(--kz-pink) !important;
    border-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

/* Back Button */
.btn-outline-primary {
    border-color: var(--kz-purple) !important;
    color: var(--kz-purple) !important;
}

.btn-outline-primary:hover {
    background-color: var(--kz-purple) !important;
    color: var(--kz-white) !important;
}

/* Age Badges on Detail Pages */
.badge.bg-info {
    background-color: var(--kz-light-blue) !important;
    color: var(--kz-purple) !important;
}

.badge.bg-warning {
    background-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

/* Accordion Buttons */
.accordion-button {
    background-color: var(--kz-cream) !important;
    color: var(--kz-purple) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--kz-pink) !important;
    color: var(--kz-white) !important;
}

.accordion-button:focus {
    border-color: var(--kz-pink) !important;
    box-shadow: 0 0 0 0.25rem rgba(241, 94, 126, 0.25) !important;
}
