/* =========================
   WhatNext SuperCreative Theme (Refined)
   Palette: #6b2cae (purple) | #f5b400 (gold) | #ffffff (white)
   ========================= */

/* ---- Brand tokens ---- */
:root{
  --purple:#6b2cae;
  --gold:#f5b400;
  --white:#ffffff;
  --deep:#100826;         /* site background */
  --header-h:64px;        /* used for sticky header spacing */
}

/* ---- Global reset / base ---- */
*{box-sizing:border-box}
html,body{height:100%}
html,body{
  background-color: var(--deep) !important;
  background-image: none !important;
  color: var(--white);
  margin:0;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  /* ensure anchored sections aren't hidden behind sticky header */
  scroll-padding-top: var(--header-h);
}
a{color:inherit}

/* Make media behave on small screens */
img,video,canvas,svg{max-width:100%;height:auto}

/* Long content should never break mobile layouts */
pre,code{overflow:auto;max-width:100%}
table{max-width:100%}
.table-scroll{overflow-x:auto; -webkit-overflow-scrolling:touch;}

/* Form controls: comfortable taps */
input,select,textarea,button{font:inherit}
input,select,textarea{min-height:44px}

/* keyboard focus visibility */
a,button{outline:none}
a:focus-visible,button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
}

/* ---- Layout helpers ---- */
.container{max-width:1100px;margin:40px auto;padding:10px 18px} /* includes top pad for sticky header */
.footer{margin:50px auto 24px;text-align:center;opacity:.85}
.flashes{display:grid;gap:10px;margin-bottom:18px}
.flash{padding:12px 14px;border-radius:12px;background:rgba(245,180,0,.12);border:1px solid rgba(245,180,0,.35)}
.flash.error{background:rgba(255,255,255,.08)}
.flash.success{background:rgba(245,180,0,.16)}

/* =========================
   HEADER (dark like body)
   ========================= */
.wn-header{
  position:sticky;top:0;z-index:50;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  padding:10px 16px;
  min-height:var(--header-h);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-bottom:1px solid rgba(255,255,255,.16);
  backdrop-filter:saturate(1.1) blur(6px);
}
.wn-left{display:flex;gap:24px;align-items:center}
.wn-left a{color:var(--white);text-decoration:none;font-weight:600;opacity:.9}
.wn-left a:hover{opacity:1}
.wn-left a.active{font-weight:800}
.wn-center{justify-self:center;display:inline-flex;align-items:center}
.wn-logo{height:54px;width:auto;display:block}
.wn-right{justify-self:end;display:flex;align-items:center;gap:16px}
.wn-avatar{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;font-weight:700;font-size:1rem;
  background:#111;color:#fff;text-decoration:none;
  cursor:pointer;
}
.wn-cart{position:relative;color:var(--white);display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;text-decoration:none}
.wn-cart:hover{background:rgba(255,255,255,.08)}
.wn-cart-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;background:var(--gold);color:#111;border-radius:999px;display:inline-grid;place-items:center;font-size:12px;font-weight:800;border:1px solid rgba(0,0,0,.1)}

/* =========================
   SCROLLING BANNER (brand gradient)
   ========================= */
.wn-banner-colors{
  width:100%;overflow:hidden;
  background:linear-gradient(90deg,var(--purple) 0%,var(--gold) 50%,var(--purple) 100%);
  border-bottom:1px solid rgba(255,255,255,.15);
}
.wn-banner-track{
  display:flex;width:max-content;animation:wn-scroll-left 30s linear infinite;
  will-change: transform;
}
.wn-banner-item{flex:0 0 auto;color:var(--white);font-weight:700;font-size:1.2rem;padding:0 60px;line-height:60px;white-space:nowrap;text-shadow:0 2px 4px rgba(0,0,0,.25)}
@keyframes wn-scroll-left{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* =========================
   HERO (optional generic)
   ========================= */
.hero{text-align:center;padding:60px 10px}
.title{font-size:clamp(2.2rem,2.6vw + 1rem,3.6rem);line-height:1.02;margin:0 0 10px;font-weight:800;letter-spacing:-.5px}
.subtitle{opacity:.9;font-size:1.05rem;max-width:780px;margin:0 auto 20px}
.accent{background:linear-gradient(90deg,var(--gold),var(--white));-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 40px rgba(245,180,0,.25)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.2);text-decoration:none;font-weight:700;letter-spacing:.2px;cursor:pointer}
.btn-small{ padding:8px 12px; border-radius:10px; font-size:.9rem; }
.btn-gold{background:linear-gradient(135deg,var(--gold),#ffd76a);color:#100826;border:1px solid rgba(0,0,0,.15);box-shadow:0 10px 30px rgba(245,180,0,.35)}
.btn-ghost{background:rgba(255,255,255,.08);color:var(--white);border:1px solid rgba(255,255,255,.2)}

/* =========================
   HOME HERO (refined)
   ========================= */
.home-hero{padding:34px 0 6px}
.home-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch}
.home-hero-copy{padding:10px 0}
.home-bullets{display:grid;gap:10px;margin:16px 0 18px}
.home-bullet{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px 14px;box-shadow:0 10px 24px rgba(0,0,0,.16)}
.home-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;opacity:.95}
.home-chips .chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(107,44,174,.22);border:1px solid rgba(255,255,255,.14);font-weight:700;font-size:.9rem}
.home-hero-card{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.16);background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));box-shadow:0 14px 34px rgba(0,0,0,.30)}
.home-card-inner{padding:18px}
.home-card-title{margin:0 0 10px;font-weight:900;color:var(--gold);letter-spacing:.2px}
.home-steps{margin:0 0 14px 18px;line-height:1.7}
.home-card-note{margin:12px 0 10px;opacity:.9}

@media (max-width: 980px){
  .home-hero-grid{grid-template-columns:1fr}
}

/* =========================
   WHY CHOOSE US (gold tiles)
   ========================= */
