/* assets/css/style.css
   Cleaned, deduplicated, responsive, mobile-first CSS
*/

/* =========================
   Variables & Reset
   ========================= */
:root {
    --accent: #6b5cff;
    --muted: #6c757d;
    --green: #28a745;
    --dark: #111033;
    --bg: #ffffff;
    --tc-bg: #f6f6f9;
    --tc-card-bg: #ffffff;
    --card-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
    --footer-bg: #05182b;
    --footer-accent: #0b73d8;
    --footer-text: #cbd8e6;
    --footer-muted: #9fb3c9;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

body {
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #222;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility */
.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto
}

.text-center {
    text-align: center
}

.hidden {
    display: none !important
}

/* =========================
   Topbar
   ========================= */
.topbar {
    background: #0b0b29;
    color: #fff;
    font-size: 14px
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    gap: 8px
}

@media (max-width:576px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0
    }
}

/* =========================
   Header + Mobile Toggle (CSS-only)
   ========================= */
.main-header {
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
  will-change: transform;
  z-index: 2200;
}
.main-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 18px rgba(6,10,30,0.08);
}

.main-header.hidden {
  transform: translateY(-120%);
  pointer-events: none;   /* avoid accidental clicks when hidden */
}
.main-header.fixed:not(.hidden) {
  transform: translateY(0);
  pointer-events: auto;
}

/* Optional small compact header when fixed (reduce padding) */
.main-header.fixed .header-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 18px
}

.logo {
    flex: 0 0 auto
}

.logo a {
    text-decoration: none
}

.logo h2 {
    margin: 0;
    color: var(--accent);
    font-size: 22px
}

.logo h2 span {
    color: var(--dark)
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center
}

.nav a {
    color: #222;
    text-decoration: none;
    padding: 8px 6px;
    font-weight: 600;
    border-radius: 6px;
    transition: background .12s
}

.nav a:hover {
    background: rgba(107, 92, 255, 0.06)
}

.icons {
    display: flex;
    align-items: center;
    gap: 8px
}

.icons button {
    background: transparent;
    border: 0;
    font-size: 16px;
    cursor: pointer
}

.cart-count {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    margin-left: 6px
}

/* CSS-only mobile toggle: hide checkbox, show label on mobile */
.nav-toggle-input {
    display: none
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent
}

.nav-toggle-label .hamburger,
.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    position: relative;
    transition: transform .22s, opacity .18s;
}

.nav-toggle-label .hamburger::before,
.nav-toggle-label .hamburger::after {
    content: "";
    position: absolute;
    left: 0
}

.nav-toggle-label .hamburger::before {
    top: -7px
}

.nav-toggle-label .hamburger::after {
    top: 7px
}

/* Mobile overlay & panel default hidden */
.mobile-overlay {
    display: none
}

.mobile-nav {
    display: none
}

/* Panel inner - default off-screen to left */
.mobile-nav-inner {
    width: 92%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    padding: 18px;
    box-shadow: 0 12px 40px rgba(6, 10, 30, 0.25);
    transform: translateX(-8%);
    transition: transform .28s cubic-bezier(.2, .9, .2, 1);
    overflow-y: auto;
    position: relative;
    pointer-events: auto;
}

/* links inside mobile panel */
.mobile-nav-inner a {
    display: block;
    padding: 12px 8px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 700
}

/* close label inside panel */
.mobile-close {
    position: absolute;
    right: 12px;
    top: 10px;
    background: transparent;
    border: 0;
    font-size: 22px;
    cursor: pointer;
    color: #333
}

/* Checked state: show overlay & panel, animate hamburger -> X
   NOTE: DOM order must be: input#nav-toggle + label.nav-toggle-label + label.mobile-overlay + .mobile-nav
*/
.nav-toggle-input:checked~.mobile-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9997;
    transition: opacity .2s;
}

.nav-toggle-input:checked~.mobile-nav {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 9998;
}

.nav-toggle-input:checked~.mobile-nav .mobile-nav-inner {
    transform: translateX(0)
}

.nav-toggle-input:checked+.nav-toggle-label .hamburger {
    background: transparent
}

.nav-toggle-input:checked+.nav-toggle-label .hamburger::before {
    transform: translateY(7px) rotate(45deg)
}

.nav-toggle-input:checked+.nav-toggle-label .hamburger::after {
    transform: translateY(-7px) rotate(-45deg)
}

