  :root {
  --brand: #2e3192;
  --brand-light: #4449c0;
  --gray: #555;
  --bg: #fafafa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--bg);
  color: var(--gray);
  line-height: 1.6;
}
/* Header Styling */
header {
      height: 80px;
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0 2rem;
      position: fixed;
      inset: 0 0 auto 0;
      background: transparent;
      z-index: 1000;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }
    header.scrolled {
      background: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    header img {
      height: 80px;
    }
/*Split Section with Image and Content*/

.split-section {
  padding: 3rem 1rem;
  background: #fff;
}

.split-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.image-container {
  overflow: hidden;
  border-radius: 1rem;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.split-content h2 {
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

/* Assessments section css */

.cross-layout-section {
  background: #f5f7fc;
  padding: 4rem 1rem;
}

.cross-layout-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.left-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cross-box {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  position: relative;
}

.cross-box:hover {
  transform: translateY(-6px);
}

.small-box {
  border-left: 5px solid #2e3192;
}

.large-box {
  background: linear-gradient(135deg, #2e3192, #1b1e75);
  color: #fff;
  transform: rotate(-2deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.large-box h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffb600;
}

.cross-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cross-box p {
  font-size: 0.95rem;
  line-height: 1.5;
}




/*Two-Box Layout */
.two-box-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
}

.info-box {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
/* Checkbox Topics */

.checkbox-section {
  padding: 3rem 1rem;
  background: #fff;
}

.section-title {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.checkbox-wrap {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  flex: 0 0 260px;
}

.topic {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.95rem;
}
/* Test Container & Question Cards */
#test-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.question-card {
  background: #3b2b2b;
  color: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 1.25rem;
}

.q-title {
  color: #7ec9ff;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.sub-part {
  display: grid;
  grid-template-columns: 26px repeat(4, 1fr);
  column-gap: 2rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.sub-part > strong {
  margin-top: 8px;
  font-weight: 600;
  color: #fff;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.choice input {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d9d9d9;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  transition: 0.25s;
}

.choice input::before {
  content: attr(value);
  color: #444;
}

.choice input:checked {
  background: #007bff;
}

.choice input:checked::before {
  color: #fff;
}

.choice span {
  flex: 1;
  line-height: 1.4;
}
/* Responsive Design for Small Screens */
@media(max-width: 768px) {
  .sub-part {
    grid-template-columns: 26px 1fr;
    row-gap: 1rem;
  }

  .choice {
    flex: 1 1 48%;
  }
}
/* Buttons and Result Section */
.generate-report-btn {
  align-self: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.25s;
}

.generate-report-btn:hover {
  background: var(--brand-light);
}

.result-section {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
}

.question-summary {
  margin-bottom: 1.75rem;
}

.rating {
  font-weight: 600;
  color: var(--brand);
}

.overall-rating {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--brand);
}
/* footer */
.site-footer {
  background-color: #2e3192;
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-top: 4rem;
  border-top: 5px solid #ffb600;
}

.site-footer .footer-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer strong {
  font-weight: 600;
  color: #ffb600;
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 500;
}

.modal-content {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 1rem;
  max-width: 450px;
  width: 100%;
  position: relative;
}

.modal-content h2 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.modal-content input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin: 0.45rem 0;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.submit-btn:hover {
  background: var(--brand-light);
}

.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

    ./* ▼––– 1. QUESTION CARD BACKGROUND / TEXT  –––▼ */
.question-card{
  /* dark panel like your screenshot */
  background:#3b2b2b;
  color:#fff;
  border:none;
  border-radius:0;      /* flush edges */
  box-shadow:none;
  padding:1.5rem 1.25rem;
}

/* title still stands out */
.q-title{color:#7ec9ff; font-size:1.2rem; margin-bottom:1.25rem;}

/* ▼––– 2. ONE ROW (A. / B. / C.)  –––▼ */
.sub-part{
  /* 5 columns: A. | 1‑choice | 2‑choice | 3‑choice | 4‑choice */
  display:grid;
  grid-template-columns:26px repeat(4,1fr);
  column-gap:2rem;
  align-items:start;
  margin-bottom:1.25rem;
}

/* the A. / B. / C. label */
.sub-part > strong{
  margin-top:8px;
  font-weight:600;
  color:#fff;
}

/* ▼––– 3. EACH OPTION  –––▼ */
.choice{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  cursor:pointer;
}

/* hide native radio + build custom circle */
.choice input{
  appearance:none; -webkit-appearance:none; outline:none;
  width:34px;height:34px; border-radius:50%;
  background:#d9d9d9;
  display:flex;justify-content:center;align-items:center;
  font-weight:600;
  transition:.25s;
}

/* show the 1‑4 number pulled from the value attr */
.choice input::before{content:attr(value); color:#444;}

/* selected state – blue circle / white number */
.choice input:checked{background:#007bff;}
.choice input:checked::before{color:#fff;}

/* description text */
.choice span{flex:1; line-height:1.4;}

/* ▼––– 4. STACK NICELY ON SMALL SCREENS  –––▼ */
@media(max-width:768px){
  .sub-part{
    grid-template-columns:26px 1fr;      /* letter + one column */
    row-gap:1rem;
  }
  .choice{flex:1 1 48%;}                /* two choices per line */
}