.wn-why{background:transparent;border:0;padding:10px 0 6px;margin-top:24px}
.wn-why h2{ text-align:center;color:var(--white);font-weight:800;font-size:clamp(1.8rem,1.4rem + 1vw,2.3rem);margin:0 0 20px }
.grid-why{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px}
.grid-why .item{
  position:relative;padding:18px;border-radius:18px;
  background:linear-gradient(135deg,var(--gold) 0%,#ffd76a 60%,var(--gold) 100%);
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 8px 24px rgba(245,180,0,.25),inset 0 0 0 1px rgba(255,255,255,.25);
  color:#100826;transition:.18s transform,.18s box-shadow,.18s filter
}
.grid-why .item::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.18),transparent 45%);pointer-events:none}
.grid-why .item:hover{transform:translateY(-2px);box-shadow:0 12px 34px rgba(245,180,0,.35),inset 0 0 0 1px rgba(255,255,255,.28);filter:saturate(1.05)}
.icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;margin:0 auto 10px;background:linear-gradient(135deg,var(--purple),#8c4cd0);color:#fff;border:1px solid rgba(255,255,255,.35);box-shadow:0 8px 18px rgba(107,44,174,.35)}
.wn-why h3{margin:8px 0 6px;font-weight:800;color:#f5b400}
.wn-why p{margin:0;color:rgba(16,8,38,.9);line-height:1.55}
@media (max-width:900px){.grid-why{grid-template-columns:1fr}}

/* =========================
   VIDEO (embed or placeholder)
   ========================= */
.wn-video{margin-top:40px;text-align:center}
.wn-video-title{color:var(--white);font-size:clamp(1.6rem,1.2rem + 1vw,2.2rem);font-weight:800;margin-bottom:22px}
.wn-video-frame{position:relative;max-width:860px;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.35);background:linear-gradient(135deg,var(--purple),var(--gold))}
.wn-video-iframe{width:100%;border:none;display:block;aspect-ratio:16/9;height:auto}
@media (max-width:768px){.wn-video-iframe{aspect-ratio:16/9}}

/* =========================
   TEAM CAROUSEL (purple/gold)
   ========================= */
.wn-team{margin-top:48px;text-align:center}
.wn-team-title{color:var(--white);font-weight:800;font-size:clamp(1.8rem,1.4rem + 1vw,2.6rem);margin:0 0 24px;letter-spacing:.5px}
.wn-team-viewport{position:relative;background:linear-gradient(135deg,var(--purple) 0%,#4f1d91 50%,var(--purple) 100%);border-radius:22px;overflow:hidden;padding:28px 12px;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.wn-team-track{display:flex;transition:transform .35s ease-in-out;will-change:transform}
.wn-team-slide{flex:0 0 100%;max-width:100%;display:grid;grid-template-columns:1.1fr 0.9fr;gap:24px;align-items:center;padding:24px}
.team-copy{text-align:left;color:#fff}
.team-name{color:var(--gold);margin:0 0 12px;font-weight:800;font-size:clamp(1.3rem,1rem + .6vw,1.8rem)}
.team-bio{margin:0;line-height:1.7;color:rgba(255,255,255,.92)}
.team-figure{display:grid;place-items:center}
.team-purple{width:100%;aspect-ratio:16/10;background:var(--gold);border-radius:18px;display:grid;place-items:center;padding:6px}
.team-purple img{width:100%;height:auto;border-radius:14px;box-shadow:0 8px 20px rgba(0,0,0,.35)}
.team-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#ffd76a);color:#100826;border:1px solid rgba(0,0,0,.08);box-shadow:0 10px 22px rgba(245,180,0,.35);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;z-index:2}
.team-arrow:hover{transform:translateY(-50%) scale(1.08);background:var(--purple);color:var(--white);box-shadow:0 12px 28px rgba(107,44,174,.45)}
.team-arrow.left{left:14px}
.team-arrow.right{right:14px}
.team-arrow span{font-size:26px;line-height:1}
@media (max-width:980px){.wn-team-slide{grid-template-columns:1fr;text-align:center}.team-copy{text-align:center}.team-purple{aspect-ratio:16/9}}

/* =========================
   EXPERT OPINION (brand-locked)
   ========================= */
.wn-experts{margin-top:48px}
.wn-experts-title{text-align:center;color:var(--white);font-weight:800;font-size:clamp(1.8rem,1.3rem + 1vw,2.4rem);margin:0 0 18px;letter-spacing:.3px}
.wn-experts-viewport{
  position:relative;border-radius:18px;padding:18px 14px;overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.wn-experts-track{transition:transform .35s ease;will-change:transform}
.wn-experts-page{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:22px;padding:6px}
.expert-card{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  border-radius:16px;padding:16px;position:relative
}
.expert-card::before{
  content:"";position:absolute;inset:10px 10px auto 10px;height:2px;
  background: linear-gradient(90deg, var(--gold), #ffd76a, var(--gold));
  border-top-left-radius:10px;border-top-right-radius:10px
}
.expert-photo{
  width:120px;height:120px;overflow:hidden;border-radius:50%;
  margin:0 auto 12px;background:var(--purple);
  display:flex;align-items:center;justify-content:center;
}
.expert-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.expert-quote{margin:0 0 12px;line-height:1.65;color:rgba(255,255,255,.92)}
.expert-author{margin:0;font-size:.92rem;font-weight:800;color:var(--gold)}
.experts-arrow{position:absolute;bottom:12px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold),#ffd76a);color:#100826;border:1px solid rgba(0,0,0,.08);box-shadow:0 10px 22px rgba(245,180,0,.35);cursor:pointer;z-index:2;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.experts-arrow.left{left:calc(50% - 50px)}
.experts-arrow.right{right:calc(50% - 50px)}
.experts-arrow:hover{transform:translateY(-1px) scale(1.06);background:var(--purple);color:var(--white);box-shadow:0 12px 28px rgba(107,44,174,.45)}
@media (max-width:820px){
  .wn-experts-page{grid-template-columns:1fr}
  .wn-experts-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%}
}

/* =========================
   Force brand background everywhere
   ========================= */
body, .page, .main, .content{background:transparent !important}

/* === FAQ Section (global) ============================================== */
.wn-faq{max-width:900px;margin:60px auto;padding:0 18px}
.wn-faq-title{text-align:center;font-size:2.4rem;font-weight:800;color:var(--white);margin-bottom:28px}

/* Accordion variant A (simple) */
.faq-item{margin-bottom:14px;border-radius:14px;overflow:hidden;background:rgba(107,44,174,0.18);border:1px solid rgba(255,255,255,0.12);box-shadow:0 6px 18px rgba(0,0,0,0.25)}
.faq-question{
  width:100%;background:linear-gradient(90deg, var(--purple) 0%, var(--gold) 100%);
  color:var(--white);text-align:left;padding:16px 20px;font-size:1.05rem;font-weight:700;border:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center
}
.faq-question::after{content:'›';transform:rotate(90deg);transition:transform .3s ease}
.faq-item.open .faq-question::after{transform:rotate(-90deg)}
.faq-answer{max-height:0;overflow:hidden;background:rgba(255,255,255,0.05);padding:0 20px;transition:max-height .35s ease, padding .35s ease}
.faq-item.open .faq-answer{max-height:400px;padding:16px 20px}
.faq-answer p{margin:0;color:var(--white);line-height:1.6}

/* ============ FOOTER ======================================== */
.wn-footer{background:var(--purple);color:var(--white);padding:40px 5% 20px;border-top:4px solid var(--gold)}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(180px,1fr));gap:32px;align-items:start;margin-bottom:20px}
.footer-logo{max-width:160px;margin-bottom:14px}
.footer-col h4{margin-bottom:12px;font-weight:700;color:var(--white)}
.footer-col a{display:block;margin:6px 0;color:var(--white);opacity:.9;text-decoration:none}
.footer-col a:hover{opacity:1;color:var(--gold)}
.socials a{margin-right:10px;color:var(--white);font-size:1.2rem}
.socials a:hover{color:var(--gold)}
.footer-news{display:flex;margin-top:14px}
.footer-news input{flex:1;padding:8px 10px;border:none;border-radius:6px 0 0 6px;background:rgba(255,255,255,0.15);color:var(--white)}
.footer-news button{background:var(--gold);color:#111;border:none;padding:8px 16px;border-radius:0 6px 6px 0;font-weight:600;cursor:pointer}
.footer-news button:hover{filter:brightness(1.1)}
.copy{margin-top:8px;font-size:.85rem;opacity:.8}

/* ===== Courses (unified) ===================================== */
.courses-hero{ text-align:center; padding: 10px 16px 4px; }
.courses-title{
  margin:0 auto; color:var(--white); font-weight:800;
  font-size:clamp(1.6rem,1.1rem + 1.6vw,2rem); line-height:1.25;
}
.courses-title .courses-sub{ opacity:.95; }

.courses-strip{
  background: rgba(107,44,174,.12);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 18px 0 32px;
}
.courses-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}
.course-card{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 14px;
  color: var(--white);
  text-align:center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  display:flex; flex-direction:column; gap:10px;
}
.course-thumb{ position:relative; display:block; border-radius:12px; overflow:hidden; background:var(--purple); }
.course-thumb img{ width:100%; aspect-ratio: 16/10; height:auto; object-fit:cover; display:block; }
.course-thumb .badge{
  position:absolute; top:10px; right:10px;
  background:linear-gradient(135deg,var(--gold),#ffd76a);
  color:#100826; font-weight:800; font-size:.8rem;
  border-radius:999px; padding:4px 10px;
  border:1px solid rgba(0,0,0,.08); box-shadow:0 6px 14px rgba(245,180,0,.35);
}
.course-title{ color:var(--white); text-decoration:none; font-weight:800; line-height:1.35; }
.course-title:hover{ color:var(--gold); }
.course-price{ margin-top:6px; font-size:1.05rem; font-weight:700; color: var(--gold); }
.course-price .strike{ margin-left:6px; font-weight:400; color: rgba(255,255,255,.6); text-decoration: line-through; }
.course-cta{ margin-top:auto; }
.course-cta .btn-gold{ width:100%; justify-content:center; }

/* ===== Product detail layout ===== */
.product-wrap{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 28px;
  align-items:start;
  margin-top: 16px;
}
.product-title{
  margin:0 0 6px;
  font-weight:800; color: var(--white);
  font-size: clamp(1.1rem, 1.2rem + 1vw, 1.6rem);
}
.product-price-row{ display:flex; align-items:baseline; gap:10px; margin-bottom:12px; }
.product-price{ color: var(--gold); font-weight:800; font-size:1.2rem; }
.product-price-compare{ color: rgba(255,255,255,.6); text-decoration:line-through; font-weight:600; }
.product-sections{ display:grid; gap:10px; }
.psec{
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  overflow:hidden;
}
.psec-title{
  list-style:none;
  cursor:pointer;
  padding:12px 14px;
  background: linear-gradient(90deg, rgba(107,44,174,.35), rgba(245,180,0,.15));
  color:var(--white); font-weight:700;
}
.psec[open] .psec-title{ border-bottom:1px solid rgba(255,255,255,.18); }
.psec-list{ margin:0; padding:12px 18px 14px 28px; }
.psec-list li{ margin:6px 0; }

/* Right side poster/CTA */
.product-side{ position:sticky; top:calc(var(--header-h) + 12px); }
.poster-card{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.poster-img{ width:100%; height:auto; border-radius:12px; display:block; }
.poster-meta{ margin-top:12px; }
.poster-price .now{ color:var(--gold); font-weight:800; font-size:1.1rem; }
.poster-price .was{ margin-left:8px; color:rgba(255,255,255,.7); text-decoration:line-through; }
.btn-block{ width:100%; }
.cta-col{ display:grid; gap:10px; margin-top:10px; }

/* Mobile sticky buy bar */
.buybar{
  position:fixed; left:0; right:0; bottom:0; z-index:40;
  display:none; gap:10px; align-items:center; padding:10px 12px;
  background: linear-gradient(90deg, var(--purple), #5b2298);
  border-top:1px solid rgba(255,255,255,.2);
}
.buybar-price{ color:#fff; font-weight:800; }
.buybar-was{ margin-left:8px; opacity:.75; text-decoration:line-through; font-weight:600; }
.buybar-cta{
  margin-left:auto; text-decoration:none;
  background: linear-gradient(135deg, var(--gold), #ffd76a);
  color:#100826; padding:10px 14px; border-radius:12px; font-weight:800; border:1px solid rgba(0,0,0,.2);
}
.product-bottom-pad{ height:64px; display:none; }

/* ---- Instructor block ---- */
.instructor-wrap{
  margin-top:70px;
  padding:40px 20px;
  background:rgba(107,44,174,0.08);
}
.instructor-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  max-width:1000px;
  margin:0 auto;
  gap:40px;
}
.instructor-photo img{
  max-width:350px;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.3);
}
.instructor-text{max-width:500px;color:var(--white)}
.instructor-title{font-size:1.8rem;margin-bottom:16px;color:var(--gold)}
.instructor-text p{line-height:1.6;margin-bottom:12px}
.instructor-name{font-weight:700;color:var(--gold)}

/* ---- Reviews ---- */
.reviews-wrap{
  margin-top:48px;background:rgba(107,44,174,.08);
  border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:28px;
}
.reviews-title{font-size:1.6rem;margin:0 0 18px}
.reviews-head{
  display:grid;grid-template-columns:1fr 1.2fr auto;gap:18px;align-items:center;margin-bottom:18px
}
@media (max-width:900px){.reviews-head{grid-template-columns:1fr}}
.reviews-score .score-line{display:flex;gap:10px;align-items:center;font-weight:700}
.reviews-score .score-sub{opacity:.8;margin-top:4px}
.stars .star,.mini-stars .star{font-size:18px;line-height:1;letter-spacing:1px;color:#6b2cae;opacity:.35}
.stars .star.full,.mini-stars .star.full{color:#f5b400;opacity:1}
.reviews-bars .bar-row{display:grid;grid-template-columns:42px 1fr 30px;gap:10px;align-items:center;margin:6px 0}
.bar-track{height:10px;background:rgba(255,255,255,.14);border-radius:999px;overflow:hidden}
.bar-fill{display:block;height:100%;background:linear-gradient(90deg,#6b2cae 0%, #f5b400 100%)}
.reviews-cta{white-space:nowrap}
.reviews-list{margin-top:8px}
.review-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:14px 16px;margin:12px 0}
.review-top{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;margin-bottom:6px}
.review-top .avatar{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:800;
  background: linear-gradient(180deg,#6b2cae,#f5b400);color:#1c0f2a;
}
.review-top .name{font-weight:700}
.review-top .date{opacity:.75;font-size:.9rem}
.review-text{margin:4px 0 2px;line-height:1.6}

/* ---- Blog pages ---- */
.blog-hero{padding:48px 20px 16px;text-align:center}
.blog-title{font-size:2.2rem;font-weight:800;color:var(--white);margin:0 0 8px}
.blog-sub{color:rgba(255,255,255,.8);font-size:1.05rem;margin:0}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;padding:24px 20px 64px}
.post-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:16px;overflow:hidden;box-shadow:0 10px 26px rgba(0,0,0,.25);transition:transform .2s ease, box-shadow .2s ease}
.post-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(0,0,0,.32)}
.post-cover{display:block;background: linear-gradient(90deg, #6b2cae 0%, #d69e2e 100%);height:180px}
.post-cover img{width:100%;height:100%;object-fit:cover;display:block}
.post-cover-ph{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;letter-spacing:.08em}
.post-body{padding:16px 16px 18px}
.post-title{margin:0 0 6px;font-size:1.2rem}
.post-title a{color:var(--white);text-decoration:none}
.post-title a:hover{text-decoration:underline}
.post-meta{color:rgba(255,255,255,.7);font-size:.95rem;margin-bottom:8px}
.post-excerpt{color:rgba(255,255,255,.9);margin:8px 0 14px}
.read-more{display:inline-block;padding:8px 14px;border-radius:999px;background:linear-gradient(90deg,#7b3fd1 0%, #f2b705 100%);color:#1a102b;font-weight:700;text-decoration:none}

/* ---- Blog detail ---- */
.blog-detail{padding:28px 20px 80px;max-width:1000px}
.blog-head{margin-bottom:8px}
.blog-d-title{margin:0;font-size:2.1rem;font-weight:800}
.blog-d-meta{color:rgba(255,255,255,.75);margin:6px 0 16px}
.blog-d-cover{margin:12px 0 22px;border-radius:14px;overflow:hidden}
.blog-d-cover img{width:100%;height:auto;display:block}
.blog-d-content{color:rgba(255,255,255,.95);line-height:1.75}
.blog-d-content h2,.blog-d-content h3{margin-top:22px}
.blog-d-cta{margin-top:28px}

/* ---- Account / dashboard ---- */
.acct-wrap{max-width:1100px;margin:40px auto;padding:0 16px}
.acct-head .title{font-size:1.8rem;margin:0 0 6px;color:#fff}
.acct-head .sub{opacity:.8;margin:0 0 22px}
.acct-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.acct-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.25);display:flex;flex-direction:column}
.acct-card .thumb{display:block;background:rgba(0,0,0,.15)}
.acct-card .thumb img{width:100%;height:160px;object-fit:cover;display:block}
.acct-card .thumb-ph{height:160px;display:flex;align-items:center;justify-content:center;color:#fff;opacity:.7}
.acct-card .meta{padding:14px}
.acct-card .c-title{font-size:1.02rem;margin:0 0 6px;color:#fff}
.acct-card .c-title a{color:inherit;text-decoration:none}
.acct-card .c-title a:hover{text-decoration:underline}
.acct-card .c-price{color:var(--gold);font-weight:700;margin-bottom:10px}
.progress{
  width:100%; height:10px; border-radius:999px;
  background:rgba(255,255,255,.15); overflow:hidden; margin-top:8px;
  border:1px solid rgba(255,255,255,.2);
}
.progress-fill{height:100%;background:linear-gradient(90deg, #f5b400, #ffd76a)}
.progress-meta{font-size:.85rem;opacity:.9;margin-top:6px}
.acct-empty{text-align:center;padding:40px 0}

/* ===== Login/Auth ===== */
.auth-wrap{
  min-height:80vh; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#6b2cae 0%,#4f4698 50%,#3b82c4 100%);
  padding:40px 20px;
}
.auth-card{
  width:100%; max-width:380px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:16px; padding:35px;
  box-shadow:0 12px 30px rgba(0,0,0,0.25);
  color:#fff; text-align:left;
}
.auth-title{font-size:1.6rem;margin-bottom:25px;text-align:center}
.auth-input{
  width:100%; padding:12px 14px; margin-bottom:18px;
  border-radius:8px; border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.05); color:#fff; font-size:1rem;
}
.auth-input:focus{outline:none;border-color:#f5b400}
.auth-error{color:#ffb4b4;margin-top:10px}
.auth-note{margin-top:20px;text-align:center}

/* Checkout */
.checkout-wrap { padding: 28px 0 40px; }
.checkout-title { color: var(--white); margin-bottom: 18px; }
.checkout-grid { display:grid; grid-template-columns: 1.3fr .9fr; gap: 28px; }
.checkout-form{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.18); border-radius:16px; padding:18px;
  color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.form-row{ display:block; margin-bottom:14px; }
.form-row.two{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-row label{ display:block; font-size:.92rem; margin-bottom:6px; color: rgba(255,255,255,.85); }
.form-row input{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25); color:#fff; outline:none;
}
.pay-methods{ display:flex; flex-direction:column; gap:10px; margin:12px 0 18px; }
.pay-opt{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px;
  background: rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.18); cursor:pointer;
}
.pay-opt input{ transform: scale(1.1); }
.order-summary .summary-card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.18); border-radius:16px; padding:16px; color:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.summary-card img{
  width:72px; height:72px; object-fit:cover; border-radius:10px; margin-right:12px;
  border:1px solid rgba(255,255,255,.2);
}
.sum-head{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.sum-title{ margin:0 0 4px 0; font-weight:700; }
.sum-price .now{ color: var(--gold); font-weight:800; margin-right:8px; }
.sum-price .was{ color: rgba(255,255,255,.6); text-decoration: line-through; }
.sum-line, .sum-total{ display:flex; justify-content:space-between; margin:8px 0; }
.sum-total{ font-weight:800; color: var(--gold); }
.payment-success{ display:flex; justify-content:center; padding:36px 0; }
.success-card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.18); border-radius:16px; padding:22px; text-align:center; color:#fff;
  width:min(640px, 100%); box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.big-check{ font-size:48px; margin-bottom:12px; color: var(--gold); }

/* =========================================================
   RESPONSIVE ENHANCEMENTS
   Breakpoints: 1200 / 980 / 768 / 600 / 420
   ========================================================= */

/* --- ≤1200px --- */
@media (max-width: 1200px){
  .container{max-width: 1000px}
  .blog-grid{grid-template-columns: repeat(auto-fill,minmax(300px,1fr))}
}

/* --- ≤980px --- */
@media (max-width: 980px){
  .wn-header{grid-template-columns:1fr auto;gap:12px}
  .wn-left{gap:14px}
  .wn-center{order:-1;justify-self:flex-start}
  .wn-logo{height:46px}
  .courses-grid{grid-template-columns: repeat(auto-fill, minmax(220px,1fr))}
  .post-cover{height:160px}
  .blog-grid{grid-template-columns: repeat(auto-fill,minmax(280px,1fr))}
  .reviews-head{grid-template-columns: 1fr}
  .product-wrap{ grid-template-columns: 1fr; }
  .product-side{ position:static; }
  .poster-card{ margin-bottom:10px; }
}

/* --- ≤768px --- */
@media (max-width: 768px){
  html,body{font-size:15px}
  .container{margin:24px auto;padding:0 14px}
  .title{font-size:clamp(1.8rem, 3.4vw + 1rem, 2.4rem)}
  .subtitle{font-size:1rem}
  .wn-header{padding:8px 12px}
  .wn-left a{font-weight:700}
  .wn-logo{height:40px}
  .wn-right{gap:10px}
  .wn-cart,.wn-avatar{width:32px;height:32px}

  .grid-why{grid-template-columns:1fr}
  .course-card{padding:12px}
  .instructor-inner{gap:16px}
  .instructor-photo img{max-width:260px}
  .wn-faq{margin:36px auto;padding:0 14px}
  .faq-item{border-radius:12px}
  .faq-question{padding:14px 16px}
  .faq-answer{padding:0 16px}
  .blog-grid{grid-template-columns:1fr}
  .blog-d-title{font-size:1.6rem}
  .acct-grid{grid-template-columns: repeat(auto-fill,minmax(220px,1fr))}
  .checkout-grid{grid-template-columns: 1fr}
  .form-row.two{grid-template-columns: 1fr}
}

/* --- ≤600px --- */
@media (max-width: 600px){
  .btn{padding:10px 12px;border-radius:12px;min-height:44px}
  .btn-small{padding:7px 10px;min-height:44px}
  .faq-question,.pfaq-q{min-height:44px}
  .buybar{display:flex}
  .product-bottom-pad{display:block}
  .reviews-wrap{padding:18px}
  .post-title{font-size:1.05rem}
  .post-cover{height:140px}
  .footer-grid{grid-template-columns: 1fr; gap:18px}
  .wn-banner-track{ animation-duration: 45s; } /* battery-friendly on small phones */
}

/* --- ≤420px --- */
@media (max-width: 420px){
  .wn-header{grid-template-columns:1fr auto;padding:6px 10px}
  .wn-logo{height:36px}
  .courses-grid{grid-template-columns:1fr}
  .buybar-cta{padding:8px 12px}
  .auth-card{padding:24px}
  .auth-title{font-size:1.3rem}
  .form-row input{padding:9px 10px}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  .wn-banner-track{ animation: none; }
  .team-arrow, .experts-arrow, .post-card, .wn-team-track, .wn-experts-track { transition: none !important; }
}

/* Backdrop-filter fallback */
@supports not (backdrop-filter: blur(6px)){
  .wn-header{ backdrop-filter: none; }
}
/* === Unified Gradient FAQ (applies everywhere) =================== */
.faq-wrap{
  margin-top: 32px;
  max-width: 100%;
}
.faq-title{
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}

/* Reset any older FAQ blocks so we have one look */
.faq-wrap .faq-item{
  margin: 12px 0;
  border: none;
  background: transparent;
  padding: 0;
}
.faq-wrap .faq-item > summary::-webkit-details-marker{ display:none; }

/* Gradient pill header */
.faq-wrap .faq-q{
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 16px 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  position: relative;
  outline: none;
  background:
    linear-gradient(90deg, var(--purple) 0%, #b06fd3 32%, #cf9a37 70%, var(--gold) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 12px 28px rgba(0,0,0,.28);
  transition: transform .12s ease, box-shadow .18s ease, filter .18s ease;
}
.faq-wrap .faq-q:hover{
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    0 16px 36px rgba(0,0,0,.34);
}

/* Caret */
.faq-wrap .faq-q::after{
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-weight: 900;
  opacity: .92;
  background: rgba(0,0,0,.18);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease;
}
.faq-wrap details[open] > .faq-q::after{
  transform: translateY(-50%) rotate(180deg);
}

/* Answer body (glass card under the pill) */
.faq-wrap .faq-a{
  margin-top: 8px;
  padding: 16px 18px;
  color: rgba(255,255,255,.95);
  line-height: 1.65;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}

/* Lists inside answers */
.faq-wrap .faq-a ul{ margin: 8px 0 0 18px; }
.faq-wrap .faq-a li{ margin: 6px 0; }

/* Mobile tweaks */
@media (max-width: 768px){
  .faq-wrap .faq-q{ padding: 14px 16px; border-radius: 14px; }
  .faq-wrap .faq-a{ padding: 14px 16px; }
}
/* ===== Watch Demo Section ===== */
.demo-embed {
  margin: 40px 0;
  text-align: center;
}
.demo-thumb {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(107,44,174,0.25), rgba(245,180,0,0.25));
  border: 2px solid var(--gold);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.demo-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.demo-thumb .play {
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: var(--gold);
}
.demo-thumb span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  text-decoration: underline;
}

/* ===== Instructor Section ===== */
.instructor {
  margin: 40px 0;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(107,44,174,.18), rgba(245,180,0,.12));
  border-radius: 18px;
  color: var(--white);
}
.instructor-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.inst-photo {
  flex: 0 0 140px;
  height: 140px;
  border-radius: 50%;
  background: url("/static/images/team_sruthi.jpg") center/cover no-repeat;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.inst-copy {
  flex: 1;
}
.inst-copy h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--gold);
}
.inst-copy p {
  margin: 8px 0;
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .instructor-grid {
    flex-direction: column;
    text-align: center;
  }
  .inst-photo {
    flex: 0 0 110px;
    height: 110px;
  }
}
/* ===== Cart responsive layout ===== */
.cart-wrap { padding-top: 8px; }
.cart-title { font-size: 1.8rem; margin-bottom: 10px; }

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 110px auto;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

.cart-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.cart-meta { min-width: 0; }
.cart-name {
  margin: 0 0 6px 0;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}
.cart-unit { opacity: .9; margin-bottom: 8px; }

.cart-qtyform {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cart-qtyform label {
  font-size: .92rem;
  opacity: .9;
}
.cart-qtyform input[type="number"] {
  width: 80px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: var(--white);
}

.cart-price {
  text-align: right;
  min-width: 110px;
  font-weight: 800;
  color: var(--gold);
}

.cart-remove { text-align: right; }

.cart-total {
  margin-top: 14px;
  text-align: right;
  font-size: 1.08rem;
}
.cart-total-amt { color: var(--gold); font-weight: 800; }

.cart-cta {
  margin-top: 14px;
  text-align: right;
}

/* --- Phones & narrow screens --- */
@media (max-width: 680px) {
  .cart-item {
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      "thumb meta"
      "price price"
      "remove remove";
    gap: 10px 12px;
    padding: 12px;
  }
  .cart-thumb { grid-area: thumb; }
  .cart-meta { grid-area: meta; }
  .cart-price {
    grid-area: price;
    text-align: right;
    font-size: 1.02rem;
    padding-top: 4px;
  }
  .cart-remove {
    grid-area: remove;
    text-align: right;
  }

  .cart-qtyform input[type="number"] { width: 72px; }
  .btn-small { padding: 7px 10px; }

  .cart-total {
    margin-top: 10px;
    font-size: 1rem;
  }
  .cart-cta {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    padding-top: 10px;
    background: linear-gradient(180deg, rgba(16,8,38,0), rgba(16,8,38,.85));
    text-align: center;
  }
  .cart-cta .btn { width: 100%; }
}
/* ===== Dashboard extras: Notes & Question Bank ==================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 20px;
}

.dashboard-card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 14px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.dashboard-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--purple);
}
.dashboard-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  height: auto;
  object-fit: cover;
  display: block;
}

.dashboard-title {
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
  line-height: 1.35;
}

.dashboard-title:hover {
  color: var(--gold);
}

.dashboard-desc {
  font-size: .92rem;
  opacity: .85;
  margin: 0 0 12px;
}

.dashboard-cta {
  margin-top: auto;
}
.dashboard-cta .btn-gold {
  width: 100%;
  justify-content: center;
}
/* Notes page layout */
.notes-wrap { margin-top: 20px; }
.notes-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  height: 80vh;
}

.notes-sidebar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px;
  color: var(--white);
  overflow-y: auto;
}

.notes-sidebar h3 {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}

.notes-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notes-sidebar li { margin: 8px 0; }
.notes-sidebar button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.notes-sidebar button:hover {
  background: rgba(245,180,0,.25);
}

.notes-viewer {
  background: #111;
  border-radius: 14px;
  overflow: hidden;
}
.notes-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* ===== Notes Page Layout ===== */
.notes-wrap {
  margin-top: 30px;
}

.notes-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  height: 80vh;
}

/* Sidebar */
.notes-sidebar {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 18px 16px;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
}

.notes-sidebar h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 8px;
}

.notes-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

/* Subunit buttons */
.notes-sidebar li {
  margin: 6px 0;
}
.notes-sidebar button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.notes-sidebar button:hover {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #100826;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245,180,0,.35);
}

/* Active subunit */
.notes-sidebar button.active {
  background: linear-gradient(90deg, var(--gold), #ffd76a);
  color: #100826;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(245,180,0,.4);
}

/* PDF Viewer */
.notes-viewer {
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}

.notes-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #111;
}

/* Responsive */
@media (max-width: 900px) {
  .notes-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .notes-sidebar {
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
  }
  .notes-sidebar ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
  }
  .notes-sidebar button {
    white-space: nowrap;
  }
  .notes-viewer {
    height: 70vh;
  }
}
/* ===== Notes Viewer Styling ===== */
.notes-viewer {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

/* Header above PDF */
.viewer-header {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.viewer-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #100826;
}

/* Frame itself */
.notes-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #111;
}

/* Add subtle glow on hover */
.notes-viewer:hover {
  box-shadow: 0 18px 42px rgba(245,180,0,.35);
  transition: box-shadow .25s ease;
}

/* Responsive: shrink header text */
@media (max-width: 768px) {
  .viewer-header h3 {
    font-size: 0.9rem;
  }
}
/* ===== Question Bank Landing ===== */
.qbank-wrap {
  margin-top: 30px;
  text-align: center;
}
.qbank-sub {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 26px;
}

.qbank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.qbank-card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 30px 20px;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.qbank-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(245,180,0,.18), rgba(255,215,106,.08));
  box-shadow: 0 16px 36px rgba(245,180,0,.45);
}

.qbank-card h3 {
  margin: 0;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold);
}

.qbank-card p {
  font-size: 0.95rem;
  opacity: .85;
  margin: 0;
}

/* ===== Topicwise Page ===== */
.topicwise-wrap {
  margin-top: 30px;
  text-align: center;
}
.topicwise-sub {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 26px;
}

.topicwise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.topic-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 22px 18px;
  min-height: 100px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.topic-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #100826;
  box-shadow: 0 14px 36px rgba(245,180,0,.45);
}

.unit-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--gold);
}

.unit-topic {
  font-size: 0.9rem;
  opacity: .9;
}

.topic-btn.aptitude {
  background: linear-gradient(135deg, var(--gold), #ffd76a);
  color: #100826;
}
/* ===== Instruction Page ===== */
.instr-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.instr-card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 30px 24px;
  max-width: 720px;
  width: 100%;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  text-align: left;
  color: var(--white);
}

.instr-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
}