/* Show hamburger on smaller screens */
@media (max-width:991px) {
    .nav {
        display: none
    }

    .nav-toggle-label {
        display: inline-block
    }

    .icons {
        margin-left: auto
    }
}

/* Slight tweak for very small screens */
@media (max-width:576px) {
    .mobile-nav-inner {
        width: 92%;
        transform: translateX(-8%)
    }

    .nav-toggle-label {
        padding: 6px
    }
}

/* ---------------- Banner / Page Hero (Breadcrumb) ---------------- */
.page-hero {
  background: linear-gradient(90deg, rgba(245,242,254,1) 0%, rgba(252,250,255,1) 100%);
  padding: 48px 0;
  border-bottom: 1px solid rgba(16,24,40,0.03);
}
.page-hero .hero-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.page-hero .hero-left {
  max-width: 820px;
}
.page-hero h1 {
  font-size:34px;
  margin:6px 0;
  color: var(--dark);
  font-weight:800;
}
.page-hero .breadcrumb {
  color: var(--muted);
  font-size:14px;
}
.page-hero .breadcrumb a { color: var(--muted); text-decoration:none; }
.page-hero .breadcrumb a:hover { text-decoration:underline; color:var(--accent); }

/* subtle decorative paper icon on right like screenshot (optional) */
.page-hero .hero-right {
  min-width:140px;
  text-align:right;
  opacity:0.12;
  pointer-events:none;
}

/* responsive */
@media (max-width: 780px) {
  .page-hero .hero-inner{flex-direction:column;align-items:flex-start}
  .page-hero .hero-right{display:none}
  .page-hero h1{font-size:24px}
}

/* =========================
   Hero / Banner
   ========================= */
.hero {
    position: relative;
    background: url("../images/Banner.jpg") no-repeat center right;
    background-size: 120% auto;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--dark);
    padding: 28px 0;
}

.hero-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.hero-content {
    max-width: 560px
}

.hero-content h1 {
    font-size: 38px;
    line-height: 1.02;
    margin-bottom: 8px;
    color: var(--dark)
}

.hero-content .lead {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 12px
}

.badge {
    display: inline-block;
    background: #ffd24d;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700
}

.btn-secondary {
    background: #fff;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none
}

/* =========================
   Top Categories Section
   ========================= */
.top-categories-section {
    padding: 48px 0;
    background: var(--bg)
}

.tc-head {
    text-align: center;
    margin-bottom: 22px
}

.tc-pill {
    display: inline-block;
    background: rgba(107, 92, 255, 0.12);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px
}

.tc-title {
    font-size: 28px;
    color: var(--dark);
    margin: 8px 0 6px;
    font-weight: 700
}

.tc-sub {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 14px
}

