/* ================= RESET ================= */
*{margin:0;padding:0;box-sizing:border-box}

/* ================= THEME ================= */
:root{
  --blue:linear-gradient(135deg,#2563eb,#60a5fa);
  --green:linear-gradient(135deg,#059669,#34d399);
  --dark:#020617;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;
  --radius:18px;
  --shadow:0 18px 40px rgba(2,6,23,.18);
}

body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:#ffffff;
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
}

/* ================= HEADER ================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#020617;
}

.logo-area{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.1rem 1.5rem;
  position:relative;
}

.logo{
  font-size:1.6rem;
  font-weight:900;
  color:#f8fafc;
  text-decoration:none;
}
.logo span{color:#38bdf8}

.menu-toggle{
  display:none;
  position:absolute;
  right:1.5rem;
  font-size:1.8rem;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
}

.main-nav{
  display:flex;
  justify-content:center;
  gap:2rem;
  padding:.9rem 1rem 1.2rem;
  border-top:1px solid rgba(255,255,255,.08);
}

.main-nav a{
  color:#e5e7eb;
  text-decoration:none;
  font-weight:600;
  position:relative;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#38bdf8;
  transition:.3s;
}
.main-nav a:hover::after{width:100%}


/*====== New header CSS =====*/


/* ================= DROPDOWN ================= */

.nav-item {
  position: relative;
}

.has-dropdown > a {
  cursor: pointer;
}

/* First Level Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f172a;
  min-width: 260px;
  display: none;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding: .5rem 0;
  z-index: 1000;
}

.dropdown a {
  padding: .7rem 1rem;
  color: #e5e7eb;
  font-weight: 500;
  display: block;
}

.dropdown a:hover {
  background: rgba(56,189,248,0.1);
  color: #38bdf8;
}

/* Show dropdown on hover (desktop) */
.nav-item:hover .dropdown {
  display: flex;
}

/* ================= SUB DROPDOWN ================= */

.has-sub-dropdown {
  position: relative;
}

.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: #1e293b;
  min-width: 300px;
  display: none;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  padding: .5rem 0;
}

.has-sub-dropdown:hover .sub-dropdown {
  display: flex;
}