.instr-topic {
  margin: 0 0 20px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  color: var(--white);
}

.instr-list {
  margin: 0 0 20px;
  padding-left: 20px;
  line-height: 1.6;
  font-size: 1rem;
}

.instr-list li {
  margin-bottom: 10px;
}

.instr-cta {
  text-align: center;
}
/* ===== Test Page ===== */
.test-wrap { margin-top: 30px; }

.test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.test-header h2 { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.timer { font-weight: 700; font-size: 1.1rem; color: var(--white); }

.test-card {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  color: var(--white);
}

#options { margin-top: 14px; display: grid; gap: 10px; }

.option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: background .2s ease;
}
.option-label:hover { background: rgba(245,180,0,.22); }
.option-label input { accent-color: var(--gold); }

.test-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
/* ===== Feedback Page ===== */
.feedback-wrap { margin-top: 30px; display: grid; gap: 40px; }

.feedback-summary, .feedback-breakdown, .feedback-review {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  color: var(--white);
}

.feedback-summary h2, .feedback-breakdown h2, .feedback-review h2 {
  color: var(--gold);
  margin-bottom: 12px;
}

.feedback-breakdown table {
  width: 100%;
  border-collapse: collapse;
}
.feedback-breakdown th, .feedback-breakdown td {
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 12px;
  text-align: center;
}
.feedback-breakdown th {
  background: rgba(255,255,255,.1);
}

