         @media only screen and (max-width: 600px) {
         #small-size {
         display: visible !important;
         }
         #large-size {
         display: none !important;
         }
         }
         @media only screen and (min-width: 601px) {
         #large-size {
         display: visible !important;
         }
         #small-size {
         display: none !important;
         }
         }
         .accordion {
         padding: 5px;
         margin-top: 5px;
         margin-bottom: 5px;
         /*background: rgb(105, 206, 105);*/
         border-radius: 10px;
         }
         .accordion__question p {
         background: url('icons/Down_Arrow.svg') no-repeat right center;
         /* Use the Down Arrow image as background */
         background-size: 20px 20px;
         /* Set the size of the image */
         margin: 5px;
         padding: 0;
         font-family: Verdana;
         font-size: 20px;
         }
         .accordion__answer p {
         margin: 5px;
         padding: 5px;
         font-size: large;
         font-family: Verdana, Geneva, Tahoma, sans-serif;
         color: rgb(255, 255, 255);
         background: #00a6e7;
         /*rgb(82, 170, 122);*/
         border-radius: 10px;
         }
         .accordion:hover {
         cursor: pointer;
         }
         .accordion__answer {
         display: none;
         }
         .down-arrow {
         background: url('icons/Down_Arrow.svg') no-repeat right center;
         /* Use the Down Arrow image as background */
         background-size: 20px 20px;
         /* Set the size of the image */
         }
         .up-arrow {
         background: url('icons/Up_Arrow.webp') no-repeat right center !important;
         background-size: 20px 20px !important;
         }
         .line {
         border-top: 1px solid black;
         }
         @media(min-width: 1200px) {
         .ddt-seatbelt {
         width: 480px;
         }
         }
         @media(max-width: 420px) {
         .ddt-seatbelt {
         width: 100%;
         }
         }
 

/* NIST theme colors */
:root {
  --nist-blue: #002A54;
  --nist-gold: #F4B223;
  --nist-light: #E8F0FA;
  --text-dark: #1a1a1a;
}

.nist-section {
  padding: 60px 20px;
  background: var(--nist-light);
  margin-bottom: 100px;
}

.nist-heading {
  text-align: center;
  color: var(--nist-blue);
  font-size: 32px;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.nist-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.nist-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 14px;
  border: 1px solid #dce2eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.25s ease;
}

.nist-card:hover {
  transform: translateY(-6px);
}

/* Number Badge (matches screenshot A style) */
.nist-badge {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(145deg, #002A54, #01376E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;

  position: absolute;
  top: -25px;
  left: 25px;

  box-shadow:
    4px 4px 12px rgba(0,0,0,0.25),
    inset -2px -2px 6px rgba(255,255,255,0.15);
}

.nist-card h3 {
  margin-top: 30px;
  color: var(--nist-blue);
  font-size: 20px;
  font-weight: 600;
}

.nist-card p {
  margin-top: 10px;
  color: var(--text-dark);
  line-height: 1.6;
}



    
    /* FORCE FULL WIDTH */
.stats-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;

  background: linear-gradient(135deg, #f0f7ff, #e9f4ff);
  padding: 60px 20px;
}

/* INTERNAL WRAP – content centered */
.stats-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

/* TITLE */
.stats-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 35px;
  font-weight: 700;
  color: #003366;
}

/* GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.stat-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #dcecff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* ICON */
.stat-icon {
  font-size: 38px;
  color: #0056A6;
  margin-bottom: 12px;
}

/* NUMBER */
.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #003b7a;
  margin-bottom: 4px;
}

/* LABEL */
.stat-label {
  font-size: 15px;
  color: #555;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}


/* Section styling */
.nist-download-syllabus
{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  text-align: center;
  background: #E8F0FA;
  padding: 20px 20px;
}

/* Heading */
.nist-download-syllabus h3 {
  color: #002A54;
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* Paragraph */
.nist-download-syllabus p {
  color: #1a1a1a;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

/* Download Button */
.nist-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #002A54;
  color: #ffffff; /* text stays white */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease; /* only animate background */
}

.nist-download-btn:hover {
  background: #3455A5; /* background changes */
  color: #ffffff !important; /* force text color to remain white */
}

.download-icon {
  display: inline-block;
}



:root{
    --nist-primary: #002A54;
    --nist-accent:  #01376E;
    --bg: #f5f7fa;
    --card-bg: #fff;
    --muted: #4b5563;
    --radius: 12px;
  }

  .nebosh-section{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
  }

  .nebosh-title{
    text-align:center;
    margin-bottom:28px;
  }

  .nebosh-title h2{
    margin:0;
    font-size:32px;
    color:var(--nist-primary);
    font-weight:700;
  }

  .nebosh-title p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:15px;
  }

  .unit-card{
    background:var(--card-bg);
    border-radius:var(--radius);
    padding:26px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    border-left:6px solid var(--nist-accent);
  }

  .unit-title{
    margin:0 0 16px 0;
    color:var(--nist-primary);
    font-size:20px;
    font-weight:700;
  }

  .di1-list{
    margin:0;
    padding-left:22px;
    list-style:decimal;
    column-count:2;
    column-gap:48px;
  }
  .di1-list li{
    margin-bottom:10px;
    line-height:1.6;
    break-inside: avoid-column;
  }

  .two-columns{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin-top:28px;
  }

  .unit-card ul{
    margin:0;
    padding-left:20px;
    list-style:disc;
  }

  .unit-card ul li{
    margin-bottom:8px;
    line-height:1.6;
  }

  @media(max-width:900px){
    .di1-list{ column-count:1; }
    .two-columns{ grid-template-columns:1fr; }
  }



.study-section {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
}

.study-section .content {
  flex: 1; /* large left side */
}

.study-section .image {
  flex: 0 0 30%; /* reduce image size */
}

.study-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .study-section {
    flex-direction: column;
  }
  .study-section .image {
    flex: unset;
    width: 100%;
  }
}




.quick-links {
  background: #f7f9fc;              /* light background */
  border-left: 4px solid #0056b3;   /* separation border */
  padding: 16px 20px 20px;          /* top padding included */
  margin: 20px 0;
  border-radius: 4px;
}

.ql-header {
  font-size: 18px;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 12px;
  cursor: pointer;
}

#ql-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

#ql-list li {
  margin: 8px 0;
}

#ql-list a {
  text-decoration: none;
  color: #0056b3;
  font-size: 15px;
}

#ql-list a:hover {
  text-decoration: underline;
}

/* Mobile: collapsible */
@media (max-width: 767px) {
  #ql-list {
    display: none;
  }
}

/* Desktop: always visible */
@media (min-width: 768px) {
  #ql-list {
    display: block !important;
  }
}
