 :root {
      --primary: #2563eb;
      --primary-light: #eff6ff;
      --accent: #f59e0b;
      --dark: #0f172a;
      --muted: #64748b;
      --radius: 14px;
    }
    * { font-family: 'Nunito', sans-serif; }
    body { background: #f8fafc; color: var(--dark); }

    
    .navbar { background: #fff; border-bottom: 1px solid #e2e8f0; }
    .navbar-brand { font-weight: 800; font-size: 1.3rem; color: var(--primary) !important; letter-spacing: -.5px; }
    .nav-link { font-weight: 500; color: #334155 !important; }
    .nav-link:hover { color: var(--primary) !important; }

   
    .ad-slot {
      background: #f1f5f9;
      border: 1px dashed #cbd5e1;
      border-radius: var(--radius);
      display: flex; align-items: center; justify-content: center;
      color: #94a3b8; font-size: .75rem;
      min-height: 90px;
    }

  
    .hero {
          background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    padding: 70px 0 70px;
    color: #fff;
    position: relative;
    overflow: hidden;
    }
    .hero::before
 {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    background: rgba(255, 255, 255, .05);
    /* border-radius: 50%; */
    top: -160px;
    right: -180px;
    pointer-events: none;
    content: '';
    position: absolute;
    width: 300px;
    height: 345px;
    background: rgba(255, 255, 255, .05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: -91px;
    right: -108px;
    pointer-events: none;
    transform: rotate(52deg);
}
    .free-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(34,197,94,.2);
      color: #86efac;
      border: 1px solid rgba(34,197,94,.4);
      border-radius: 50px;
      padding: 5px 14px;
      font-size: .8rem; font-weight: 700;
      letter-spacing: .2px;
      margin-bottom: 14px;
    }
    .hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.15; }
    .hero p { font-size: 1rem; opacity: .85;  margin: 0; }

    .section-title { font-size: 1.6rem; font-weight: 800; }
    .section-sub { color: var(--muted); max-width: 760px; margin: 0 auto; }

    .subject-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      padding: 18px 18px;
      transition: all .2s;
      cursor: pointer;
      height: 100%;
      text-decoration: none;
      color: var(--dark);
      display: block;
    }
    .subject-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-4px); color: var(--dark); }
    .subject-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; margin-bottom: 12px;
    }
    .subject-card h5 { font-weight: 800; font-size: .95rem; margin-bottom: 4px; }
    .subject-card p { font-size: .82rem; color: var(--muted); margin: 0; }

    .badge-required { font-size: .7rem; font-weight: 700; background: #fef3c7; color: #92400e; border-radius: 50px; padding: 2px 10px; }
    .badge-profile  { font-size: .7rem; font-weight: 700; background: #eff6ff; color: #1d4ed8; border-radius: 50px; padding: 2px 10px; }

  
    .test-item {
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      background: #fff;
      padding: 12px 14px;
      display: flex;
      gap: 12px;
      justify-content: space-between;
      align-items: center;
      transition: .15s;
      text-decoration: none;
      color: var(--dark);
    }
    .test-item:hover { border-color: var(--primary); background: #fbfdff; transform: translateY(-1px); }
    .test-meta { color: var(--muted); font-size: .8rem; }
    .pill {
      font-size: .72rem; font-weight: 700;
      border-radius: 50px; padding: 4px 10px;
      border: 1px solid #e2e8f0;
      background: #f8fafc;
      color: #334155;
      white-space: nowrap;
    }
    .pill.time { border-color: #dbeafe; background: #eff6ff; color: #1d4ed8; }
    .pill.q { border-color: #dcfce7; background: #f0fdf4; color: #166534; }

    
    .filter-bar {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: var(--radius);
      padding: 14px;
    }


    footer { background: var(--dark); color: #94a3b8; }
    footer a { color: #94a3b8; text-decoration: none; }
    footer a:hover { color: #fff; }
    .footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; }
	  
	  @media (max-width:767px){
		  .test-item{display:block;}
	  
	  }
 

math, 
math * {
   
    font-family: math, "Latin Modern Math", "STIX Two Math", "Cambria Math", serif !important;
    
    line-height: normal !important;
    
  
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}


math mn {
    font-variant-numeric: lnum !important;
    font-style: normal !important;
}

math mi {
    font-style: italic !important;
}

math mo {
    font-family: math, "STIX Two Math", serif !important;
    margin: 0 !important;
    padding: 0 !important;
}

math msqrt, 
math mroot, 
math mfrac {
    overflow: visible !important;
}

.math-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}	 
	
#test-content > div.question-card > div > label,
#test-content > div.question-card > div > label * {
    font-size: 18px !important;
}


#test-content > div.question-card div label math,
#test-content > div.question-card div label math * {
    font-family: math, "Latin Modern Math", serif !important;
}


.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border: 0;
  border-radius: 999px;

  background: #ffffff;
  color: #2563eb;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn-start:hover,
.btn-start:focus {
  background: #f8fafc;
  color: #1d4ed8;
  text-decoration: none;

  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-start:active {
  transform: translateY(0);
}