.review-card {
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}
.review-card h3 { margin-top: 0; color: var(--gold); }
/* ===== Test Page Responsive ===== */
@media (max-width: 768px) {
  .test-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .test-card {
    padding: 16px;
  }
  #options {
    gap: 8px;
  }
  .option-label {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  .test-nav {
    flex-direction: column;
    gap: 10px;
  }
  .test-nav .btn {
    width: 100%; /* buttons full-width on small screens */
    justify-content: center;
  }
}
/* ===== Feedback Page Responsive Fix ===== */
@media (max-width: 768px) {
  .feedback-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .feedback-summary,
  .feedback-breakdown,
  .feedback-review {
    padding: 16px;
    border-radius: 12px;
  }

  .feedback-summary h2,
  .feedback-breakdown h2,
  .feedback-review h2 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 12px;
  }

  .feedback-summary p {
    text-align: center;
    font-size: 1rem;
  }

  /* Chart resizing */
  #scoreChart {
    max-width: 260px;
    margin: 0 auto 16px;
  }

  /* Subtopic table */
  .feedback-breakdown table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.9rem;
  }
  .feedback-breakdown th,
  .feedback-breakdown td {
    padding: 6px 10px;
  }

  /* Review cards */
  .review-card {
    padding: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
  }
  .review-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    text-align: left;
  }
  .review-card p {
    margin: 4px 0;
    line-height: 1.4;
  }
}

/* Extra small phones */
@media (max-width: 420px) {
  .feedback-summary h2,
  .feedback-breakdown h2,
  .feedback-review h2 {
    font-size: 1.1rem;
  }
  .feedback-summary p {
    font-size: 0.9rem;
  }
  .review-card {
    font-size: 0.9rem;
  }
}
/* ===== PYQ Page ===== */
.pyq-wrap {
  margin-top: 30px;
  text-align: center;
}
.pyq-sub {
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 26px;
}

.pyq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.pyq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 24px;
  min-height: 90px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.pyq-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #100826;
  box-shadow: 0 14px 34px rgba(245,180,0,.45);
}
/* ===== PYQ Test Interface (all at once) ===== */
.pyqtest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pyq-qcard {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.pyq-qcard h3 { margin: 0 0 10px; color: var(--gold); }
.options { display: grid; gap: 8px; }
.opt {
  background: rgba(255,255,255,.06);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.opt:hover { background: rgba(245,180,0,.22); }
.opt input { margin-right: 8px; accent-color: var(--gold); }

.pyq-submit { text-align: center; margin-top: 20px; }
.pyq-submit .btn { min-width: 180px; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .pyqtest-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .pyq-qcard { padding: 14px; }
  .opt { font-size: 0.95rem; }
}
/* ===== WHY CHOOSE US — SuperCreative Carousel (final version) ===== */
.wn-why {
  text-align: center;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at top left, rgba(107,44,174,0.12), transparent 60%);
}

.why-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--gold, #f5b400);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(245,180,0,0.4);
  margin-bottom: 35px;
}

.why-carousel {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease-in-out;
}

.why-carousel .item {
  min-width: 100%;
  padding: 60px 25px;
  background: linear-gradient(135deg, rgba(107,44,174,0.9), rgba(245,180,0,0.2));
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.why-carousel .icon {
  font-size: 3rem;
  color: #f5b400;
  text-shadow: 0 0 15px rgba(245,180,0,0.7);
  margin-bottom: 12px;
}

.why-carousel h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-carousel p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #f5b400, #6b2cae);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 0 15px rgba(245,180,0,0.4);
}
.scroll-btn:hover { opacity: 1; transform: translateY(-50%) scale(1.1); }
.scroll-btn.left { left: 20px; }
.scroll-btn.right { right: 20px; }

@media (max-width: 768px) {
  .why-carousel .item { padding: 40px 15px; }
  .why-title { font-size: 2rem; }
}
/* ===== FULLY SOLID PURPLE SLIDE-OUT MENU ===== */
.wn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10001; /* above menu */
}

.wn-burger span {
  display: block;
  height: 3px;
  background: var(--gold, #f5b400);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Slide-out menu panel --- */
.wn-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background-color: #6b2cae !important; /* Solid purple, overrides any opacity */
  opacity: 1 !important;               /* Force full opacity */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 90px;
  gap: 28px;
  font-weight: 600;
  transition: right 0.4s ease;
  z-index: 10000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.25);
}

.wn-mobile-menu * {
  background: transparent;
  opacity: 1 !important; /* force text and children solid */
  z-index: 10001;
}

.wn-mobile-menu.active {
  right: 0;
}

/* --- Menu links --- */
.wn-mobile-menu a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.wn-mobile-menu a:hover {
  color: var(--gold, #f5b400);
}

/* --- Burger animation --- */
.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Responsive collapse --- */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
  .wn-burger {
    display: flex;
  }
}
/* ===== FINAL: FULLY SOLID MOBILE SLIDE-OUT ===== */
.wn-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background-color: #6b2cae !important; /* solid purple */
  opacity: 1 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 90px;
  gap: 28px;
  font-weight: 600;
  color: #fff !important;
  transition: right 0.4s ease;
  z-index: 9999;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

/* Force every child inside to be flat */
.wn-mobile-menu *,
.wn-mobile-menu a,
.wn-mobile-menu div,
.wn-mobile-menu span {
  background: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
  box-shadow: none !important;
  border: none !important;
  color: #fff !important;
  text-shadow: none !important;
}

.wn-mobile-menu a:hover {
  color: #f5b400 !important; /* gold hover */
}

.wn-mobile-menu.active {
  right: 0;
}

/* Burger icon */
.wn-burger span {
  background: #f5b400;
}

/* Burger positioning and responsive collapse */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
  .wn-burger {
    display: flex;
  }
}
/* ===== ABSOLUTELY SOLID MOBILE SLIDE-OUT (No Transparency Anywhere) ===== */
.wn-mobile-menu {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  background: #6b2cae !important; /* pure solid purple */
  opacity: 1 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  color: #fff !important;
  z-index: 99999; /* highest layer */
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.wn-mobile-menu.active {
  transform: translateX(0);
}

/* Make sure no parent or child inside applies opacity or background */
.wn-mobile-menu *,
.wn-mobile-menu a,
.wn-mobile-menu div,
.wn-mobile-menu span {
  background: none !important;
  background-color: transparent !important;
  opacity: 1 !important;
  box-shadow: none !important;
  border: none !important;
  color: #fff !important;
  text-shadow: none !important;
}

.wn-mobile-menu a {
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.wn-mobile-menu a:hover {
  color: #f5b400 !important;
}

/* --- Burger Icon --- */
.wn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 100000; /* above everything else */
}
.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hide old nav in mobile */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none !important;
  }
  .wn-burger {
    display: flex !important;
  }
}
.wn-mobile-menu a {
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
}
.wn-mobile-menu a:hover { color: #f5b400; }

.wn-burger span { background: #f5b400; }
/* ===== 25% SOLID PURPLE SLIDE-OUT MENU ===== */
/* ===== RIGHT-SIDE SLIDE-OUT MENU (25% WIDTH, STICKS UNDER HEADER) ===== */
.wn-mobile-menu {
  position: fixed;
  top: 70px;              /* height of your header — adjust if needed */
  right: -25%;            /* hidden off-screen */
  width: 25%;
  height: calc(100vh - 70px); /* fill remaining height below header */
  background-color: #6b2cae !important; /* solid purple */
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 25px;
  gap: 22px;
  font-weight: 600;
  transition: right 0.35s ease;
  z-index: 9999;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.4);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.wn-mobile-menu.active {
  right: 0;  /* slide into view */
}

.wn-mobile-menu a {
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.wn-mobile-menu a:hover {
  color: #f5b400; /* gold hover */
}

/* --- Burger Icon --- */
.wn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}

.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Show burger only on small screens --- */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
  .wn-burger {
    display: flex;
  }
}

/* --- Burger icon styling --- */
.wn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}

.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hide header links on mobile */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
  .wn-burger {
    display: flex;
  }
}
/* ===== MOBILE BURGER DRAWER (slides from right) ===== */
.wn-mobile-menu {
  position: fixed;
  top: 70px;                       /* adjust to your header height */
  right: -25%;                     /* start hidden off-screen */
  width: 25%;
  height: calc(100vh - 70px);
  background-color: #6b2cae;       /* solid purple */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 25px;
  gap: 22px;
  box-sizing: border-box;
  font-weight: 600;
  transition: right 0.35s ease-in-out;
  z-index: 9999;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.4);
}

/* Slide in when active */
.wn-mobile-menu.active {
  right: 0;
}

/* Menu links */
.wn-mobile-menu a {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.25s ease;
}
.wn-mobile-menu a:hover { color: #f5b400; }

/* Burger icon */
.wn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}
.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Burger → X animation */
.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Show burger only on mobile */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart { display: none; }
  .wn-burger { display: flex; }
}
/* burger icon */
.wn-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10001;
}
.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* drawer */
.wn-mobile-menu {
  position: fixed;
  top: 70px;                 /* just under header */
  right: -25%;               /* hidden off-screen */
  width: 25%;
  height: calc(100vh - 70px);
  background-color: #6b2cae; /* solid purple */
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  gap: 20px;
  transition: right 0.35s ease-in-out;
  z-index: 9999;
}
.wn-mobile-menu.active {
  right: 0;                  /* slides into view */
}
.wn-mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
.wn-mobile-menu a:hover {
  color: #f5b400;
}

/* show burger only on small screens */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
}
/* --- FINAL: Solid right-side drawer (hidden when inactive) --- */
#wnMobileMenu {
  all: unset;
  position: fixed !important;
  top: 70px !important;                /* below the header */
  right: -100% !important;             /* completely off-screen */
  width: 25% !important;
  height: calc(100vh - 70px) !important;
  background-color: #6b2cae !important;
  box-shadow: -3px 0 12px rgba(0,0,0,0.4);
  display: block !important;
  padding: 40px 20px !important;
  transition: right 0.35s ease-in-out;
  z-index: 9999 !important;
}

#wnMobileMenu.active {
  right: 0 !important;                 /* slide in fully */
}

#wnMobileMenu a {
  display: block !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 10px 0 !important;
}

#wnMobileMenu a:hover {
  color: #f5b400 !important;
}

/* Burger icon */
#wnBurger {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}
#wnBurger span {
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#wnBurger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#wnBurger.active span:nth-child(2) {
  opacity: 0;
}
#wnBurger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ===== WHY CHOOSE US (inside container) ===== */
.wn-why {
  width: 100%;
  padding: 60px 0;
  background: radial-gradient(circle at top left, rgba(107,44,174,0.08), transparent 70%);
  text-align: center;
}
.wn-why .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.why-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.why-carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.why-carousel .item {
  flex: 0 0 80%;
  max-width: 400px;
  margin: 0 auto;
  background: #6b2cae;
  border-radius: 16px;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-carousel .item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.why-carousel .icon {
  font-size: 1.8rem;
  color: #f5b400;
  margin-bottom: 8px;
}
.why-carousel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-carousel p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

/* dots */
.why-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}
.why-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.why-dots .dot.active {
  background: #f5b400;
  box-shadow: 0 0 8px rgba(245,180,0,0.6);
  transform: scale(1.1);
}