/* ================= HERO ================= */
.hero-home{
  background:linear-gradient(135deg,#eef6ff,#e0f2fe);
  padding:6rem 2rem;
  text-align:center;
}

.hero-home h1{
  font-size:3rem;
  font-weight:900;
}
.hero-home h1 span{
  background:linear-gradient(90deg,#2563eb,#22c55e);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero-home p{
  max-width:820px;
  margin:1.6rem auto;
  font-size:1.15rem;
  color:var(--muted);
}

.hero-actions{
  margin-top:2.4rem;
  display:flex;
  justify-content:center;
  gap:1.2rem;
  flex-wrap:wrap;
}

.btn-primary{
  background:var(--blue);
  color:#fff;
  padding:1rem 2.4rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 15px 35px rgba(37,99,235,.35);
}

.btn-secondary{
  background:#fff;
  border:2px solid #2563eb;
  color:#2563eb;
  padding:1rem 2.4rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}

/* ================= SECTION ================= */
section{
  max-width:1280px;
  margin:auto;
  padding:5rem 2rem;
}

.section-header{
  text-align:center;
  margin-bottom:3rem;
}

.section-header h2{
  font-size:2.4rem;
}
.section-header p{
  color:var(--muted);
  margin-top:.6rem;
}

/* ================= GRID ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.8rem;
}

.card{
  padding:2.2rem;
  border-radius:var(--radius);
  color:#fff;
  box-shadow:var(--shadow);
  transition:.3s;
}
.card:hover{transform:translateY(-6px)}
.c-blue{background:var(--blue)}
.c-green{background:var(--green)}

/* ================= FOOTER ================= */
footer{
  background:#020617;
  color:#cbd5e1;
  padding:3.5rem 2rem 2rem;
}

.footer-content{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:2.5rem;
}

footer strong{
  color:#fff;
  display:block;
  margin-bottom:.8rem;
}

footer a{
  color:#cbd5e1;
  text-decoration:none;
  display:block;
  margin:.45rem 0;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:2rem;
  padding-top:1rem;
  text-align:center;
  font-size:.9rem;
  color:#94a3b8;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .menu-toggle{display:block}
  .main-nav{
    display:none;
    flex-direction:column;
    background:#020617;
  }
  .main-nav.show{display:flex}
  .main-nav a{
    padding:1rem;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .hero-home h1{font-size:2.1rem}
}

/* ================= PREMIUM HERO ================= */
.premium-hero{
  background:
    radial-gradient(circle at top right,#dbeafe,transparent 45%),
    radial-gradient(circle at bottom left,#e0f2fe,transparent 45%),
    linear-gradient(135deg,#f8fbff,#eef6ff);
}

.hero-inner{
  max-width:1100px;
  margin:auto;
}

.hero-badge{
  display:inline-block;
  background:#e0f2fe;
  color:#0369a1;
  font-weight:700;
  padding:.45rem 1rem;
  border-radius:999px;
  font-size:.85rem;
  margin-bottom:1.6rem;
}

/* ================= SUBJECT CARDS ================= */
.subject-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.8rem;
}

.subject-card{
  background:#ffffff;
  border-radius:18px;
  padding:2.2rem;
  text-decoration:none;
  color:#0f172a;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  transition:.3s ease;
  position:relative;
}

.subject-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(15,23,42,.12);
}

.subject-card h3{
  margin-bottom:.6rem;
  font-size:1.35rem;
}

.subject-card p{
  color:#475569;
  font-size:.95rem;
}

.card-btn{
  display:inline-block;
  margin-top:1.4rem;
  color:#2563eb;
  font-weight:700;
  font-size:.95rem;
}

.highlight-card{
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:#ffffff;
}

.highlight-card p,
.highlight-card .card-btn{
  color:#ffffff;
}

/* ================= NUMBERED LIST ================= */
.light-section{
  background:#f8fafc;
}

.numbered-list{
  max-width:900px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:.8rem;
}

.list-row{
  display:flex;
  align-items:center;
  gap:1rem;
  background:#ffffff;
  padding:1.1rem 1.4rem;
  border-radius:12px;
  text-decoration:none;
  color:#0f172a;
  box-shadow:0 6px 20px rgba(15,23,42,.06);
  transition:.25s ease;
}

.list-row:hover{
  transform:translateX(6px);
}

.list-row span{
  min-width:34px;
  height:34px;
  border-radius:50%;
  background:#2563eb;
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

/* ================= FANCY SECTION HEADERS ================= */
.fancy-header h2{
  font-size:2.6rem;
  font-weight:900;
  background:linear-gradient(90deg,#2563eb,#22c55e);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.fancy-header p{
  font-size:1.05rem;
}

/* ================= COLORFUL SUBJECT CARDS ================= */
.colorful-grid .subject-card{
  color:#ffffff;
  border-radius:20px;
  padding:2.4rem;
  box-shadow:0 16px 45px rgba(2,6,23,.25);
}

.subject-card h3{
  font-size:1.45rem;
  margin-bottom:.6rem;
}

.subject-card p{
  font-size:.95rem;
  opacity:.95;
}

.subject-card .card-btn{
  display:inline-block;
  margin-top:1.6rem;
  padding:.6rem 1.3rem;
  background:rgba(255,255,255,.2);
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
  color:#ffffff;
}

.subject-card:hover{
  transform:translateY(-8px) scale(1.02);
}

/* GRADIENT COLORS */
.c-blue{background:linear-gradient(135deg,#2563eb,#60a5fa)}
.c-purple{background:linear-gradient(135deg,#7c3aed,#a78bfa)}
.c-green{background:linear-gradient(135deg,#059669,#34d399)}
.c-orange{background:linear-gradient(135deg,#ea580c,#fb923c)}
.c-teal{background:linear-gradient(135deg,#0d9488,#2dd4bf)}

.highlight-card{
  background:linear-gradient(135deg,#020617,#2563eb);
}

/* ================= ARTICLES GRID ================= */
.articles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.8rem;
  max-width:1200px;
  margin:auto;
}

.article-card{
  background:#ffffff;
  padding:1.8rem;
  border-radius:16px;
  text-decoration:none;
  color:#0f172a;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
  transition:.3s ease;
}

.article-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(15,23,42,.12);
}

.article-card span{
  display:inline-flex;
  width:36px;
  height:36px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:#2563eb;
  color:#ffffff;
  font-weight:800;
  margin-bottom:.8rem;
}

.article-card h4{
  font-size:1.1rem;
  margin-bottom:.4rem;
}

.article-card p{
  font-size:.9rem;
  color:#475569;
}

/* ================= POPULAR TUTORIAL COLUMNS ================= */
.tutorial-columns{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2.2rem;
}

/* COLUMN CARD */
.tutorial-column{
  background:#ffffff;
  border-radius:18px;
  padding:2rem 1.8rem;
  box-shadow:0 14px 36px rgba(15,23,42,.08);
}

/* COLUMN TITLE */
.tutorial-column h3{
  font-size:1.4rem;
  margin-bottom:1.4rem;
  padding-bottom:.6rem;
  border-bottom:2px solid #e2e8f0;
  background:linear-gradient(90deg,#2563eb,#22c55e);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* LIST ITEM */
.tutorial-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:.75rem .4rem;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
  font-size:.95rem;
  transition:.25s ease;
  border-radius:10px;
}

.tutorial-item:hover{
  background:#f1f5f9;
  transform:translateX(6px);
}

/* NUMBER BADGE */
.tutorial-item span{
  min-width:32px;
  height:32px;
  border-radius:50%;
  background:#2563eb;
  color:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:.85rem;
}

/* MOBILE */
@media(max-width:900px){
  .tutorial-columns{
    grid-template-columns:1fr;
  }
}

/* ================= FAQ SECTION ================= */
.faq-wrapper{
  max-width:900px;
  margin:auto;
}

/* FAQ ITEM */
.faq-item{
  background:#ffffff;
  border-radius:16px;
  margin-bottom:1.2rem;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
  overflow:hidden;
}

/* QUESTION BUTTON */
.faq-question{
  width:100%;
  background:none;
  border:none;
  padding:1.4rem 1.6rem;
  font-size:1.05rem;
  font-weight:700;
  color:#0f172a;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  text-align:left;
}

.faq-question span{
  font-size:1.6rem;
  font-weight:800;
  color:#2563eb;
  transition:.25s ease;
}

/* ANSWER */
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq-answer p{
  padding:0 1.6rem 1.6rem;
  color:#475569;
  font-size:.95rem;
  line-height:1.7;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer{
  max-height:300px;
}

.faq-item.active .faq-question span{
  transform:rotate(45deg);
}

/* MOBILE */
@media(max-width:768px){
  .faq-question{
    font-size:1rem;
  }
}

/* ===== Enhanced Section Headers ===== */
.fancy-header h2{
  font-size:2.4rem;
  letter-spacing:-0.4px;
}

.fancy-header p{
  font-size:1.05rem;
  color:#475569;
  margin-top:.7rem;
}

/* ===== Premium Subject Cards ===== */
.subject-grid{
  gap:2.4rem;
}

.subject-card{
  padding:2.6rem 2.4rem;
  border-radius:22px;
  text-decoration:none;
  color:#ffffff;
  position:relative;
  overflow:hidden;
  box-shadow:0 22px 50px rgba(2,6,23,.28);
  transition:.35s ease;
}

.subject-card h3{
  font-size:1.55rem;
  margin-bottom:.6rem;
  letter-spacing:-0.3px;
}

.subject-card p{
  font-size:1.02rem;
  line-height:1.6;
  opacity:.95;
  margin-bottom:1.8rem;
}

/* CTA BUTTON */
.card-btn{
  display:inline-block;
  background:rgba(255,255,255,.18);
  padding:.7rem 1.6rem;
  border-radius:999px;
  font-weight:700;
  font-size:.9rem;
  backdrop-filter:blur(6px);
}

/* Hover */
.subject-card:hover{
  transform:translateY(-10px) scale(1.025);
  box-shadow:0 28px 65px rgba(2,6,23,.45);
}

/* Highlight Interview Card */
.highlight-card{
  background:linear-gradient(135deg,#020617,#2563eb);
}

/* ===== Tutorial Columns Refinement ===== */
.tutorial-column{
  padding:2.4rem 2.2rem;
  border-radius:22px;
  box-shadow:0 16px 42px rgba(15,23,42,.1);
}

.tutorial-column h3{
  font-size:1.45rem;
  margin-bottom:1.6rem;
}

.tutorial-item{
  padding:.85rem .6rem;
  font-size:.97rem;
}

.tutorial-item span{
  min-width:34px;
  height:34px;
  font-size:.85rem;
}


/* ===== Mobile Typography ===== */
@media(max-width:768px){
  .subject-card{
    padding:2.2rem 2rem;
  }

  .subject-card h3{
    font-size:1.4rem;
  }

  .fancy-header h2{
    font-size:2rem;
  }
}

/* ================= FIX CARD TEXT READABILITY ================= */

/* Force white text on all subject cards */
.subject-card,
.subject-card h3,
.subject-card p,
.subject-card .card-btn{
  color:#ffffff !important;
}

/* Improve text clarity */
.subject-card h3,
.subject-card p{
  text-shadow:0 2px 6px rgba(0,0,0,.25);
}

/* Improve paragraph contrast */
.subject-card p{
  opacity:0.98;
}

/* CTA button contrast */
.subject-card .card-btn{
  background:rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.25);
  text-shadow:none;
}

/* Hover enhancement */
.subject-card:hover .card-btn{
  background:#ffffff;
  color:#020617 !important;
}


.subject-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.15),
    rgba(0,0,0,.35)
  );
  z-index:0;
}

.subject-card *{
  position:relative;
  z-index:1;
}

/* ================= PREMIUM HERO (NO IMAGE) ================= */

.premium-hero{
  position:relative;
  background:linear-gradient(135deg,#eef6ff,#ffffff);
  padding:6.5rem 2rem 5.5rem;
  text-align:center;
  overflow:hidden;
}

/* subtle premium background texture */
.premium-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(rgba(37,99,235,.08) 1px, transparent 1px);
  background-size:18px 18px;
  pointer-events:none;
}

/* badge */
.hero-badge{
  display:inline-block;
  background:#e0f2fe;
  color:#0369a1;
  padding:.5rem 1rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
  margin-bottom:1.4rem;
}

/* heading */
.premium-hero h1{
  font-size:3.1rem;
  line-height:1.15;
  max-width:900px;
  margin:0 auto 1.2rem;
  animation:fadeUp .5s ease both;
}

.hero-highlight{
  background:linear-gradient(90deg,#2563eb,#22c55e);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  font-weight:900;
}

/* description */
.hero-description{
  max-width:780px;
  margin:0 auto 1.6rem;
  font-size:1.15rem;
  color:#475569;
}

/* learning chips */
.hero-chips{
  display:flex;
  gap:.8rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:2.2rem;
}

.hero-chips span{
  background:#eef2ff;
  color:#1d4ed8;
  padding:.45rem .9rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
}

/* CTA */
.hero-actions{
  display:flex;
  gap:1.3rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:2.2rem;
}

.btn-primary{
  background:linear-gradient(135deg,#2563eb,#22c55e);
  color:#ffffff;
  padding:1rem 2.4rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 18px 40px rgba(37,99,235,.35);
}

.btn-primary:hover{opacity:.95}

.btn-secondary{
  border:2px solid #2563eb;
  color:#2563eb;
  padding:1rem 2.2rem;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
}

/* trust line */
.hero-trust{
  display:flex;
  gap:1.5rem;
  justify-content:center;
  flex-wrap:wrap;
  font-size:.95rem;
  color:#475569;
}

/* animation */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:none}
}

/* mobile */
@media(max-width:768px){
  .premium-hero h1{
    font-size:2.2rem;
  }

  .hero-description{
    font-size:1.05rem;
  }
}

/* ================= SCROLL INDICATOR ================= */

.scroll-indicator{
  margin-top:3rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.4rem;
  color:#64748b;
  font-size:.85rem;
  animation:fadeIn 1s ease both;
}

.scroll-indicator .arrow{
  width:18px;
  height:18px;
  border-left:2px solid #64748b;
  border-bottom:2px solid #64748b;
  transform:rotate(-45deg);
  animation:bounce 1.6s infinite;
}

/* animations */
@keyframes bounce{
  0%,100%{transform:translateY(0) rotate(-45deg)}
  50%{transform:translateY(6px) rotate(-45deg)}
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

/* hide on very small screens if needed */
@media(max-width:480px){
  .scroll-indicator{
    margin-top:2.2rem;
  }
}


/* ================= HOMEPAGE CLUSTERS ================= */

.cluster-section{
  max-width:1200px;
  margin:4.5rem auto;
  padding:0 1.5rem;
}

.cluster-section.light{
  background:#f8fafc;
  padding:4rem 1.5rem;
}

.cluster-section h2{
  text-align:center;
  font-size:2.2rem;
  margin-bottom:2rem;
}

.cluster-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.2rem;
}

.cluster-grid a{
  background:#ffffff;
  padding:1.2rem 1.4rem;
  border-radius:14px;
  border:1px solid #e2e8f0;
  text-decoration:none;
  font-weight:600;
  color:#0f172a;
  box-shadow:0 10px 24px rgba(2,6,23,.08);
  transition:.25s ease;
}

.cluster-grid a:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(2,6,23,.18);
  color:#2563eb;
}

/* Highlight money pages */
.cluster-grid a.highlight{
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:#ffffff;
  border:none;
}

.cluster-grid a.highlight:hover{
  color:#ffffff;
}

/* ================= CLEAN & ALIGNED PREMIUM CLUSTERS ================= */

.cluster-premium{
  padding:5.5rem 1.5rem;
  background:#ffffff;
}

.cluster-container{
  max-width:1200px;
  margin:auto;
}

/* HEADER */
.cluster-head{
  text-align:center;
  margin-bottom:3rem;
}

.cluster-head h2{
  font-size:2.4rem;
  font-weight:900;
  background:linear-gradient(90deg,#2563eb,#22c55e);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.cluster-head p{
  margin-top:.6rem;
  color:#475569;
  font-size:1.05rem;
}

/* GRID */
.cluster-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.6rem;
}

/* CARD */
.cluster-card{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.4rem 1.6rem;
  border-radius:16px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
  box-shadow:0 8px 22px rgba(2,6,23,.08);
  transition:all .3s ease;
}

.cluster-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(2,6,23,.18);
  color:#2563eb;
}

/* BADGE */
.cluster-card .badge{
  min-width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.9rem;
  font-weight:800;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  color:#ffffff;
  box-shadow:0 6px 14px rgba(37,99,235,.4);
}

/* TEXT */
.cluster-card .card-text{
  line-height:1.4;
}

/* HIGHLIGHT (MONEY PAGE) */
.cluster-card.highlight{
  background:linear-gradient(135deg,#2563eb,#22c55e);
  border:none;
  color:#ffffff;
}

.cluster-card.highlight .badge{
  background:#ffffff;
  color:#2563eb;
}

.cluster-card.highlight:hover{
  color:#ffffff;
}

/* FOOTER CTA */
.cluster-footer{
  text-align:center;
  margin-top:2.4rem;
}

.cluster-footer a{
  font-weight:700;
  text-decoration:none;
  color:#2563eb;
}

.cluster-footer a:hover{
  text-decoration:underline;
}

/* MOBILE */
@media(max-width:768px){
  .cluster-head h2{
    font-size:2rem;
  }
}



/* ===== DROPDOWN FIX ===== */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  color: #0f172a; /* force color */
}

/* Dropdown box */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  z-index: 9999;
}

/* Dropdown links */
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #0f172a !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

/* Show dropdown */
.nav-dropdown.show .dropdown-menu {
  display: block;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 12px;
  }

  .dropdown-menu a {
    padding: 10px 0;
  }
}


/* ==============================
   Manual Page – Colorful Tags
   ============================== */

.manual-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Base tag style */
.manual-tags .tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px; /* pill shape */
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.2px;
  user-select: none;
  transition: all 0.2s ease;
}

/* Hover effect */
.manual-tags .tag:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ==============================
   Tag Color Variants
   ============================== */

.tag-basics {
  background: #e0f2fe;
  color: #0369a1;
}

.tag-qa {
  background: #ecfeff;
  color: #0e7490;
}

.tag-concepts {
  background: #fef3c7;
  color: #92400e;
}

.tag-process {
  background: #ede9fe;
  color: #5b21b6;
}

.tag-types {
  background: #dcfce7;
  color: #166534;
}

.tag-levels {
  background: #cffafe;
  color: #155e75;
}

.tag-technique {
  background: #fff7ed;
  color: #9a3412;
}

.tag-design {
  background: #fce7f3;
  color: #9d174d;
}

.tag-docs {
  background: #f1f5f9;
  color: #334155;
}

.tag-metrics {
  background: #fef2f2;
  color: #991b1b;
}

.tag-defect {
  background: #fee2e2;
  color: #7f1d1d;
}

.tag-tools {
  background: #ecfdf5;
  color: #065f46;
}

.tag-agile {
  background: #e0e7ff;
  color: #3730a3;
}

.tag-career {
  background: #fef9c3;
  color: #854d0e;
}

.tag-interview {
  background: #fae8ff;
  color: #86198f;
}

.tag-tutorial {
  background: #e6fffa;
  color: #115e59;
}

.tag-roadmap {
  background: #fff1f2;
  color: #9f1239;
}
