/* Yubo Technical Center - dedicated mobile app UI */
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .dashboard-shell {
    min-width: 0;
    overflow-x: hidden;
    background: #f3f7fb;
  }

  .dashboard-shell.dash-menu-open {
    overflow: hidden;
  }

  .dash-sidebar {
    width: min(84vw, 310px);
    max-width: 310px;
    transform: translateX(-105%);
    transition: transform .28s ease;
    z-index: 2500;
    box-shadow: 22px 0 54px rgba(15,23,42,.22);
    overflow-y: auto;
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .dash-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    background: rgba(15,23,42,.48);
    backdrop-filter: blur(3px);
  }

  .dash-backdrop.show {
    display: block;
  }

  .dash-main {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .dash-topbar {
    min-height: 66px;
    gap: .75rem;
    padding: .75rem .9rem;
    position: sticky;
    top: 0;
    z-index: 900;
  }

  .dash-topbar > strong,
  .dash-topbar > div {
    min-width: 0;
  }

  .dash-topbar strong {
    display: block;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dash-topbar .btn {
    flex: 0 0 auto;
  }

  .dash-menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
  }

  .dash-content {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    padding-bottom: 92px;
    overflow-x: hidden;
  }

  .admin-dashboard-shell .dash-content {
    padding-bottom: 1.25rem;
  }

  .dash-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .dash-stat-card {
    padding: 1rem;
    align-items: flex-start;
  }

  .dash-stat-icon {
    width: 46px;
    height: 46px;
  }

  .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive table {
    min-width: 410px;
    white-space: nowrap;
  }

  .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: .5rem auto;
  }

  .modal-body {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }

  .settings-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .45rem;
  }

  .settings-tabs .nav-item {
    flex: 0 0 auto;
  }

  .settings-tabs .nav-link {
    white-space: nowrap;
  }

  .admin-toast-container {
    top: .5rem !important;
    left: .5rem;
    right: .5rem !important;
    padding: 0 !important;
  }

  .admin-flash-toast {
    width: 100%;
    min-width: 0;
  }

  .hero-stats { gap: 1.5rem; }
    .navbar {
    margin-top: 8px;
  }

  .navbar .container {
    border-radius: 14px;
  }

  .navbar-collapse {
    padding-top: .8rem;
  }

  .hero-slider,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide {
    padding-top: 125px;
  }
  .mobile-dashboard-tabs {
    position: sticky;
    top: 73px;
    z-index: 90;
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: .7rem 1rem;
    background: rgba(243,247,251,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .mobile-dashboard-tabs a {
    flex: 0 0 auto;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: .84rem;
    font-weight: 700;
  }

  .mobile-dashboard-tabs a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }

  .student-bottom-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2100;
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15,23,42,.16);
    backdrop-filter: blur(16px);
  }

  .student-bottom-nav a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .18rem;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 500;
    padding: 10px 17px;
  }

  .admin-dashboard-shell .mobile-dashboard-tabs,
  .admin-dashboard-shell .student-bottom-nav {
    display: none !important;
  }

  .student-bottom-nav a i {
    font-size: 1.05rem;
  }

  .student-bottom-nav a.active {
    color: var(--primary);
  }
}
@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
  .about-float-badge { display: none; }
  .auth-card { padding: 1.75rem; }
}
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
      padding-bottom: 80px;
  }

  .dashboard-shell {
    padding-bottom: 0;
  }

  .dashboard-shell .row {
    margin-left: 0;
    margin-right: 0;
  }

  .dashboard-shell .row > * {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  .admin-dashboard-shell .dash-topbar > a {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .student-dashboard-shell .dash-topbar > a {
    max-width: 86px;
  }

  .mobile-app-home {
    display: block !important;
    padding-top: 60px;
  }

  .app-home-card {
    position: relative;
  }
  .footer {
    padding: 0;
}
  .footer-bottom {
      padding: 0.5rem 0;
  }
  .footer .footer-top{
    display: none;
  }
  body.page-courses,
  body.page-ebook{
      padding-bottom: 0;
  }
 body.page-login #mainNav,
 body.page-course #mainNav,
 body.page-courses #mainNav,
body.page-register #mainNav,
body.course-overview-screen #mainNav,
body.page-ebook #mainNav {
    display: none !important;
}
 body.page-login,
body.page-register {
    padding: 0;
}
  .app-home-card::before {
    content: "";
    position: absolute;
    right: -56px;
    top: 115px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(52, 143, 240, .08);
  }

  .app-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
  }

  .app-topline h1 {
    margin: 0;
    color: #2d2f36;
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .app-topline p {
    margin: .25rem 0 0;
    color: #8b909d;
    font-size: .96rem;
    font-weight: 700;
  }

  .app-alert,
  .app-filter {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff;
    color: #2d2f36;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
  }

  .app-alert {
    position: relative;
  }

  .app-icon-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff;
    color: #2d2f36;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    position: relative;
  }

  .app-icon-btn::after {
    content: "";
    position: absolute;
    top: 11px;
    right: 12px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef4444;
  }

  .app-alert::after {
    content: "";
    position: absolute;
    top: 11px;
    right: 12px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef4444;
  }

  .app-search-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .app-search {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 18px;
    border-radius: 15px;
    background: #fff;
    color: #a0a6b2;
    font-size: .96rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .3);
  }

  .app-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2d2f36;
    font-weight: 800;
  }

  .app-search button {
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin-right: -18px;
    border: 0;
    border-radius: 15px;
    background: #398ff0;
    color: #fff;
  }

  .app-search button i {
    color: #fff;
  }

  .app-search i {
    color: #b0b6c2;
    font-size: 1.08rem;
  }

  .app-search button i {
    color: #fff;
  }

  .app-filter {
    background: #398ff0;
    color: #fff;
  }

  .app-promo {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
    min-height: 146px;
    padding: 22px 18px;
    margin-bottom: 28px;
    border-radius: 15px;
    overflow: hidden;
    background:
      radial-gradient(circle at 90% 18%, rgba(255,255,255,.55) 0 18%, transparent 19%),
      linear-gradient(135deg, #b6ddff 0%, #9fd1ff 100%);
  }

  .app-promo span {
    display: block;
    color: #58718c;
    font-size: .98rem;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .app-promo strong {
    display: block;
    color: #253451;
    font-family: var(--font-body);
    font-size: 1.85rem;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .app-promo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    background: #398ff0;
    color: #fff;
    font-weight: 900;
  }

  .app-promo-art {
    align-self: end;
    justify-self: center;
    width: 112px;
    height: 94px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.38)),
      linear-gradient(135deg, #67d7ff, #3aa7f4);
    color: #398ff0;
    font-size: 2rem;
    box-shadow: 0 18px 34px rgba(55, 125, 200, .18);
  }

  .app-discover {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 10px;
    min-height: 146px;
    padding: 22px 18px;
    margin: 28px 0;
    border-radius: 15px;
    overflow: hidden;
    background:
      radial-gradient(circle at 90% 18%, rgba(255,255,255,.55) 0 18%, transparent 19%),
      linear-gradient(135deg, #b6ddff 0%, #9fd1ff 100%);
    background-size: cover;
    background-position: center;
  }

  .app-hero-slider {
    position: relative;
    z-index: 1;
    margin: 28px 0;
  }

  .app-hero-slider .carousel-inner {
    border-radius: 15px;
    overflow: hidden;
  }

  .app-hero-slider .app-discover {
    grid-template-columns: 1fr;
    margin: 0;
    color: #fff;
  }

  .app-hero-slider .yc-mobile-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 24, 46, .78), rgba(9, 24, 46, .3));
  }

  .app-hero-slider .app-discover strong,
  .app-hero-slider .app-discover p,
  .app-hero-slider .app-discover a {
    position: relative;
    z-index: 1;
  }

  .app-hero-slider .app-discover strong {
    color: #fff;
    font-size: 1.55rem;
  }

  .app-hero-slider .app-discover p {
    color: rgba(255,255,255,.78);
    font-size: .82rem;
    font-weight: 700;
    margin: -6px 0 12px;
  }

  .app-hero-dots {
    position: static;
    gap: 6px;
    margin: 10px 0 0;
  }

  .app-hero-dots button {
    width: 22px !important;
    height: 4px !important;
    border: 0 !important;
    border-radius: 999px;
    background: rgba(57,143,240,.32) !important;
  }

  .app-hero-dots button.active {
    background: #398ff0 !important;
  }

  .app-discover span {
    display: block;
    color: #58718c;
    font-size: .98rem;
    font-weight: 800;
    margin-bottom: 4px;
  }

  .app-discover strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .app-discover a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 13px;
    background: #398ff0;
    color: #fff;
    font-weight: 500;
  }

  .app-discover img {
    align-self: end;
    justify-self: center;
    width: 112px;
    height: 94px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(55, 125, 200, .18);
  }

  .app-section-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .app-section-heading h2 {
    margin: 0;
    color: #2d2f36;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 900;
  }

  .app-section-heading a {
    color: #398ff0;
    font-size: .86rem;
    font-weight: 900;
  }

  .app-section-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 16px;
  }

  .app-section-row h2 {
    margin: 0;
    color: #2d2f36;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 900;
  }

  .app-section-row a {
    color: #398ff0;
    font-size: .86rem;
    font-weight: 900;
  }

  .app-course-scroll {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin-right: -18px;
    padding: 0 18px 10px 0;
    scrollbar-width: none;
  }

  .app-course-scroll::-webkit-scrollbar {
    display: none;
  }

  .app-course-card {
    flex: 0 0 208px;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    color: #2d2f36;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  }

  .app-course-card {
    position: relative;
  }

  .app-course-card img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 13px;
    margin-bottom: 13px;
    background: #9fd1ff;
  }

  .app-course-card button {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #398ff0;
  }

  .app-course-image {
    position: relative;
    height: 132px;
    display: grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 13px;
    background:
      radial-gradient(circle at 86% 22%, rgba(255,255,255,.72) 0 13%, transparent 14%),
      linear-gradient(135deg, #77dcff 0%, #4eb3f6 100%);
    color: #fff;
    font-size: 2.35rem;
    overflow: hidden;
  }

  .app-course-image::before,
  .app-course-image::after {
    content: "";
    position: absolute;
    border-radius: 16px;
    background: rgba(255,255,255,.4);
  }

  .app-course-image::before {
    width: 76px;
    height: 44px;
    left: 24px;
    top: 28px;
  }

  .app-course-image::after {
    width: 118px;
    height: 12px;
    left: 38px;
    bottom: 30px;
  }

  .app-course-image i {
    position: relative;
    z-index: 1;
  }

  .app-course-card h3 {
    min-height: 43px;
    margin: 0 0 12px;
    color: #2d2f36;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
  }

  .app-course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9fa5b0;
    font-size: .86rem;
    font-weight: 800;
  }

  .app-course-meta span:first-child {
    color: #398ff0;
    background: #eaf4ff;
    border-radius: 8px;
    padding: .26rem .48rem;
  }

  .app-course-meta .fa-star {
    color: #ffc107;
  }

  .app-course-card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9fa5b0;
    font-size: .86rem;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .app-course-card > div span:first-child {
    color: #398ff0;
    background: #eaf4ff;
    border-radius: 8px;
    padding: .26rem .48rem;
  }

  .app-course-card .fa-star {
    color: #ffc107;
  }

  .app-course-card > a {
    display: block;
    text-align: center;
    padding: .55rem;
    border-radius: 12px;
    background: #edf6ff;
    color: #398ff0;
    font-weight: 900;
  }

  .app-ebook-list {
    display: grid;
    gap: 12px;
  }

  .app-ebook-row {
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    color: #2d2f36;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  }

  .app-ebook-row img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
  }

  .app-ebook-row span {
    display: grid;
    gap: 4px;
  }

  .app-ebook-row small {
    color: #398ff0;
    font-weight: 900;
  }

  .yc-home-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .yc-premium-ebook-card {
    border-radius: 22px;
  }

  .ebook-search-wrap {
    min-height: 52px;
    border-radius: 18px;
  }

  .yc-map-card,
  .yc-map-card iframe {
    min-height: 260px;
  }

  .app-bottom-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 72px;
    padding: 8px 16px 12px;
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -14px 36px rgba(15, 23, 42, .07);
  }

  .app-bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    color: #c4c7ce;
    font-size: .68rem;
    font-weight: 800;
  }

  .app-bottom-nav i {
    font-size: 1.25rem;
  }

  .app-bottom-nav a.active {
    color: #398ff0;
  }

  .student-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }


 #mainNav {
    /* display: block; */
    margin: 0;
    padding: 10px 12px;
    background: #f6f8ff !important;
    position: fixed;
    z-index: 99;
    left: 0;
    right: 0;
  }

 #mainNav  {
    min-height: 58px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
  }


 .navbar-brand::before {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

 .navbar-collapse {
    position: fixed;
    width: min(82vw, 320px);
    padding: 24px 20px 24px;
    background: #fff;
    transform: translateX(-102%);
    transition: transform .28s ease;
    box-shadow: 20px 0 50px rgba(15, 23, 42, .18);
    z-index: 2000;
    top: 0;
    left: 0;
    bottom: 0;
  }

 .navbar-collapse.show {
    transform: translateX(0);
  }

 .navbar-nav {
    align-items: stretch !important;
  }

 .nav-link,
 .navbar .btn {
    width: 100%;
    justify-content: flex-start;
    margin: .25rem 0;
    padding: .8rem 1rem !important;
    border-radius: 14px;
  }

  .yc-page-hero {
    display: none;
  }

  .yc-page-section,
  .course-overview-screen {
    padding: 92px 14px 28px !important;
    background: #f6f8ff;
    min-height: calc(100vh - 100px);
  }

  .yc-page-section > .container,
  .course-overview-screen > .container {
    padding-left: 0;
    padding-right: 0;
  }

  .yc-list-head {
    display: block !important;
    margin-bottom: 18px !important;
  }

  .yc-list-head .section-title,
  .yc-page-section .section-title {
    font-family: var(--font-body);
    font-size: 1.45rem;
    color: #2d2f36;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-top: 14px;
    scrollbar-width: none;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex: 0 0 auto;
    border: 0;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
  }

  .course-card,
  .yc-catalog-card,
  .ebook-card,
  .yc-ebook-card,
  .dash-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
  }

  .course-card .thumbnail {
    height: 190px;
    border-radius: 18px;
    margin: 12px 12px 0;
    width: calc(100% - 24px);
  }

  .course-card .card-body {
    padding: 1rem 1.1rem 1.2rem;
  }

  .ebook-card {
    flex-direction: row;
    gap: .9rem;
    padding: .9rem;
    align-items: flex-start;
  }

  .ebook-cover {
    width: 86px;
    min-width: 86px;
    height: 116px;
  }

  .course-overview-screen {
    min-height: 100vh;
    padding-top: 84px !important;
  }


  .course-overview-screen .container {
    max-width: 430px;
  }

  .mobile-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
        position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9;
    padding: 0.8rem 1rem;
  }

  .mobile-detail-top strong {
    color: #2d2f36;
    font-size: 1.04rem;
    font-weight: 900;
  }

  .mobile-round-btn {
    width: 46px;
    height: 46px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    color: #2d2f36;
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
  }

  .course-video-panel {
    border-radius: 13px;
    box-shadow: 0 16px 32px rgba(57,143,240,.14);
  }

  .course-video-panel img {
    aspect-ratio: 16 / 10;
  }

  .course-play {
    width: 62px;
    height: 62px;
  }

  .course-overview-screen .section-title {
    font-family: var(--font-body);
    font-size: 1.32rem;
    line-height: 1.28;
    margin-top: .4rem;
  }

  .course-detail-meta {
    gap: .55rem;
    font-size: .86rem;
    margin-bottom: .8rem;
  }

  .course-tabs {
    justify-content: center;
    margin: 1.1rem 0 .5rem;
  }

  .course-tabs .nav-link {
    font-size: 1rem;
    padding: .45rem .8rem !important;
  }

  .lesson-row {
    grid-template-columns: 50px 1fr 20px;
    padding: .8rem 0;
  }

  .lesson-play {
    width: 40px;
    height: 40px;
  }

  .course-enroll-widget .btn {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2100;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: center;
  }

  .mobile-action-bar span {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: #398ff0;
                font-weight: 500;
            font-size: 13px;
            line-height: 1;
            text-align: center;
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: #398ff0;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(57,143,240,.24);
  }

  .ebook-detail-screen .col-lg-4 img {
    max-height: 280px;
    object-fit: cover;
    border-radius: 20px !important;
    margin-bottom: 18px;
  }

  .yc-about-panel,
  .yc-contact-form-card {
    min-height: auto;
  }

  .yc-about-full-page {
    padding-bottom: 96px !important;
  }

  .yc-about-copy {
    font-size: .96rem;
    line-height: 1.75;
  }

  .yc-about-image-panel {
    border-radius: 24px;
  }

  .yc-about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .yc-about-info-card,
  .yc-about-stat,
  .yc-about-point {
    border-radius: 20px;
  }

  .yc-about-promise {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 24px;
  }

  .public-mobile-bottom-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2050;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 62px;
    padding: 7px 10px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 48px rgba(15,23,42,.16);
    backdrop-filter: blur(16px);
  }


  body.course-overview-screen .public-mobile-bottom-nav,
  body.page-course .public-mobile-bottom-nav,
  body.page-courses .public-mobile-bottom-nav,
  body.page-login .public-mobile-bottom-nav,
  body.page-register .public-mobile-bottom-nav,
  body.page-ebooks .public-mobile-bottom-nav,
  body.page-ebook .public-mobile-bottom-nav{
    display: none;
  }
  body.page-login .footer,
  body.page-register .footer{
    display: none !important;
  }
  .public-mobile-bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: #b8bdc7;
    font-size: .68rem;
    font-weight: 900;
  }

  .public-mobile-bottom-nav i {
    font-size: 1.18rem;
  }

  .public-mobile-bottom-nav a.active {
    color: #398ff0;
  }

  .floating-whatsapp-cta {
    right: 16px;
    bottom: 88px;
    width: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-whatsapp-cta span {
    display: none;
  }
  .yc-enquiry{
    display: block;
  }


  /* ===== Merged from style.css ===== */

body:has(.course-overview-screen) #mainNav,
  body:has(.page-login) #mainNav,
  body:has(.page-register) #mainNav{
    display: none !important;
  }
  .desktop-home {
    display: none;
  }

  .mobile-app-home {
    display: block;
  }

  .mobile-app-home + .desktop-home {
    display: none;
  }

  .mobile-app-home .app-home-card {
    min-height: calc(100vh - 44px);
    border-radius: 34px;
    background: #f9fbff;
    padding: 28px 18px 22px;
    box-shadow: 0 24px 70px rgba(45,62,130,.28);
    overflow: hidden;
  }

  .app-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .app-topline h1 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #2b2d33;
    margin: 0;
  }

  .app-topline p {
    color: #8b8f9a;
    font-weight: 700;
    margin: .2rem 0 0;
  }

  .app-alert,
  .app-filter {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2b2d33;
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
  }

  .app-search-row {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .app-search {
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 18px;
    color: #a3a8b3;
    background: #fff;
    font-weight: 700;
  }

  .app-filter {
    background: #348ff0;
    color: #fff;
  }

  .app-promo {
    display: grid;
    grid-template-columns: 1fr 118px;
    gap: 10px;
    min-height: 146px;
    padding: 22px 18px;
    border-radius: 14px;
    background: #acd8ff;
    overflow: hidden;
    margin-bottom: 28px;
  }

  .app-promo span {
    display: block;
    color: #51708f;
    font-weight: 800;
    margin-bottom: .15rem;
  }

  .app-promo strong {
    display: block;
    color: #273653;
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: .9rem;
  }

  .app-promo a {
    display: inline-flex;
    background: #348ff0;
    color: #fff;
    font-weight: 800;
    padding: .72rem 1rem;
    border-radius: 12px;
  }

  .app-promo-art {
    align-self: center;
    justify-self: center;
    width: 108px;
    height: 96px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
      linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.45)),
      linear-gradient(135deg, #73d7ff, #3da4f5);
    color: #348ff0;
    font-size: 2rem;
    box-shadow: 0 18px 36px rgba(33,88,150,.16);
  }

  .app-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .app-section-heading h2 {
    font-family: var(--font-body);
    font-size: 1.12rem;
    margin: 0;
    color: #2b2d33;
  }

  .app-section-heading a {
    color: #348ff0;
    font-weight: 800;
    font-size: .85rem;
  }

  .app-course-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-right: -18px;
    padding-right: 18px;
    scrollbar-width: none;
  }

  .app-course-scroll::-webkit-scrollbar {
    display: none;
  }

  .app-course-card {
    flex: 0 0 208px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
    color: #2b2d33;
  }

  .app-course-image {
    height: 132px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.3rem;
    background:
      radial-gradient(circle at 80% 20%, rgba(255,255,255,.58), transparent 22%),
      linear-gradient(135deg, #7bdfff, #4fb3f4);
    margin-bottom: 12px;
  }

  .app-course-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #2b2d33;
  }

  .app-course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9da2ad;
    font-size: .86rem;
    font-weight: 800;
  }

  .app-course-meta span:first-child {
    color: #348ff0;
    background: #eaf4ff;
    border-radius: 8px;
    padding: .25rem .45rem;
  }

  .app-course-meta .fa-star {
    color: #ffc107;
  }
    .hero-stats {
    width: 100%;
    gap: .9rem;
    justify-content: space-between;
  }

  .hero-stat-item .number {
    font-size: 1.45rem;
  }

  .ebook-card {
    flex-direction: row;
  }

  .ebook-cover {
            width: 66px;
            min-width: 66px;
            height: 66px;
  }
  body:has(.course-overview-screen) #mainNav,
  body:has(.page-login) #mainNav,
  body:has(.page-register) #mainNav{
    display: none !important;
  }
  .desktop-home {
    display: none;
  }

  .mobile-app-home {
    display: block;
  }

  .mobile-app-home + .desktop-home {
    display: none;
  }

  .mobile-app-home .app-home-card {
    min-height: calc(100vh - 44px);
    border-radius: 34px;
    background: #f9fbff;
    padding: 28px 18px 22px;
    box-shadow: 0 24px 70px rgba(45,62,130,.28);
    overflow: hidden;
  }

  .app-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .app-topline h1 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #2b2d33;
    margin: 0;
  }

  .app-topline p {
    color: #8b8f9a;
    font-weight: 700;
    margin: .2rem 0 0;
  }

  .app-alert,
  .app-filter {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2b2d33;
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
  }

  .app-search-row {
    display: grid;
    grid-template-columns: 1fr 46px;
    gap: 14px;
    margin-bottom: 28px;
  }

  .app-search {
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 18px;
    color: #a3a8b3;
    background: #fff;
    font-weight: 700;
  }

  .app-filter {
    background: #348ff0;
    color: #fff;
  }

  .app-promo {
    display: grid;
    grid-template-columns: 1fr 118px;
    gap: 10px;
    min-height: 146px;
    padding: 22px 18px;
    border-radius: 14px;
    background: #acd8ff;
    overflow: hidden;
    margin-bottom: 28px;
  }

  .app-promo span {
    display: block;
    color: #51708f;
    font-weight: 800;
    margin-bottom: .15rem;
  }

  .app-promo strong {
    display: block;
    color: #273653;
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: .9rem;
  }

  .app-promo a {
    display: inline-flex;
    background: #348ff0;
    color: #fff;
    font-weight: 800;
    padding: .72rem 1rem;
    border-radius: 12px;
  }

  .app-promo-art {
    align-self: center;
    justify-self: center;
    width: 108px;
    height: 96px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
      linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.45)),
      linear-gradient(135deg, #73d7ff, #3da4f5);
    color: #348ff0;
    font-size: 2rem;
    box-shadow: 0 18px 36px rgba(33,88,150,.16);
  }

  .app-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .app-section-heading h2 {
    font-family: var(--font-body);
    font-size: 1.12rem;
    margin: 0;
    color: #2b2d33;
  }

  .app-section-heading a {
    color: #348ff0;
    font-weight: 800;
    font-size: .85rem;
  }

  .app-course-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-right: -18px;
    padding-right: 18px;
    scrollbar-width: none;
  }

  .app-course-scroll::-webkit-scrollbar {
    display: none;
  }

  .app-course-card {
    flex: 0 0 208px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 26px rgba(15,23,42,.08);
    color: #2b2d33;
  }

  .app-course-image {
    height: 132px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.3rem;
    background:
      radial-gradient(circle at 80% 20%, rgba(255,255,255,.58), transparent 22%),
      linear-gradient(135deg, #7bdfff, #4fb3f4);
    margin-bottom: 12px;
  }

  .app-course-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 12px;
    color: #2b2d33;
  }

  .app-course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9da2ad;
    font-size: .86rem;
    font-weight: 800;
  }

  .app-course-meta span:first-child {
    color: #348ff0;
    background: #eaf4ff;
    border-radius: 8px;
    padding: .25rem .45rem;
  }

  .app-course-meta .fa-star {
    color: #ffc107;
  }
}