/* responsive */
@media (max-width: 768px) {
  .why-carousel .item {
    flex: 0 0 85%;
    max-width: 90%;
    padding: 18px 15px;
  }
}
/* ===== BURGER VISIBILITY FIX ===== */

/* hide burger on desktop / show full menu */
@media (min-width: 901px) {
  .wn-burger {
    display: none !important;
  }
}

/* show burger only on mobile / hide full nav */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none;
  }
  .wn-burger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10000;
  }
  .wn-burger span {
    display: block;
    height: 3px;
    background: #f5b400;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}
/* =========================================================
   CLEAN FINAL SECTIONS — NO DUPLICATES
   ========================================================= */

/* ===== WHY CHOOSE US (inside container, small scroll cards) ===== */
.wn-why {
  width: 100%;
  padding: 60px 0;
  background: radial-gradient(circle at top left, rgba(107,44,174,0.08), transparent 70%);
  text-align: center;
}
.wn-why .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.why-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.why-carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.why-carousel .item {
  flex: 0 0 80%;
  max-width: 400px;
  margin: 0 auto;
  background: #6b2cae;
  border-radius: 16px;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-carousel .item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.why-carousel .icon {
  font-size: 1.8rem;
  color: #f5b400;
  margin-bottom: 8px;
}
.why-carousel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-carousel p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

/* dots */
.why-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}
.why-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.why-dots .dot.active {
  background: #f5b400;
  box-shadow: 0 0 8px rgba(245,180,0,0.6);
  transform: scale(1.1);
}

/* responsive */
@media (max-width: 768px) {
  .why-carousel .item {
    flex: 0 0 85%;
    max-width: 90%;
    padding: 18px 15px;
  }
}

/* ===== SOLID RIGHT-SIDE MOBILE MENU ===== */
.wn-mobile-menu {
  position: fixed;
  top: 70px;                 /* just under header */
  right: -25%;               /* hidden off-screen */
  width: 25%;
  height: calc(100vh - 70px);
  background-color: #6b2cae;
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  gap: 20px;
  transition: right 0.35s ease-in-out;
  z-index: 9999;
}
.wn-mobile-menu.active {
  right: 0;
}
.wn-mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}
.wn-mobile-menu a:hover {
  color: #f5b400;
}

/* ===== BURGER ICON (mobile only) ===== */
.wn-burger {
  display: none; /* hidden by default (desktop) */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10000;
}
.wn-burger span {
  display: block;
  height: 3px;
  background: #f5b400;
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* X animation */
.wn-burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wn-burger.active span:nth-child(2) {
  opacity: 0;
}
.wn-burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== RESPONSIVE BURGER VISIBILITY ===== */

/* Hide burger on desktop / show nav */
@media (min-width: 901px) {
  .wn-burger {
    display: none !important;
  }
}

/* Show burger only on mobile / hide nav links */
@media (max-width: 900px) {
  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none !important;
  }
  .wn-burger {
    display: flex !important;
  }
}
/* ======= ENFORCE BURGER VISIBILITY ONLY ON MOBILE ======= */

/* Desktop & large screens — hide burger completely */
@media (min-width: 901px) {
  .wn-burger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Mobile only — show burger, hide nav */
@media (max-width: 900px) {
  .wn-burger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .wn-left,
  .wn-right .btn,
  .wn-right .wn-avatar,
  .wn-right .wn-cart {
    display: none !important;
  }
}
/* ===== TEAM CAROUSEL WITH DOTS (no arrows) ===== */
.wn-team-viewport {
  position: relative;
  background: linear-gradient(135deg, var(--purple) 0%, #4f1d91 50%, var(--purple) 100%);
  border-radius: 22px;
  overflow: hidden;
  padding: 28px 12px 60px; /* bottom space for dots */
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.wn-team-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.wn-team-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
}
.team-copy { text-align: left; color: #fff; }
.team-name {
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(1.3rem,1rem + .6vw,1.8rem);
}
.team-bio { margin: 0; line-height: 1.7; color: rgba(255,255,255,.92); }
.team-figure { display: grid; place-items: center; }
.team-purple {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--gold);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 6px;
}
.team-purple img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

/* Dots Navigation */
.team-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
}
.team-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.team-dots .dot.active {
  background: #f5b400;
  box-shadow: 0 0 8px rgba(245,180,0,0.6);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 980px) {
  .wn-team-slide {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-copy { text-align: center; }
  .team-purple { aspect-ratio: 16/9; }
}
/* ===== EXPERT OPINION: Simplified ===== */
.wn-experts {
  margin-top: 60px;
  text-align: center;
}

.wn-experts-title {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.3rem + 1vw, 2.4rem);
  margin: 0 0 24px;
  letter-spacing: 0.3px;
}

.wn-experts-viewport {
  position: relative;
  border-radius: 18px;
  padding: 20px 0 70px;
  background: linear-gradient(135deg, rgba(107, 44, 174, 0.25), rgba(245, 180, 0, 0.12));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.wn-experts-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.expert-card {
  flex: 0 0 100%;
  text-align: center;
  padding: 24px;
  transition: transform 0.3s ease;
  color: var(--white);
}
.expert-card:hover {
  transform: translateY(-3px);
}

.expert-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 18px rgba(245, 180, 0, 0.3);
}
.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-author {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Hidden section for Read More */
.expert-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}
.expert-card.open .expert-more {
  max-height: 400px;
  opacity: 1;
}

.read-more {
  border: none;
  background: linear-gradient(135deg, var(--gold), #ffd76a);
  color: #100826;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.25s ease;
}
.read-more:hover {
  background: var(--purple);
  color: #fff;
}

/* Dots navigation */
.experts-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.experts-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.experts-dots .dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(245, 180, 0, 0.6);
  transform: scale(1.2);
}

/* Mobile: horizontal scroll */
@media (max-width: 820px) {
  .wn-experts-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .expert-card {
    flex: 0 0 85%;
    margin: 0 10px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  }
  .experts-dots {
    bottom: 12px;
  }
}
/* ===== PROMINENT HOMEPAGE LOGO ===== */
.wn-logo-showcase {
  text-align: center;
  margin: 60px auto 40px;
  padding: 30px 20px;
  position: relative;
  background: radial-gradient(circle at center, rgba(245,180,0,0.08), rgba(107,44,174,0.12) 70%);
  border-radius: 24px;
  z-index: 2;
}

.wn-logo-big {
  width: 260px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 25px rgba(245,180,0,0.5));
  animation: glowLogo 3s ease-in-out infinite alternate;
}

.wn-logo-tagline {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  text-shadow: 0 0 12px rgba(245,180,0,0.4);
  letter-spacing: 0.5px;
}

/* Glow animation */
@keyframes glowLogo {
  from { filter: drop-shadow(0 0 15px rgba(245,180,0,0.4)); transform: scale(1); }
  to   { filter: drop-shadow(0 0 35px rgba(245,180,0,0.8)); transform: scale(1.04); }
}

/* Responsive */
@media (max-width: 768px) {
  .wn-logo-showcase { margin: 40px auto 30px; padding: 20px; }
  .wn-logo-big { width: 200px; }
  .wn-logo-tagline { font-size: 1.2rem; }
}
/* ===== LOGIN / AUTH PAGE – SuperCreative Theme ===== */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(107,44,174,0.3), rgba(16,8,38,0.95) 80%);
  padding: 40px 20px;
}

.auth-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  padding: 40px 32px;
  width: 100%;
  max-width: 400px;
  text-align: left;
  color: var(--white);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.6s ease-out;
}

.auth-logo {
  display: block;
  margin: 0 auto 20px;
  width: 140px;
  filter: drop-shadow(0 0 20px rgba(245,180,0,0.5));
}

.auth-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.auth-sub {
  text-align: center;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
}
.auth-input:focus {
  border-color: var(--gold);
  outline: none;
}

.btn.btn-purple {
  background: linear-gradient(135deg, var(--purple), #8e44ad);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(107,44,174,0.4);
}

.btn.btn-gold {
  background: linear-gradient(135deg, var(--gold), #ffd76a);
  color: #100826;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245,180,0,0.5);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.auth-divider span {
  background: rgba(16,8,38,0.95);
  padding: 0 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

.auth-error {
  color: #ffb4b4;
  margin-top: 10px;
  text-align: left;
}

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

@media (max-width: 768px) {
  .auth-card { padding: 30px 24px; }
  .auth-title { font-size: 1.6rem; }
}
/* ===== FULL-WIDTH PRODUCTS GRID WITH CENTERED LAYOUT ===== */
.wn-products-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin: 60px auto 40px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(245,180,0,0.3);
}

.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  justify-items: center;
  margin: 0 auto 80px;
  max-width: 1200px;              /* 🔹 Limit the width */
  padding: 0 40px;                /* 🔹 Add equal margin on left and right */
  box-sizing: border-box;
}

.wn-product {
  text-align: center;
  background: transparent;
  color: #fff;
}

.wn-product-thumb {
  display: block;
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wn-product-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.wn-product-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(245,180,0,0.3);
}

.wn-product-name {
  margin: 12px 0 6px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}
.wn-product-old {
  color: rgba(255,255,255,0.6);
  text-decoration: line-through;
  margin-left: 5px;
  font-weight: 400;
}

/* ===== Responsive Layout ===== */
@media (max-width: 1024px) {
  .wn-products-grid {
    max-width: 900px;
    padding: 0 30px;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .wn-products-grid {
    max-width: 100%;
    padding: 0 20px;
    gap: 30px;
  }
  .wn-products-title {
    font-size: 1.6rem;
    margin: 40px auto 30px;
  }
}
/* ===== FINAL: CENTERED FULL-WIDTH PRODUCTS ===== */
.wn-products-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px 0 80px;
}

.wn-products-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 50px;
  text-align: center;
  text-shadow: 0 0 20px rgba(245,180,0,0.3);
  letter-spacing: 0.5px;
}

/* Center grid perfectly */
.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  width: 100%;
  max-width: 1200px;    /* ✨ perfectly centered width */
  margin: 0 auto;       /* ✨ centers the grid */
  padding: 0 60px;      /* ✨ space from left & right edges */
  box-sizing: border-box;
  justify-items: center;
}

/* Each product */
.wn-product {
  text-align: center;
  color: #fff;
}

.wn-product-thumb {
  display: block;
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wn-product-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.wn-product-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(245,180,0,0.3);
}

.wn-product-name {
  margin: 12px 0 6px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}
.wn-product-old {
  color: rgba(255,255,255,0.6);
  text-decoration: line-through;
  margin-left: 5px;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .wn-products-grid {
    max-width: 900px;
    padding: 0 40px;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .wn-products-grid {
    max-width: 100%;
    padding: 0 20px;
    gap: 30px;
  }
  .wn-products-title {
    font-size: 1.6rem;
    margin-bottom: 35px;
  }
}
/* ===== CLEAN COURSE POSTER GRID (no cards) ===== */
.wn-products-page {
  width: 100%;
  padding: 60px 5vw;
  text-align: center;
}

.wn-products-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 50px;
  text-shadow: 0 0 20px rgba(245,180,0,0.3);
}

.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 50px;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.wn-product {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  color: #fff;
}

.wn-product-thumb img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}
.wn-product-thumb img:hover {
  transform: scale(1.04);
}

.wn-product-name {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}
.wn-product-old {
  margin-left: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: line-through;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .wn-products-page {
    padding: 40px 20px;
  }
  .wn-products-grid {
    gap: 30px;
  }
  .wn-products-title {
    font-size: 1.6rem;
  }
}
/* ===== CLEAN COURSE GRID (poster-style) ===== */
.wn-products-page {
  width: 100%;
  padding: 60px 5vw;
  text-align: center;
}

.wn-products-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 50px;
  text-shadow: 0 0 20px rgba(245,180,0,0.3);
}

.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 50px;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.wn-product {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  color: #fff;
}

.wn-product-thumb img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.wn-product-thumb img:hover {
  transform: scale(1.04);
}

.wn-product-name {
  margin-top: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 6px;
}

.wn-product-old {
  margin-left: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: line-through;
  font-weight: 400;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .wn-products-page {
    padding: 40px 20px;
  }
  .wn-products-grid {
    gap: 30px;
  }
  .wn-products-title {
    font-size: 1.6rem;
  }
}
/* ===== Add to Cart Button with Icon ===== */
.add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-cart-btn:hover {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #100826;
  box-shadow: 0 6px 18px rgba(245,180,0,.35);
}

.cart-icon {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.add-cart-btn:hover .cart-icon {
  transform: scale(1.2) rotate(-10deg);
}
/* ===== UNIFORM COURSE GRID WITH ALIGNED CART BUTTONS ===== */
.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.wn-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  text-align: center;
  height: 100%;
  padding-bottom: 10px;
}