.tc-pill-bg {
    margin-top: 20px;
    background: var(--tc-bg);
    border-radius: 120px;
    padding: 28px 18px;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.tc-items {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    padding: 0 12px;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.tc-item {
    width: 130px;
    min-width: 110px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.tc-icon {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    background: var(--tc-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
    border: 1px solid rgba(16, 24, 40, 0.05);
    overflow: hidden
}

.tc-icon img {
    max-width: 64%;
    max-height: 64%
}

.tc-name {
    font-size: 13px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.15
}

.tc-count {
    color: var(--muted);
    font-size: 13px;
    opacity: .95
}

/* =========================
   Products
   ========================= */
.products {
    padding: 40px 0
}

.products h2 {
    text-align: center;
    margin-bottom: 24px
}

.product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 14px;
    text-align: center
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px
}

.product-card h3 {
    margin: 12px 0 6px
}

.price {
    color: var(--green);
    font-weight: 700;
    margin-bottom: 10px
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center
}

.btn-addcart,
.btn-buy {
    padding: 10px 14px;
    border-radius: 6px;
    border: 0;
    cursor: pointer
}

.btn-buy {
    background: var(--accent);
    color: #fff
}

.btn-addcart {
    background: #f0f0f5
}

/* =========================
   About Section
   ========================= */
/* About Section */
.about-section{
  padding: 48px 0;
  background: #fff;
  color: #111;
}
.about-inner{
  display:flex;
  align-items:center;
  gap:36px;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* Left media */
.about-media{
  flex:0 0 48%;
  min-width:300px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

/* circular framed image */
.about-circle{
  width:340px;
  height:340px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:visible;
  background:transparent;
}
.about-circle img{
  width:340px;
  height:340px;
  object-fit:cover;
  border-radius:50%;
  display:block;
  box-shadow: 0 14px 40px rgba(16,24,40,0.06);
  border: 6px solid rgba(107,92,255,0.06); /* subtle ring */
}

/* play button centered */
.play-btn{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:72px;
  height:72px;
  border-radius:50%;
  border:0;
  background: linear-gradient(180deg,#fff 0%, #f2f2ff 100%);
  box-shadow:0 8px 20px rgba(16,24,40,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.play-icon{
  font-size:20px;
  color:#e94b3c;
  margin-left:4px;
  font-weight:700;
}


/* small students badge over image */
.about-badge{
  position:absolute;
  left: -10px;
  bottom: -18px;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  padding:8px 12px;
  border-radius:10px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.08);
  border: 1px solid rgba(16,24,40,0.03);
  z-index:4;
}
.about-badge img{
  width:56px;
  height:28px;
  object-fit:cover;
  border-radius:6px;
}
.about-badge-text{ font-size:13px; color:#111; }

/* Right content */
.about-content{
  flex:1 1 44%;
  min-width:300px;
  padding:12px 8px;
}
.about-small-pill{
  display:inline-block;
  background: rgba(107,92,255,0.12);
  color:#6b5cff;
  padding:6px 10px;
  border-radius:999px;
  font-weight:600;
  font-size:13px;
  margin-bottom:10px;
}
.about-title{
  font-size:32px;
  margin:8px 0 12px;
  color:#111033;
  line-height:1.05;
}
.about-lead{
  color:#6c757d;
  margin-bottom:10px;
  font-size:15px;
}
.about-text{
  color:#6c757d;
  font-size:14px;
  line-height:1.7;
  margin-bottom:18px;
}

/* round CTA */
.about-cta{
  display:inline-flex;
  width:52px;
  height:52px;
  border-radius:999px;
  background: linear-gradient(180deg,#6b5cff,#4e3ef7);
  color:#fff;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow: 0 10px 30px rgba(79,63,255,0.18);
  font-weight:700;
  transition: transform .15s ease;
}
.about-cta:hover{ transform: translateY(-4px); }
.cta-arrow{ font-size:18px; }

/* Responsive adjustments */
@media (max-width: 991px){
  .about-inner{ gap:20px; }
  .about-media{ flex-basis:100%; justify-content:center; margin-bottom:8px; }
  .about-content{ flex-basis:100%; padding-left:8px; padding-right:8px; }
  .about-circle{ width:300px; height:300px; }
  .about-circle img{ width:300px; height:300px; }
  .about-badge{ left: 12%; bottom: -14px; }
}

@media (max-width: 576px){
  .about-circle{ width:220px; height:220px; }
  .about-circle img{ width:220px; height:220px; }
  .play-btn{ width:56px; height:56px; }
  .about-badge{ left: 6%; bottom: -12px; padding:6px 8px; }
  .about-title{ font-size:22px; }
  .about-lead, .about-text{ font-size:14px; }
  .about-cta{ width:44px; height:44px; }
}

/* Learning / Promo / News Feed Section */
:root{
  --j-accent:#3f2bfb;
  --j-muted:#7b7f93;
  --j-bg:#2b2253;     /* header dark area if needed */
  --card-bg:#ffffff;
  --muted-2:#9aa0b2;
}

/* Section wrapper */
.journey-section{ background:#fff; padding:56px 0; color:#111; }
.text-center{ text-align:center; }

/* header */
.journey-head{ max-width:980px; margin:0 auto 28px; }
.journey-head .small-pill{
  display:inline-block;
  background: rgba(99,80,255,0.12);
  color:var(--j-accent);
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  margin-bottom:12px;
}
.journey-title{ font-size:26px; margin:8px 0 8px; font-weight:800; color:#12112b; }
.journey-sub{ max-width:900px; margin:0 auto 18px; color:var(--j-muted); font-size:13px; }

/* small icon row */
.journey-icons{ display:flex; gap:28px; justify-content:center; margin-top:8px; }
.journey-icons .ji{ width:52px; height:52px; display:flex; align-items:center; justify-content:center; opacity:0.95; }
.journey-icons img{ width:36px; height:36px; object-fit:contain; display:block; }

/* Promo row */
.promo-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  margin:28px 0 36px;
}
.promo-card{
  display:flex;
  background:var(--card-bg);
  border-radius:10px;
  box-shadow: 0 8px 30px rgba(16,24,40,0.06);
  overflow:hidden;
  align-items:center;
  min-height:120px;
}
.promo-media{
  flex:0 0 160px;
  background: linear-gradient(90deg, #f9f7ff 0%, #fff 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
}
.promo-media img{ width:120px; height:auto; border-radius:8px; object-fit:cover; }
.promo-body{ padding:18px 20px; flex:1; }
.promo-body h3{ margin:0 0 6px; font-size:18px; color:#14142a; }
.promo-body p{ margin:0 0 12px; color:var(--j-muted); font-size:14px; }
.btn-outline{
  display:inline-block;
  background: linear-gradient(180deg,var(--j-accent),#2f22d8);
  color:#fff;
  padding:8px 16px;
  border-radius:24px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
}

/* News head */
.news-head{ margin-top:8px; margin-bottom:18px; }
.news-head .small-pill.blue{ background: rgba(99,80,255,0.12); color:var(--j-accent); }
.news-title{ font-size:20px; margin:8px 0; font-weight:800; color:#111; }
.news-sub{ color:var(--j-muted); font-size:13px; margin-bottom:18px; }

/* News grid */
.news-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
  margin-top:8px;
}
.news-card{
  background:#fff;
  border-radius:10px;
  padding:12px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.04);
  border:1px solid rgba(10,12,20,0.03);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.news-thumb img{ width:100%; height:150px; object-fit:cover; border-radius:8px; display:block; }
.news-meta{ display:flex; justify-content:space-between; font-size:12px; color:var(--j-muted); }
.news-title-card{ font-size:14px; margin:0; color:#111; font-weight:700; line-height:1.25; }

/* Responsive */
@media (max-width: 1100px){
  .news-grid{ grid-template-columns: repeat(3,1fr); }
  .promo-row{ grid-template-columns: 1fr; }
  .promo-card{ align-items:stretch; flex-direction:row; }
}
@media (max-width: 780px){
  .news-grid{ grid-template-columns: repeat(2,1fr); }
  .promo-row{ grid-template-columns: 1fr; gap:14px; }
  .journey-head .journey-title{ font-size:22px; }
}
@media (max-width: 480px){
  .news-grid{ grid-template-columns: 1fr; }
  .journey-head .journey-title{ font-size:20px; }
  .promo-card{ flex-direction:column; }
  .promo-media{ flex:0 0 auto; padding:16px; }
  .promo-media img{ width:150px; }
  .promo-body{ padding:14px; }
  .journey-icons{ gap:14px; }
}


/* =========================
   Modal & Back-to-top
   ========================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999
}

.modal {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 92%;
    max-width: 480px;
    position: relative
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer
}

.modal form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #e6e6ea;
    border-radius: 8px
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    cursor: pointer
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 0;
    background: #1266f1;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto
}

/* =========================
   Footer
   ========================= */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 36px;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif
}

.footer-top {
    padding: 28px 0 18px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    align-items: start
}

.footer-about .footer-logo {
    font-size: 28px;
    color: #fff;
    margin-bottom: 12px
}

.footer-about p {
    color: var(--footer-muted);
    line-height: 1.85;
    font-size: 14px;
    max-width: 560px
}

.footer-links h4,
.footer-hours h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin: 10px 0
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 15px
}

.footer-links a:hover {
    color: var(--footer-accent)
}

.footer-bottom {
    padding: 16px 0 36px
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.03);
    margin: 8px 0 18px
}

.footer-copy {
    text-align: center;
    color: var(--footer-muted);
    font-size: 14px;
    padding-bottom: 6px
}

/* =========================
   Responsive: mobile-first breakpoints
   ========================= */

/* phones */
@media (max-width:576px) {

    /* header: hide desktop nav, show hamburger & overlay/panel behavior */
    .nav {
        display: none
    }

    .nav-toggle-label {
        display: inline-block
    }

    .nav-toggle-input:checked~.mobile-overlay {
        display: block;
        opacity: 1;
        pointer-events: auto;
        background: rgba(0, 0, 0, 0.35)
    }

    .nav-toggle-input:checked~.mobile-nav {
        display: block;
        opacity: 1;
        pointer-events: auto
    }

    .nav-toggle-input:checked~.mobile-nav .mobile-nav-inner {
        transform: translateX(0)
    }

    .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9997;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s
    }

    .mobile-nav {
        position: fixed;
        inset: 0;
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s
    }

    .mobile-nav-inner {
        width: 92%;
        max-width: 340px;
        height: 100%;
        background: #fff;
        padding: 18px;
        box-shadow: 0 12px 40px rgba(6, 10, 30, 0.25);
        transform: translateX(-8%);
        transition: transform .28s;
        overflow-y: auto;
        pointer-events: auto;
        position: relative
    }

    .mobile-close {
        position: absolute;
        right: 12px;
        top: 10px;
        background: transparent;
        border: 0;
        font-size: 22px;
        cursor: pointer;
        color: #333
    }

    .icons {
        margin-left: auto
    }

    /* hero */
    .hero {
        background-position: center;
        background-size: 140% auto;
        min-height: 300px;
        padding: 18px 0
    }

    .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .hero-content h1 {
        font-size: 26px
    }

    .hero-content .lead {
        font-size: 14px
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px
    }

    .btn-primary,
    .btn-secondary {
        width: 78%
    }

    /* categories */
    .tc-pill-bg {
        padding: 18px 10px;
        border-radius: 60px
    }

    .tc-items {
        gap: 16px
    }

    .tc-item {
        min-width: 100px;
        width: 100px
    }

    .tc-icon {
        width: 76px;
        height: 76px
    }

    /* promo + news */
    .promo-row {
        grid-template-columns: 1fr
    }

    .promo-card {
        flex-direction: column;
        align-items: stretch
    }

    .promo-media {
        flex: 0 0 auto;
        padding: 12px;
        display: flex;
        justify-content: center
    }

    .promo-media img {
        width: 150px
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    /* about */
    .about-inner {
        gap: 16px
    }

    .about-media {
        flex-basis: 100%;
        justify-content: center
    }

    .about-circle {
        width: 220px;
        height: 220px
    }

    .about-circle img {
        width: 220px;
        height: 220px
    }

    .about-badge {
        left: 6%;
        bottom: -12px;
        padding: 6px 8px
    }

    .about-title {
        font-size: 20px
    }

    .about-cta {
        width: 44px;
        height: 44px
    }

    /* footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }
}

/* tablets */
@media (min-width:577px) and (max-width:991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero {
        background-position: center;
        background-size: 120% auto;
        min-height: 360px
    }

    .hero-content h1 {
        font-size: 32px
    }

    .journey-title {
        font-size: 22px
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .promo-row {
        grid-template-columns: 1fr
    }

    .about-circle {
        width: 300px;
        height: 300px
    }

    .tc-items {
        gap: 20px
    }
}

/* desktop */
@media (min-width:992px) {
    .nav {
        display: flex
    }

    .mobile-nav,
    .mobile-overlay,
    .nav-toggle-label {
        display: none
    }

    .hero {
        min-height: 595px;
        background-size: 120% auto;
        background-position: center right
    }

    .tc-items {
        overflow: visible;
        justify-content: center
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
    }

    .news-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .promo-row {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr
    }
}

/* Small polish */
a {
    cursor: pointer
}

button {
    font-family: inherit
}
/* Mobile panel action buttons (Login / Sign Up) */
.mobile-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-direction: column;   /* stacked vertically */
  align-items: stretch;
  padding-top: 6px;
}

/* Primary (Login) */
.mobile-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(180deg, var(--accent), #4e3ef7);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(107,92,255,0.18);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s;
}

/* Secondary (Sign Up) */
.mobile-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(16,24,40,0.06);
  background: #111;           /* dark button as in your earlier design */
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s;
}

/* Hover / active / focus states */
.mobile-login:hover,
.mobile-register:hover {
  transform: translateY(-3px);
  opacity: 0.98;
}

.mobile-login:active,
.mobile-register:active {
  transform: translateY(0);
  opacity: 0.95;
}

.mobile-login:focus,
.mobile-register:focus {
  outline: 3px solid rgba(107,92,255,0.16);
  outline-offset: 2px;
}

/* If you want small icons inside buttons */
.mobile-login .icon,
.mobile-register .icon {
  margin-right: 8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Make sure they look fine on very small screens */
@media (max-width: 420px) {
  .mobile-login, .mobile-register {
    font-size: 14px;
    padding: 11px;
    border-radius: 8px;
  }
}