@media (max-width: 991px) {
  .dashboard-shell {
    background: #f3f3f9;
    font-size: 14px;
  }

  .dash-sidebar {
    background: #111126 !important;
    width: min(84vw, 300px);
    max-width: 300px;
  }

  .dash-logo {
    min-height: 66px;
    padding: 0 1.25rem;
  }

  .dash-nav {
    height: calc(100vh - 66px);
    padding: .65rem .75rem 1rem;
  }

  .dash-nav-item {
    min-height: 42px;
    border-left: 0;
    border-radius: 4px;
    padding: .62rem .75rem;
    margin: .08rem 0;
    color: #a6abc8;
    font-size: .86rem;
  }

  .dash-nav-item:hover,
  .dash-nav-item.active {
    color: #fff;
    background: rgba(255,255,255,.06);
  }

  .dash-main {
    margin-left: 0;
    background: #f3f3f9;
  }

  .dash-topbar {
    min-height: 64px;
    padding: 0 .9rem;
    background: #fff;
    border-bottom: 1px solid #e9ebf2;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  .dash-topbar strong {
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .dash-content,
  .admin-dashboard-shell .dash-content {
    padding: 5rem 0.1rem 1.25rem;
    padding-bottom: 1.25rem;
  }

  .student-dashboard-shell .dash-content {
    padding-bottom: 92px;
  }

  .dash-card,
  .dash-stat-card,
  .course-card,
  .yc-catalog-card,
  .ebook-card,
  .yc-ebook-card {
    border: 1px solid #e9ebf2;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(15,23,42,.06);
  }

  .dash-card {
    padding: 1rem;
  }

  .dash-stat-card {
    min-height: 112px;
    padding: 1rem;
    gap: .85rem;
    align-items: center;
  }

  .dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 4px;
  }

  .dashboard-shell .table-responsive table {
    min-width: 760px;
    white-space: normal;
  }

  .dashboard-shell .table > :not(caption) > * > * {
    padding: .78rem .65rem;
  }

  .dashboard-shell .form-control,
  .dashboard-shell .form-select,
  .dashboard-shell select.form-control,
  .dashboard-shell textarea.form-control {
    min-height: 38px;
    border-radius: 4px;
    font-size: .84rem;
  }

  .student-bottom-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 4px;
    border-color: #e9ebf2;
    box-shadow: 0 8px 24px rgba(15,23,42,.12);
  }

  .student-bottom-nav a {
    min-height: 58px;
  }

  .dashboard-shell .dt-container .dt-layout-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .85rem 0;
  }

  .dashboard-shell .dt-container .dt-layout-cell,
  .dashboard-shell .dt-container .dt-layout-start,
  .dashboard-shell .dt-container .dt-layout-end {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .dashboard-shell .dt-length,
  .dashboard-shell .dt-search {
    width: 100%;
    justify-content: space-between;
  }

  .dashboard-shell .dt-search input {
    width: min(100%, 260px);
    max-width: 100%;
  }

  .dashboard-shell .dt-paging {
    justify-content: flex-end;
    width: 100%;
    overflow-x: auto;
    padding-bottom: .2rem;
  }
}