.wn-product-thumb img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.wn-product-thumb img:hover {
  transform: scale(1.04);
}

.wn-product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
}

.wn-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 10px 0 6px;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}

.wn-product-old {
  margin-left: 6px;
  color: rgba(255,255,255,0.6);
  text-decoration: line-through;
  font-weight: 400;
}

/* ICON-ONLY CART BUTTON */
.add-cart-icon-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-cart-icon-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--purple));
  color: #100826;
  box-shadow: 0 6px 18px rgba(245,180,0,.4);
  transform: scale(1.1);
}

/* Make sure form doesn’t collapse */
.cart-form {
  margin-top: auto;
}
/* ===== DASHBOARD STYLE (REUSES COURSES GRID) ===== */
.wn-products-page {
  padding: 50px 0;
  text-align: center;
}

.wn-products-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 30px;
}

.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.wn-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #fff;
}

.wn-product-thumb img {
  width: 100%;
  max-width: 260px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
}
.wn-product-thumb img:hover {
  transform: scale(1.04);
}

.wn-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 10px 0 6px;
}

.wn-product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}

.dashboard-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ffd76a);
  border-radius: 999px;
}
.progress-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
/* ===== DASHBOARD PAGE - MATCHES COURSES LAYOUT ===== */
.wn-products-page {
  padding: 50px 0;
  text-align: center;
}

.wn-products-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 30px;
}

.wn-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.wn-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #fff;
}

.wn-product-thumb img {
  width: 100%;
  max-width: 260px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
}
.wn-product-thumb img:hover {
  transform: scale(1.04);
}

.wn-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin: 10px 0 6px;
}

.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ffd76a);
  border-radius: 999px;
  transition: width 1.2s ease-in-out;
}

.progress-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.dashboard-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
/* ===== NOTES PAGE (WITH MOBILE TOP BAR) ===== */
.notes-wrap {
  width: 100%;
  padding: 0;
  color: #fff;
}

.notes-title {
  color: var(--gold);
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 15px 0;
}

.notes-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  height: calc(100vh - 130px);
  width: 100%;
  overflow: hidden;
}

/* Sidebar (desktop only) */
.notes-sidebar {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  overflow-y: auto;
  height: 100%;
}

.notes-sidebar h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.notes-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-sidebar button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #eee;
  font-size: 0.9rem;
  text-align: left;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.notes-sidebar button:hover,
.notes-sidebar button.active {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #111;
  font-weight: 700;
}

/* Horizontal bar for mobile */
.notes-mobile-bar {
  display: none;
  overflow-x: auto;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  padding: 10px 5px;
  gap: 6px;
  border-radius: 6px;
  scroll-behavior: smooth;
}

.notes-mobile-bar button {
  background: #111;
  border: none;
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  margin-right: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.notes-mobile-bar button.active,
.notes-mobile-bar button:hover {
  background: var(--gold);
  color: #111;
}

/* PDF Viewer */
.notes-viewer {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.viewer-header {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  color: #111;
  padding: 8px 14px;
  border-radius: 10px 10px 0 0;
  font-size: 1rem;
}

#pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 10px 10px;
}

/* Responsive (mobile) */
@media (max-width: 900px) {
  .notes-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .notes-sidebar {
    display: none;
  }

  .notes-mobile-bar {
    display: flex;
  }

  .notes-viewer {
    height: 85vh;
  }
}
/* ===== Question Bank Section ===== */
.qbank-wrap {
  text-align: center;
  padding: 60px 5%;
}

.qbank-title {
  font-size: 2.3rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 700;
}

.qbank-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 45px;
}

/* ===== Grid Layout ===== */
.qbank-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;
  overflow: visible !important; /* absolutely crucial */
  position: relative; /* define context but allow layering */
}


.qbank-grid::-webkit-scrollbar {
  display: none;
}

/* ===== Base Card Style ===== */
.qbank-card {
  flex: 1 1 0;
  max-width: 300px;
  min-width: 280px;
  min-height: 200px;
  background: linear-gradient(145deg, #1d1336, #2a1852);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.35s ease;
}

.qbank-card h3 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.qbank-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.qbank-card {
  position: relative;
  z-index: 0;
  flex: 1 1 0;
  max-width: 300px;
  min-width: 280px;
  min-height: 200px;
  background: linear-gradient(145deg, #1d1336, #2a1852);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.35s ease;
  transform: translateZ(0); /* ensures proper stacking */
  will-change: transform;
}

.qbank-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(245,180,0,0.5);
  z-index: 10; /* lift above */
  isolation: isolate; /* create new stacking context */
}

/* ===== Mock Test Special Style ===== */
.mocktest-btn {
  background: linear-gradient(145deg, #f5b400, #ffcc52);
  color: #11100f !important;
  border: 1px solid #f5b400;
  box-shadow: 0 0 25px rgba(245,180,0,0.45);
}

.mocktest-btn h3 {
  color: #11100f;
}

.mocktest-btn p {
  color: #222;
}

.mocktest-btn:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, #ffd86a, #f5b400);
  box-shadow: 0 0 35px rgba(255,210,80,0.6);
}

/* ===== Responsive: horizontal scroll for small screens ===== */
@media (max-width: 992px) {
  .qbank-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .qbank-card {
    min-width: 280px;
  }
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .qbank-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .qbank-card {
    width: 90%;
  }
}

/* ===== GLOBAL OVERFLOW FIX ===== */
html, body {
  overflow-x: clip;     /* clip instead of hidden, prevents blocking child scrolls */
  width: 100%;
  max-width: 100vw;
}


/* Fixes for common overflow culprits */
/* Fixes for common overflow culprits (DON'T apply to divs — it breaks carousels) */
section, header, footer, main {
  max-width: 100%;
  overflow-x: clip;
}


/* ===== FIXED: Horizontal Carousels (scroll enabled) ===== */
.wn-why,
.wn-team-viewport,
.wn-experts-viewport {
  overflow-x: auto;             /* allow horizontal scroll */
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.why-carousel-wrapper,
.wn-team-track,
.wn-experts-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  scroll-snap-align: center;
  min-width: 100%;
}

.why-carousel-wrapper::-webkit-scrollbar,
.wn-team-viewport::-webkit-scrollbar,
.wn-experts-viewport::-webkit-scrollbar {
  display: none;
}



/* Avoid extra side spacing due to transforms on hover */
* {
  box-sizing: border-box;
}
/* ===== Razorpay Payment Option ===== */
.razorpay-only {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.razorpay-only:hover {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 180, 0, 0.4);
}

.razorpay-logo {
  height: 40px;
  width: auto;
  border-radius: 4px;
  background: #fff;
  padding: 4px 6px;
}

.pay-desc {
  flex: 1;
  text-align: left;
}

.pay-desc strong {
  color: var(--gold);
  font-size: 1.05rem;
  display: block;
}

.pay-desc p {
  margin: 4px 0 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.pay-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.highlight {
  color: var(--gold);
  font-weight: 700;
}
/* ===== Razorpay Checkout Card (Luxury Style) ===== */
.razorpay-card {
  display: block;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 18px 22px;
  transition: all 0.35s ease;
  cursor: pointer;
  text-align: center;
}

.razorpay-card:hover {
  background: linear-gradient(135deg, var(--purple), var(--gold));
  box-shadow: 0 10px 28px rgba(245,180,0,0.4);
  transform: translateY(-2px);
}

.razorpay-card input {
  display: none;
}

/* Inner layout */
.razorpay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rzp-main-logo {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rzp-subtext {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.rzp-subtext strong {
  color: var(--gold);
  font-size: 1.05rem;
  margin-left: 4px;
}

.rzp-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.rzp-icons img {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.razorpay-card:hover .rzp-icons img {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(245,180,0,0.5);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .razorpay-card {
    padding: 14px 16px;
  }
  .rzp-main-logo {
    height: 36px;
  }
  .rzp-icons img {
    width: 28px;
    height: 28px;
  }
}
/* ===== Razorpay Chic Card (Clean, No Icons) ===== */
.razorpay-chic.clean {
  display: block;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.35s ease;
  background: linear-gradient(145deg, #1b1238 0%, #2a1552 100%);
  border: 1px solid rgba(255,255,255,0.15);
  margin: 14px 0 30px;
  padding: 0;
}

.razorpay-chic.clean:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(245,180,0,0.45);
}

.razorpay-chic.clean input {
  display: none;
}

.razorpay-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 24px;
  width: 100%;
  box-sizing: border-box;
}

.rzp-left img {
  height: 50px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.rzp-middle {
  text-align: left;
}

.rzp-middle h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.rzp-middle p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* Glow Pulse for Chic Look */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(245,180,0,0.3); }
  50% { box-shadow: 0 0 22px rgba(245,180,0,0.6); }
}

.razorpay-chic.clean:hover {
  animation: goldPulse 2.5s infinite ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
  .razorpay-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .rzp-middle {
    text-align: center;
  }
}
/* ===== Topicwise Question Bank Section ===== */
.topicwise-wrap {
  text-align: center;
  padding: 60px 5%;
}

.topicwise-wrap .title {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.topicwise-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 45px;
}

/* ===== Grid Layout (4-column desktop) ===== */
.topicwise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 25px;
  justify-items: center;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
  overflow: visible;
}

/* ===== Base Button Style ===== */
.topic-btn {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(145deg, #1d1336, #2a1852);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 24px 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  text-align: center;
  box-sizing: border-box;
}

.topic-btn:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(245,180,0,0.45);
  z-index: 5;
}

/* ===== Title & Topic Text ===== */
.unit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.unit-topic {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ===== Special Buttons (Mixed Topic & Aptitude) ===== */
.topic-btn.special,
.topic-btn.aptitude {
  background: linear-gradient(135deg, #f5b400, #ffcc52);
  color: #11100f;
  border: none;
  box-shadow: 0 8px 24px rgba(245,180,0,0.35);
  transition: all 0.35s ease;
}

.topic-btn.special .unit-title,
.topic-btn.special .unit-topic,
.topic-btn.aptitude .unit-title,
.topic-btn.aptitude .unit-topic {
  color: #11100f;
}

.topic-btn.special:hover,
.topic-btn.aptitude:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(255,210,80,0.6);
  filter: brightness(1.05);
}


/* ===== Back Button ===== */
.back-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.back-btn .unit-title {
  color: var(--gold);
}
.back-btn .unit-topic {
  color: rgba(255,255,255,0.7);
}
.back-btn:hover {
  background: var(--gold);
  color: #11100f;
  box-shadow: 0 0 25px rgba(245,180,0,0.5);
}
.back-btn:hover .unit-title,
.back-btn:hover .unit-topic {
  color: #11100f;
}

/* ===== Responsive Layouts ===== */
@media (max-width: 1200px) {
  .topicwise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .topicwise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .topicwise-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Sleek Modern PYQ Buttons ===== */
.pyq-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.pyq-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 100px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2a1a4f 0%, #4b2e83 100%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.pyq-btn:hover {
  background: linear-gradient(135deg, #3b2170 0%, #6b2cae 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(107, 44, 174, 0.45);
  border-color: rgba(255, 255, 255, 0.25);
}

.pyq-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .pyq-btn {
    width: 180px;
    height: 80px;
    font-size: 1rem;
  }
}
/* =============================
   FEEDBACK LAYOUT + ACCORDIONS
============================= */

.feedback-wrap {
  color: #EFE9E1;
  margin-top: 40px;
  padding: 20px;
}

/* --- Layout --- */
.feedback-layout {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.feedback-left {
  flex: 1 1 55%;
}

.feedback-right {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Titles & Headings --- */
.feedback-header h1 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.feedback-left h2 {
  color: #cdbcab;
  font-size: 1.3rem;
  margin-bottom: 10px;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
}

.feedback-left h3 {
  color: #a67d44;
  margin-top: 25px;
  margin-bottom: 8px;
}

/* --- Weak Concepts List --- */
.feedback-left ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.feedback-left ul li {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin-bottom: 6px;
  transition: background 0.3s ease;
}
.feedback-left ul li:hover {
  background: rgba(245, 180, 0, 0.1);
}

/* --- Accordion (Dropdowns) --- */
.accordion {
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.accordion:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(166, 125, 68, 0.3);
}

.accordion-toggle {
  width: 100%;
  background: linear-gradient(135deg, #2a1a4f, #4b2e83);
  color: #EFE9E1;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  border: none;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
  letter-spacing: 0.3px;
  position: relative;
  transition: background 0.35s ease;
}

.accordion-toggle:hover {
  background: linear-gradient(135deg, #3b2170, #6b2cae);
}

.accordion-toggle::after {
  content: '▾';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.accordion-toggle.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 18px;
}

.accordion-toggle.open + .accordion-content {
  padding: 14px 18px;
}

.accordion-content p {
  margin: 6px 0;
  color: #d8d3cb;
  line-height: 1.6;
}

.wrong-answer {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.wrong-answer:last-child {
  border-bottom: none;
}

.wrong-answer .user { color: #e37d7d; font-weight: 600; }
.wrong-answer .correct { color: #7de37d; font-weight: 600; }

/* --- Chart & Summary --- */
.chart-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

#scoreChart {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.chart-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  pointer-events: none;
}

.chart-center-label strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gold);
}

.chart-status {
  font-size: 0.9rem;
  color: #cdbcab;
}

.score-summary {
  text-align: center;
  font-size: 1.1rem;
}
.score-summary .correct { color: #7de37d; }
.score-summary .wrong { color: #e37d7d; }
.chart-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

#scoreChart {
  width: 220px !important;
  height: 220px !important;
  display: block;
}

.chart-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: "Manrope", sans-serif;
  pointer-events: none;
}

.chart-overlay strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

#scoreStatus {
  font-size: 0.9rem;
  color: #cdbcab;
}

/* --- Table --- */
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.95rem;
}

.breakdown-table th,
.breakdown-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breakdown-table th {
  color: var(--gold);
  font-weight: 700;
  text-align: left;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .feedback-layout {
    flex-direction: column;
    padding: 20px;
  }
  .feedback-left, .feedback-right {
    flex: 1 1 100%;
  }
  .chart-container {
    margin: 20px auto;
  }
}
/* === Back to Dashboard Button === */
.feedback-actions {
  text-align: center;
  margin-top: 40px;
}

.btn-dashboard {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2a1a4f 0%, #4b2e83 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-dashboard:hover {
  background: linear-gradient(135deg, #3b2170 0%, #6b2cae 100%);
  box-shadow: 0 10px 24px rgba(107, 44, 174, 0.5);
  transform: translateY(-2px);
}

.btn-dashboard:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}
/* === FINAL FIXED AUTO-SLIDE WHY CHOOSE US === */
.wn-why {
  background: #0b0920;
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.why-title {
  font-family: "Playfair Display", serif;
  color: #f5b400;
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 12px rgba(245,180,0,0.4);
}

/* Wrapper that shows exactly one card */
.why-carousel-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Track of slides */
.why-carousel {
  display: flex;
  transition: transform 0.7s ease-in-out;
  will-change: transform;
}



.why-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.why-card p {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Dots */
.why-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
  gap: 0.6rem;
}
.why-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cdbcab;
  opacity: 0.4;
  transition: all 0.3s ease;
  cursor: pointer;
}
.why-dots span.active {
  background: #f5b400;
  opacity: 1;
  transform: scale(1.3);
}
/* --- Planner Page Layout --- */
.planner-container {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

.planner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.planner-sub {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
}

/* --- Form Styles --- */
.planner-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.planner-form input,
.planner-form select,
.planner-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
    margin-bottom: 18px;
}

.planner-form textarea {
    resize: vertical;
}

.btn-primary {
    background: #007bff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #0066d3;
}

/* --- Task List --- */
.task-list {
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.task-item {
    background: #f7f8fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-title {
    font-size: 15px;
    font-weight: 500;
}

.task-status {
    font-size: 13px;
    color: #6c757d;
}

.task-actions form {
    display: inline;
}

.complete-btn {
    background: #4caf50;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    border: none;
}

.skip-btn {
    background: #ff7043;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    border: none;
}
/* ==========================================================
   PLANNER UI (WhatNext style)
   ========================================================== */

.planner-page {
  min-height: calc(100vh - 80px);
  padding: 40px 16px 60px;
  background: radial-gradient(circle at top, #3b1f6a 0, #12041f 55%, #070310 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.planner-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: #f8f7ff;
  font-family: inherit;
}

.planner-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.planner-header-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.planner-header-sub {
  color: #d0c8ff;
  margin-top: 4px;
  max-width: 520px;
  font-size: 14px;
}

.planner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.planner-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffc727;
}

/* layout */

.planner-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .planner-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* cards */

.planner-card {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.6));
  border-radius: 18px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(22px);
}

.planner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.planner-card-title {
  font-size: 16px;
  font-weight: 600;
}

.planner-card-sub {
  font-size: 13px;
  color: #c2b7ff;
}

/* setup form */

.planner-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .planner-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.planner-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.planner-input,
.planner-select,
.planner-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 2, 24, 0.85);
  padding: 9px 11px;
  font-size: 14px;
  color: #f8f7ff;
}

.planner-input::placeholder,
.planner-textarea::placeholder {
  color: #8b80c2;
}

.planner-textarea {
  resize: vertical;
  min-height: 80px;
}

/* buttons */

.btn-planner-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 9px 20px;
  border: none;
  background: linear-gradient(135deg, #ffc727, #ff9b3d);
  color: #2a1306;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-planner-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

/* tasks list */

.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.task-main {
  flex: 1;
}

.task-title {
  font-size: 14px;
  font-weight: 500;
}

.task-meta {
  font-size: 12px;
  color: #b9b0ff;
  margin-top: 3px;
}

.task-status-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.task-status-pending {
  background: rgba(255, 199, 39, 0.14);
  color: #ffd86b;
}

.task-status-completed {
  background: rgba(76, 175, 80, 0.16);
  color: #53da7b;
}

.task-status-missed {
  background: rgba(255, 112, 67, 0.18);
  color: #ffb09b;
}

.task-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.complete-btn,
.skip-btn {
  border-radius: 999px;
  padding: 5px 10px;
  border: none;
  font-size: 11px;
  cursor: pointer;
}

.complete-btn {
  background: rgba(76, 175, 80, 0.9);
  color: #fff;
}

.skip-btn {
  background: rgba(255, 112, 67, 0.9);
  color: #fff;
}

/* streak/progress */

.streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 199, 39, 0.15);
  color: #ffdf80;
  font-size: 12px;
}

.streak-fire {
  font-size: 15px;
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.progress-bar-shell {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffc727, #ff7a3d);
}
/* ===============================
   PLANNER SURVEY: integrated style
   =============================== */

/* make the overall shell slightly elevated but transparent */
.planner-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: #fff;
  font-family: inherit;
}

/* survey card now blends: translucent glass, no hard white */
.planner-card.survey {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  transition: transform 260ms cubic-bezier(.2,.9,.23,1), box-shadow 260ms;
  overflow: hidden;
}

/* soft lift on hover for interactivity */
.planner-card.survey:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(6,2,24,0.7);
}

/* header inside blended card */
.survey-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.survey-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.survey-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  max-width: 640px;
  margin-top: 6px;
}

/* subtle accent bar to tie card to background */
.survey-accent {
  width: 6px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffd46a 0%, #ff8b42 100%);
  box-shadow: 0 6px 20px rgba(255,140,40,0.12);
  flex-shrink: 0;
}

/* form grid slightly denser - blends with shell */
.planner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 820px) {
  .planner-form-grid { grid-template-columns: 1fr; }
}

/* inputs: darker translucent fields with subtle inner glow */
.planner-input, .planner-select, .planner-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(3,1,12,0.06));
  padding: 10px 12px;
  color: #efeafc;
  font-size: 14px;
  outline: none;
  transition: box-shadow 160ms, transform 160ms;
}

.planner-input::placeholder, .planner-textarea::placeholder {
  color: rgba(239,234,252,0.45);
}

/* focus state: glow tied to brand gold */
.planner-input:focus, .planner-select:focus, .planner-textarea:focus {
  box-shadow: 0 6px 30px rgba(255,199,39,0.08), inset 0 1px 0 rgba(255,255,255,0.02);
  transform: translateY(-2px);
  border-color: rgba(255,199,39,0.22);
}

/* call-to-action button: fancier */
.btn-planner-primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: #2a1306;
  background: linear-gradient(90deg, #ffd46a 0%, #ff9b3d 55%, #ff7a3d 100%);
  box-shadow: 0 12px 30px rgba(255,140,40,0.15);
  transition: transform 160ms, box-shadow 160ms;
  cursor:pointer;
}

.btn-planner-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(255,140,40,0.2);
}

/* small helper text that blends in */
.form-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: -6px;
  margin-bottom: 8px;
}

/* subtle animated background elements inside the card (decorative) */
.planner-card .bg-orb {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(255,200,80,0.07), rgba(255,120,60,0.02));
  filter: blur(30px);
  pointer-events: none;
  transform: rotate(6deg);
  display: none !important;
}

/* micro-entrance animation for the card */
.planner-card.survey {
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 480ms cubic-bezier(.2,.9,.23,1) forwards;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* make labels lighter and integrated */
.planner-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  display:block;
  margin-bottom:6px;
}

/* small responsive tweaks */
@media (max-width:480px) {
  .planner-header-title { font-size: 20px; }
  .survey-sub { font-size: 13px; }
  .planner-card.survey { padding: 16px; border-radius: 14px; }
}

/* ===============================
   CLEAN DARK THEME (LESS PURPLE)
   =============================== */

/* Planner full background */
.planner-page {
  background: linear-gradient(180deg, #0e0e10, #111113);
  color: #fff;
}

/* Shell spacing stays same but neutral tone */
.planner-shell {
  background: transparent !important;
}

/* Survey accent (keep gold) */
.survey-accent {
  background: linear-gradient(180deg, #ffd46a, #ff9f43) !important;
  box-shadow: 0 6px 20px rgba(255, 170, 60, 0.12) !important;
}

/* Inputs – cleaner charcoal with light borders */
.planner-input,
.planner-select,
.planner-textarea,
.cs-button {
  background: rgba(30, 30, 35, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  backdrop-filter: blur(3px);
}

/* Custom popup list */
.cs-list {
  background: rgba(20, 20, 24, 0.98) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* Items */
.cs-item:hover {
  background: rgba(255, 210, 60, 0.05) !important;
  color: #ffd46a !important;
}
.cs-item.selected {
  background: rgba(255, 210, 60, 0.12) !important;
  color: #ffd46a !important;
}

/* Panels on dashboard */
.panel,
.planner-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
}

/* Task bullets – neutral slate with gold text */
.task-bullet {
  background: linear-gradient(180deg, #1e1e22, #101013) !important;
  color: #ffd46a !important;
}

/* Status pills */
.task-status {
  color: #ccc !important;
}

/* Remove purple tones globally for planner */
.planner-page * {
  --purple: transparent;
  --deep-purple: transparent;
}

/* Why carousel should show multiple cards */
.why-carousel-wrapper {
  overflow: hidden;
}

.why-carousel {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* 3 cards on desktop */
.why-carousel .why-card {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards + 2 gaps */
  min-width: 0;
}

/* 2 cards on tablets */
@media (max-width: 900px) {
  .why-carousel .why-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

/* 1 card on mobile */
@media (max-width: 560px) {
  .why-carousel .why-card {
    flex: 0 0 100%;
  }
}

/* Dots */
.why-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.why-dots span.active {
  background: rgba(255,255,255,0.9);
}
/* === FORCE Why Choose Us carousel to span full width === */
.wn-why {
  width: 100%;
}

.why-carousel-wrapper {
  width: 100%;
  max-width: 1200px;   /* adjust if you want wider */
  margin: 0 auto;
  overflow: hidden;
}

.why-carousel {
  width: 100%;
  display: flex;
  gap: 24px;
}
/* ===== FIX: Why Choose Us should show multiple cards ===== */
.wn-why { width: 100%; }

.wn-why .why-carousel-wrapper{
  width: 100%;
  max-width: 1200px;   /* adjust as you like */
  margin: 0 auto;
  overflow: hidden;
}

.wn-why .why-carousel{
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* IMPORTANT: remove any full-width constraints */
.wn-why .why-card{
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 calc((100% - 48px) / 3);  /* 3 cards on desktop */
}

/* 2 cards on tablet */
@media (max-width: 900px){
  .wn-why .why-card{ flex: 0 0 calc((100% - 24px) / 2); }
}

/* 1 card on mobile */
@media (max-width: 560px){
  .wn-why .why-card{ flex: 0 0 100%; }
}
/* ===== FINAL FIX: Why Choose Us multi-card carousel (scroll based) ===== */
.wn-why { width: 100%; }

.wn-why .why-carousel-wrapper{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 12px; /* prevents edge cut on small screens */
}

.wn-why .why-carousel{
  display: flex !important;
  gap: 24px !important;
  width: 100% !important;

  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;          /* Firefox */
}
.wn-why .why-carousel::-webkit-scrollbar{ display:none; } /* Chrome */

.wn-why .why-card{
  scroll-snap-align: start;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;

  flex: 0 0 calc((100% - 48px) / 3) !important; /* 3 cards desktop */
}

@media (max-width: 900px){
  .wn-why .why-card{ flex: 0 0 calc((100% - 24px) / 2) !important; } /* 2 cards */
}
@media (max-width: 560px){
  .wn-why .why-card{ flex: 0 0 100% !important; } /* 1 card */
}

/* dots */
.wn-why .why-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.wn-why .why-dots span{
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.wn-why .why-dots span.active{ background: rgba(255,255,255,0.9); }
/* ===== Why Choose Us: WIDTH FIX (keep your current carousel JS) ===== */
.wn-why { width: 100%; }

.wn-why .why-carousel-wrapper{
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 16px; /* prevents edge cut */
}

.wn-why .why-carousel{
  display: flex !important;
  gap: 24px !important;
  width: 100% !important;
}

/* force multi-card width even if old .why-card sets width:100% */
.wn-why .why-card{
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;

  /* 3 cards visible on desktop */
  flex: 0 0 calc((100% - 48px) / 3) !important;
}

@media (max-width: 900px){
  /* 2 cards visible */
  .wn-why .why-card{ flex: 0 0 calc((100% - 24px) / 2) !important; }
}

@media (max-width: 560px){
  /* 1 card visible */
  .wn-why .why-card{ flex: 0 0 100% !important; }
}
/* ===== Why Choose Us: FORCE 3/2/1 cards visible ===== */
.wn-why .why-carousel-wrapper{
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 16px;
}

.wn-why .why-carousel{
  display: flex !important;
  gap: 24px !important;
  width: 100% !important;
}

/* Desktop: 3 cards (IMPORTANT overrides) */
.wn-why .why-carousel .why-card{
  flex: 0 0 calc((100% - 48px) / 3) !important; /* 2 gaps * 24px = 48px */
  width: calc((100% - 48px) / 3) !important;
  min-width: 0 !important;          /* prevents forcing full width */
  max-width: none !important;
  margin: 0 !important;
}

/* Tablet: 2 cards */
@media (max-width: 900px){
  .wn-why .why-carousel .why-card{
    flex: 0 0 calc((100% - 24px) / 2) !important;
    width: calc((100% - 24px) / 2) !important;
  }
}

/* Mobile: 1 card */
@media (max-width: 560px){
  .wn-why .why-carousel .why-card{
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
/* ===== Why Choose Us: multi-card width (for .item in base.html) ===== */
.wn-why .container{
  width: min(1200px, 100%);
  margin: 0 auto;
}

.wn-why .why-carousel-wrapper{
  width: 100%;
  overflow: hidden;
}

.wn-why .why-carousel{
  display: flex !important;
  gap: 24px !important;
  width: 100% !important;

  overflow-x: auto;                 /* needed for your scroll-based JS */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}
.wn-why .why-carousel::-webkit-scrollbar{ display: none; }

/* IMPORTANT: your cards are .item (not .why-card) */
.wn-why .why-carousel .item{
  flex: 0 0 calc((100% - 48px) / 3) !important; /* 3 cards desktop */
  width: calc((100% - 48px) / 3) !important;

  margin: 0 !important;
  max-width: none !important;
  scroll-snap-align: start;
}

@media (max-width: 900px){
  .wn-why .why-carousel .item{
    flex: 0 0 calc((100% - 24px) / 2) !important; /* 2 cards */
    width: calc((100% - 24px) / 2) !important;
  }
}

@media (max-width: 560px){
  .wn-why .why-carousel .item{
    flex: 0 0 100% !important; /* 1 card */
    width: 100% !important;
  }
}
.wn-why .why-carousel { scroll-padding-left: 0; }
.wn-why .why-carousel-wrapper { padding-right: 16px; }
.why-carousel-wrapper{
  overflow: hidden;          /* hides off-screen cards */
}

.why-carousel{
  display: flex;
  gap: 16px;
  transition: transform .4s ease;
  will-change: transform;
}

.why-carousel .item{
  flex: 0 0 100%;            /* show 1 card at a time */
  box-sizing: border-box;
}
.why-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.why-dots span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.why-dots span.active{
  background: rgba(255,255,255,0.9);
}
//* ===== TEAM CAROUSEL ===== */

.wn-team{
  max-width: 1100px;   /* keeps it from going full width */
  margin: 0 auto;
}

.wn-team-viewport{
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.wn-team-viewport::-webkit-scrollbar{
  display: none;
}

.wn-team-track{
  display: flex;
}

.wn-team-slide{
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}

/* dots inside container */
.team-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.team-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.team-dots .dot.active{
  background: #f5c400;
}
/* ===== TEAM CAROUSEL FIX ===== */

.wn-team-viewport{
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wn-team-viewport::-webkit-scrollbar{
  display: none;
}

.wn-team-track{
  display: flex;
}

.wn-team-slide{
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
}

/* dots */
.team-dots{
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
}

.team-dots .dot.active{
  background: #f5c400;
}
/* FORCE horizontal swipe for team carousel */
#teamViewport{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
/* Fix dots layout */
#teamDots.team-dots{
  display: flex !important;
  justify-content: center !important;   /* no spreading */
  align-items: center !important;
  gap: 10px !important;                 /* spacing between dots */
  width: fit-content !important;        /* don't stretch */
  margin: 14px auto 0 !important;       /* center inside container */
  padding: 0 !important;
}

/* Dot style */
#teamDots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  flex: 0 0 auto !important;            /* IMPORTANT: prevent stretching */
}

#teamDots .dot.active{
  background: #f5b400; /* your yellow */
}
/* make the purple card / carousel box a fixed-width centered container */
#teamViewport{
  position: relative;        /* anchor for dots */
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  padding-bottom: 56px;      /* room for dots */
}


#teamCarousel{ position: relative; z-index: 1; }

#teamDots{
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;                 /* this is the key */
  display: flex;
  justify-content: center;  /* true center */
  gap: 10px;
  z-index: 50;
}
#teamDots .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  flex: 0 0 auto;
}

#teamDots .dot.active{
  background: #f5b400;
}
#teamViewport{
  position: relative;
  overflow: hidden;
  padding-bottom: 56px; /* space for dots */
}

#teamTrack{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.wn-team-slide{
  flex: 0 0 100%;
  min-width: 100%;
}

#teamDots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 50;
}
/* ===== Experts (Redesign) ===== */
.wn-experts{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:26px 16px 10px;
}

.wn-experts-head{
  text-align:center;
  margin-bottom:14px;
}

.wn-experts-title{
  margin:0;
  font-size:clamp(24px, 2.2vw, 36px);
  font-weight:900;
}

.wn-experts-subtitle{
  margin:8px auto 0;
  max-width:680px;
  opacity:.9;
  line-height:1.5;
}

/* viewport scroll-snap carousel */
.wn-experts-viewport{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none; /* Firefox */
  border-radius:18px;
}
.wn-experts-viewport::-webkit-scrollbar{ display:none; }

.wn-experts-track{
  display:flex;
  flex-direction: row;
  gap:0;
  padding:0;
  width:100%;
}


.wn-expert-card{
  scroll-snap-align:center;
  flex:0 0 100%;
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  min-width: 100%;
  scroll-snap-align: center;
}

@media (min-width: 900px){
  .wn-expert-card{ flex-basis: 100%; } /* 2 cards on desktop */
  .wn-experts-viewport{ overflow-x:auto; }     /* no horizontal scroll on desktop */
}

.wn-expert-top{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}

.wn-expert-photo{
  width:56px;
  height:56px;
  border-radius:14px;
  overflow:hidden;
  flex:0 0 56px;
  border:1px solid rgba(255,200,0,.35);
  background:rgba(255,200,0,.15);
}
.wn-expert-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.wn-expert-name{
  margin:0;
  font-size:18px;
  font-weight:900;
}
.wn-expert-role{
  margin:4px 0 0;
  font-size:13px;
  opacity:.85;
  line-height:1.35;
}

.wn-expert-quote{
  margin:10px 0 12px;
  line-height:1.6;
  opacity:.96;
}

.wn-expert-morebtn{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.18);
  color:#fff;
  padding:9px 12px;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
}

.wn-expert-more{
  margin-top:10px;
  line-height:1.6;
  opacity:.95;
  display:none;
}

/* dots */
.wn-experts-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:14px;
  min-height:14px;
}

.wn-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:transparent;
  padding:0;
  cursor:pointer;
  opacity:.9;
}
.wn-dot.active{
  background:rgba(255,200,0,.75);
  border-color:rgba(255,200,0,.95);
}
.wn-dash{padding:18px}
.wn-dash-head{display:grid;gap:10px;margin-bottom:16px}
.wn-dash-title{font-size:1.4rem;margin:0}
.wn-dash-sub{opacity:.8;margin:0}
.wn-dash-actions{display:flex;gap:10px;flex-wrap:wrap}

.wn-dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.wn-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px}
.wn-card h3{margin:0 0 10px 0;font-size:1.05rem}
.wn-card-list{margin:0;padding-left:18px;display:grid;gap:6px}
.wn-muted{opacity:.8;margin:10px 0 0 0;font-size:.95rem}
.wn-card-actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}

.wn-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.wn-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);font-size:.9rem;opacity:.95}

.wn-card-wide{grid-column:1 / -1}

@media(max-width:720px){
  .wn-dash-grid{grid-template-columns:1fr}
  .wn-card-wide{grid-column:auto}
}
/* Dashboard product image uniform sizing */
.wn-product-thumb{
  width: 100%;
  height: 220px;              /* SAME height for both */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.wn-product-thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;        /* keeps aspect ratio */
}
.wn-user{position:relative;display:inline-flex;align-items:center}

.wn-avatar{
  border:0;
  padding:0;
}

.wn-user-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:170px;
  padding:8px;
  border-radius:14px;
  background:rgba(20, 13, 34, 0.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  backdrop-filter:saturate(1.1) blur(10px);
  display:none;
  z-index:60;
}

.wn-user.open .wn-user-menu{display:block;}

.wn-user-menu a{
  display:flex;
  width:100%;
  padding:10px 10px;
  border-radius:12px;
  color:var(--white);
  text-decoration:none;
  font-weight:700;
  opacity:.95;
}
.wn-user-menu a:hover{background:rgba(255,255,255,.08);opacity:1;}
/* Anchor for dropdown */
.wn-user{
  position:relative;
  display:inline-flex;
  align-items:center;
}

/* Floating dropdown card */
.wn-user-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);

  width:max-content;
  min-width:170px;
  max-width:220px;

  padding:8px;
  border-radius:14px;
  background:rgba(20, 13, 34, 0.94);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 50px rgba(0,0,0,.38);
  backdrop-filter:saturate(1.1) blur(10px);

  display:none;
  z-index:9999;

  /* IMPORTANT: prevent “full height strip” */
  height:auto;
  min-height:unset;
  max-height:unset;
}

/* Show state */
.wn-user.open .wn-user-menu{ display:block; }

/* Menu items */
.wn-user-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}

.wn-user-menu a:hover{
  background:rgba(255,255,255,.08);
}

/* Optional: little pointer */
.wn-user-menu::before{
  content:"";
  position:absolute;
  right:14px;
  top:-6px;
  width:12px;
  height:12px;
  transform:rotate(45deg);
  background:rgba(20, 13, 34, 0.94);
  border-left:1px solid rgba(255,255,255,.10);
  border-top:1px solid rgba(255,255,255,.10);
}
.wn-header, .wn-header-inner, .wn-nav{
  overflow:visible !important;
}
/* === Avatar dropdown menu (FIXED) === */
.wn-user-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);

  display: none;                 /* hidden by default */
  flex-direction: column;

  min-width: 170px;
  width: max-content;
  max-width: 220px;

  padding: 8px;
  border-radius: 14px;

  background: rgba(20, 13, 34, 0.94);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  backdrop-filter: saturate(1.1) blur(10px);

  z-index: 9999;

  /* 🔥 THIS PREVENTS THE TALL STRIP */
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  align-self: flex-start !important;
}

/* open state */
.wn-user.open .wn-user-menu{
  display: block;
}
.wn-header{
  overflow: visible !important;
}
/* === Avatar dropdown anchor === */
.wn-user{ display:inline-flex; align-items:center; }

/* === Avatar dropdown menu (FIX: fixed popover) === */
.wn-user-menu{
  position: fixed;           /* ✅ not affected by header/grid */
  display: none;
  z-index: 100001;           /* above header + banner */

  min-width: 170px;
  max-width: 240px;
  padding: 8px;
  border-radius: 14px;

  background: rgba(20, 13, 34, 0.94);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  backdrop-filter: saturate(1.1) blur(10px);

  height: auto !important;   /* ✅ prevent tall strip */
}

.wn-user.open .wn-user-menu{ display:block; }

.wn-user-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}
.wn-user-menu a:hover{ background: rgba(255,255,255,.08); }

/* === FINAL TEAM CAROUSEL OVERRIDE (keep at bottom) === */
#teamViewport,
.wn-team-viewport{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  position: relative;
}

#teamTrack,
.wn-team-track{
  display: flex;
  gap: 0;
}

.wn-team-slide{
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

