/* ===== source: css/hero.css ===== */
/* =========================================================
   HERO - home page hero banner and quick links
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 70px 0 40px;

    background:
       
        
        url("../../images/hero/security_hero.webp") center top / 100% auto no-repeat;
}
.hero-media {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 62%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 30%
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 30%
  );
}

.hero-media .media,
.hero-media .imgreq {
  height: 100%;
  border: 0;
  background: transparent;
}

.hero-media .imgreq {
  justify-content: flex-end;
  padding-right: 12%;
  color: #8a90a0;
}

.hero-in1 {
  position: relative;
  z-index: 1;
}

.hero h1 {
  text-transform: uppercase;
  line-height: 1;
  margin: 14px 0 18px;
}

.hero h1 b {
  color: #ff2b32;
}

.hero-p {
  max-width: 470px;
  color: #d3d7de;
  font-size: 15px;
}

.hero .btns {
  margin: 26px 0 34px;
}

.quick {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 12px;
}

.quick a {
  color: #d3d7de;
  border-bottom: 2px solid transparent;
  padding: 2px 0;
}

.quick a:hover {
  color: #fff;
  border-color: var(--red);
}

/* ===== source: css/media.css ===== */
/* =========================================================
   MEDIA - image wrappers and [IMAGE REQUIRED] placeholders (shared)
   ========================================================= */

/* =========================================================
   MEDIA
   ========================================================= */

.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #1b1e26,
    #3a4256
  );
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.imgreq {
  width: 100%;
  height: 100%;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 11.5px;
  line-height: 1.35;
  color: #b3b8c2;
  border: 0;
}

.imgreq small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #8a90a0;
  word-break: break-all;
}

/* ===== source: css/bundle-cta.css ===== */
/* =========================================================
   BUNDLE CTA - bundle call-to-action banner
   ========================================================= */

/* =========================================================
   MIDDLE BUNDLE CTA
   ========================================================= */

.bundle-cta {
  background: #202d48;
  min-height: 112px;
  padding: 24px;
  margin: 28px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.bundle-content {
  flex: 1;
  min-width: 0;
}

.bundle-save {
  display: inline-block;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.bundle-content h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.bundle-content p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.bundle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  color: #202d48;

  padding: 14px 24px;
  min-width: 135px;

  font-size: 13px;
  font-weight: 700;

  text-align: center;
  white-space: nowrap;

  border: 1px solid #fff;
  transition: .2s;
}

.bundle-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ===== source: css/courses.css ===== */
/* =========================================================
   COURSES - course grid, course cards, filters, course page content blocks (SIA Courses hub + course pages)
   ========================================================= */

/* =========================================================
   HEADS / FILTERS
   ========================================================= */

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 26px;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 4px;
  padding: 8px 14px;
  font: 600 12.5px var(--f-body);
  cursor: pointer;
  display: inline-block;
  transition: .2s;
}

.filters button:hover {
  border-color: var(--red);
}

.filters button.on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.empty {
  text-align: center;
  color: var(--mut);
  padding: 30px;
}

/* =========================================================
   COURSE CARDS
   ========================================================= */

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.card:hover .media img {
  transform: scale(1.05);
}

.card .media {
  height: 150px;
  flex: none;
}

.card .body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card p {
  font-size: 12.5px;
  color: var(--mut);
  flex: 1;
}

.cat {
  color: var(--red);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--mut);
}

.facts li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
}

.dur {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--ink2);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
}

.buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.buy small {
  display: block;
  font-size: 11px;
  color: var(--mut);
}

.buy b {
  font: 700 17px var(--f-head);
}

.center-t {
  text-align: center;
}

.narrow-l {
  max-width: 820px;
}

.narrow-l p {
  margin-bottom: 12px;
  
  
}

.ics .ic .ico {
  font-size: 26px;
  display: block;
  margin-bottom: 8px;
}

.ics .ic p {
  margin-top: 8px;
}

.qloc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.qloc:hover {
  border-color: var(--red);
}

.qloc span {
  color: var(--mut);
  font-size: 14px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.stats b {
  display: block;
  font-family: var(--f-head);
  font-size: 26px;
}

.stats span {
  font-size: 12px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.course-head .two {
  align-items: center;
  gap: 32px;
}

.price-was {
  color: var(--mut);
  text-decoration: line-through;
  font-size: 14px;
  margin-left: 6px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.meta-row li {
  list-style: none;
  font-size: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tbl th,
.tbl td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.tbl-wrap {
  overflow-x: auto;
}

/* Security Guard page blocks (numbered lists, warning line, link row) - existing tokens only */

.olist {
  margin: 12px 0 18px 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.narrow-l h3 {
  margin-top: 22px;
}

.linkrow a {
  margin: 0 4px;
}

/* ===== source: css/feature.css ===== */
/* =========================================================
   FEATURE - two column feature block with tall image
   ========================================================= */

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.feat p {
  color: var(--mut);
  margin: 10px 0 14px;
  font-size: 14px;
}

.feat .spec {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
}

.feat .media.tall {
  border-radius: 6px;
  min-height: 340px;
  height: 100%;
  border: 1px solid var(--line);
}

.feat .media.tall .imgreq {
  min-height: 340px;
}

/* ===== source: css/reviews.css ===== */
/* =========================================================
   REVIEWS - review cards, rating score, panels
   ========================================================= */

/* =========================================================
   REVIEWS / PANELS
   ========================================================= */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.ph {
  color: var(--mut);
  font-style: italic;
}

.rev {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  font-size: 14px;
}

.qm {
  display: block;
  font: 900 40px/.7 var(--f-head);
  color: var(--red);
  margin-bottom: 8px;
  font-style: normal;
}

.center .panel {
  margin-top: 22px;
}

/* =========================================================
   CONTENT BLOCKS (added for real-content pages)
   Built only from existing design tokens (--red, --ink, --line, --soft, --card, --mut).
   ========================================================= */

.stars {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.rev p {
  margin: 0 0 14px;
}

.rev-by {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.rev-by .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.rev-by b {
  display: inline;
}

.rev-by .ok {
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.rev-by small {
  display: block;
  color: var(--mut);
  font-size: 12px;
}

.score {
  font-size: 15px;
  margin: 6px 0 18px;
}

.score b {
  font-size: 34px;
  font-family: var(--f-head);
}

/* ===== source: css/faq.css ===== */
/* =========================================================
   FAQ - accordion
   ========================================================= */

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 18px;
  font: 600 15px var(--f-body);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item button::after {
  content: "+";
  color: var(--red);
  font-weight: 800;
}

.faq-item button[aria-expanded="true"]::after {
  content: "–";
}

.ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s;
}

.ans p {
  padding: 0 18px 16px;
  color: var(--mut);
}

.faq .ans .chiplist {
  margin-top: 0;
}

/* ===== source: css/security-guard.css ===== */
/* =========================================================
   SECURITY GUARD - security guard course page blocks
   ========================================================= */

.warn {
  color: var(--red);
  margin-top: 14px;
}

/* ===== source: css/security-guard-sgs.css ===== */
/* SGS Security Guard Course - page-only enhancement layer */
.sgs-sg-page {
    --sgs-red: #d71920;
    --sgs-black: #0b0d10;
    --sgs-ink: #17191d;
    --sgs-soft: #f5f6f8;
    --sgs-line: #e5e7eb;
    --sgs-navy: #111a31
}

.sgs-sg-page .course-head {
    position: relative;
    overflow: hidden;
    background:  url('../../images/courses/security-guard-hero.webp') center/cover no-repeat;
    color: #fff;
    border-bottom: 4px solid var(--sgs-red)
}

.sgs-sg-page .course-head:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0 72%, rgba(215, 25, 32, .55) 72% 78%, transparent 78%);
    pointer-events: none
}

.sgs-sg-page .course-head>.wrap {
    position: relative;
    z-index: 1
}

.sgs-sg-page .crumb {
    color: rgba(255, 255, 255, .72)
}

.sgs-sg-page .crumb a {
    color: #fff
}

.sgs-sg-page .course-head .two {
    align-items: center;
    gap: 42px
}

.sgs-sg-page .course-head h1 {
    font-size: clamp(34px, 4.5vw, 58px);
    max-width: 680px;
    margin: 8px 0 14px
}

.sgs-sg-page .course-head .hero-p {
    max-width: 650px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px
}

.sgs-sg-page .eyebrow-l {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: 3px solid var(--sgs-red);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    letter-spacing: .35px;
    text-transform: none
}

.sgs-sg-page .sgs-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0 18px
}

.sgs-sg-page .sgs-hero-badges span {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 700
}

.sgs-sg-page .sgs-hero-badges .hot {
    background: rgba(215, 25, 32, .18);
    border-color: rgba(255, 90, 96, .55)
}

.sgs-sg-page .sgs-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    max-width: 660px
}

.sgs-sg-page .sgs-hero-stat {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
    border-radius: 10px
}

.sgs-sg-page .sgs-hero-stat strong {
    display: block;
    font: 800 22px var(--f-head);
    color: #fff
}

.sgs-sg-page .sgs-hero-stat small {
    color: rgba(255, 255, 255, .72)
}

.sgs-sg-page .course-head .media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    transform: translateY(0);
    transition: transform .5s ease, box-shadow .5s ease
}

.sgs-sg-page .course-head .media:hover {
    transform: translateY(-7px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, .46)
}

.sgs-sg-page .course-head .media .imgreq {
    min-height: 330px;
    background: url('../../images/hero/security_hero.webp') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px
}

.sgs-sg-page .course-head .media .imgreq span {
    display: none
}

.sgs-sg-page .section {
     padding: 56px 0;
    position: relative;
    border-bottom: none;
}
.sgs-sg-page .section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 4px;
    background: var(--sgs-red);
    border-radius: 20px;
    transform: skewX(-35deg);
}

.sgs-sg-page .section h2 {
    letter-spacing: -.02em  
    
}

.sgs-sg-page .section.alt {
    background: linear-gradient(180deg, #f7f7f8, #fff)
}

.sgs-sg-page .section.alt:before {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--sgs-red);
    margin-bottom: 13px
}

.sgs-sg-page .section .two.feat {
    align-items: center;
    gap: 46px
}

.sgs-sg-page .section .two.feat .media {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1)
}

.sgs-sg-page .section .two.feat .media .imgreq {
    min-height: 340px;
    background: url('../../images/refresher/topup-refresher-course.webp') center/cover no-repeat
}

.sgs-sg-page .section .two.feat .media .imgreq:not(.sgs-content-image) {
    background-image: url('../../images/courses/security-guard.webp');
    background-position: center 30%
}

.sgs-sg-page .section .two.feat .media .imgreq:not(.sgs-content-image) span {
    display: none
}

.sgs-sg-page .section .two.feat .media .imgreq span {
    display: none
}

.sgs-sg-page .sgs-course-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--sgs-navy);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 14px 36px rgba(17, 26, 49, .16)
}

.sgs-sg-page .sgs-course-callout strong {
    display: block;
    font: 800 18px var(--f-head)
}

.sgs-sg-page .sgs-course-callout p {
    margin: 3px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px
}

.sgs-sg-page .sgs-course-callout .price {
    white-space: nowrap;
    font: 900 24px var(--f-head);
    color: #fff
}

.sgs-sg-page .sgs-course-callout .price small {
    display: block;
    font: 500 11px var(--f-body);
    color: rgba(255, 255, 255, .6)
}

.sgs-sg-page .sgs-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px
}

.sgs-sg-page .sgs-feature-card {
    background: #fff;
    border: 1px solid var(--sgs-line);
    border-radius: 10px;
    padding: 18px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.sgs-sg-page .sgs-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .09);
    border-color: #f0b4b7
}

.sgs-sg-page .sgs-feature-card b {
    display: block;
    margin-bottom: 5px
}

.sgs-sg-page .sgs-feature-card span {
    font-size: 13px;
    color: #656b74
}

.sgs-sg-page .sgs-red-rule {
    height: 3px;
    width: 48px;
    background: var(--sgs-red);
    margin: 10px 0 18px
}

.sgs-sg-page .section ul:not(.chiplist) {
    display: grid;
    gap: 9px;
    margin-top: 16px
}

.sgs-sg-page .section ul:not(.chiplist) li {
    position: relative;
    padding-left: 22px;
    color: #4e5661
}

.sgs-sg-page .section ul:not(.chiplist) li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sgs-red);
    font-weight: 800
}

.sgs-sg-page .ready {
    background: linear-gradient(135deg, #0b0d10, #1a1d24);
    border-top: 4px solid var(--sgs-red)
}

.sgs-sg-page .ready h2,
.sgs-sg-page .ready p {
    color: #fff
}

.sgs-sg-page .ready p {
    opacity: .72
}

.sgs-sg-page .grid3 .rev {
    transition: transform .3s ease, box-shadow .3s ease
}

.sgs-sg-page .grid3 .rev:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .1)
}

.sgs-sg-page .chip {
    border-color: #ddd
}

.sgs-sg-page .score b {
    color: var(--sgs-red)
}

.sgs-sg-page .faq-item,
.sgs-sg-page .faq-q {
    transition: background .25s ease
}

.sgs-sg-page .faq-q:hover {
    background: #fafafa
}

.sgs-sg-page .sgs-scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease
}

.sgs-sg-page .sgs-scroll-reveal.in-view {
    opacity: 1;
    transform: none
}

@media(max-width:900px) {
    .sgs-sg-page .course-head .two {
        grid-template-columns: 1fr
    }

    .sgs-sg-page .sgs-hero-stats {
        grid-template-columns: repeat(3, 1fr)
    }

    .sgs-sg-page .sgs-feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .sgs-sg-page .course-head h1 {
        font-size: 36px
    }

    .sgs-sg-page .sgs-hero-stats {
        grid-template-columns: 1fr
    }

    .sgs-sg-page .sgs-feature-grid {
        grid-template-columns: 1fr
    }

    .sgs-sg-page .sgs-course-callout {
        align-items: flex-start;
        flex-direction: column
    }

    .sgs-sg-page .course-head .media .imgreq {
        min-height: 230px
    }
}

/* SIA Security Guard - Creative Section Animation */

.sgs-sg-page .section.alt .two.feat {
     display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Text animation */
.sgs-sg-page .section.alt .two.feat > div:first-child {
    animation: sgsTextReveal 0.9s ease-out both;
}

@keyframes sgsTextReveal {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animated heading accent */
.sgs-sg-page .section.alt h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.sgs-sg-page .section.alt h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: var(--sgs-red);
    transform-origin: left;
    animation: sgsLineReveal 0.8s ease-out 0.3s both;
}

@keyframes sgsLineReveal {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Image reveal and hover */
.sgs-sg-page .section.alt .media.tall {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    animation: sgsImageReveal 1s ease-out both;
    transition: box-shadow 0.4s ease;
}

@keyframes sgsImageReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sgs-sg-page .section.alt .media.tall:hover {
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.sgs-sg-page .section.alt .media.tall .imgreq {
    transition: transform 0.7s ease;
}

.sgs-sg-page .section.alt .media.tall:hover .imgreq {
    transform: scale(1.06);
}

/* Booking button interaction */
.sgs-sg-page .section.alt .btn.dark {
    display: inline-block;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.sgs-sg-page .section.alt .btn.dark:hover {
    transform: translateY(-4px);
    background: var(--sgs-red);
    box-shadow: 0 10px 24px rgba(215, 25, 32, 0.25);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .section.alt .two.feat > div:first-child,
    .sgs-sg-page .section.alt h2::after,
    .sgs-sg-page .section.alt .media.tall {
        animation: none;
    }

    .sgs-sg-page .section.alt .media.tall,
    .sgs-sg-page .section.alt .media.tall .imgreq,
    .sgs-sg-page .section.alt .btn.dark {
        transition: none;
    }
}
.sgs-sg-page .section.alt::before {
    display: none;
}
/*-----------------------------------------------------------------------------------------------*/
/* ===== source: css/sgs-content.css ===== */
/* =========================================================
   SGS CONTENT PAGES - shared styles for the information pages
   (Security Guard Refresher, Joining Instructions, SIA Training
   Guidance, About, ACT Training, plus guide sections added to
   Security Guard Course and SIA Get Licensed).
   Everything is prefixed .cp- and scoped under .cp-page, so it
   cannot change the look of any other page. Tokens come from base.css.
   ========================================================= */

.cp-page {
  --cp-radius: 10px;
  --cp-shadow: 0 14px 34px rgba(21, 23, 28, .08);
  --cp-shadow-lg: 0 18px 40px rgba(21, 23, 28, .13);
  --cp-ease: cubic-bezier(.2, .7, .2, 1);
  --cp-sticky: calc(var(--hdr) + env(safe-area-inset-top, 0px));
}

@media (prefers-color-scheme: dark) {
  .cp-page { --cp-shadow: 0 14px 34px rgba(0, 0, 0, .35); --cp-shadow-lg: 0 18px 40px rgba(0, 0, 0, .45); }
}

/* Shared small pieces (scoped) */
.cp-page .cp-sec { scroll-margin-top: calc(var(--cp-sticky) + 56px); padding: 72px 0; }
.cp-page .cp-head { max-width: 720px; margin-bottom: 34px; }
.cp-page .cp-head .lead { margin-bottom: 0; }
.cp-page .cp-head h2::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 12px; background: var(--red); border-radius: 2px; }
.cp-page .cp-p { color: var(--mut); margin-top: 14px; max-width: 62ch; }
.cp-page .cp-h3 { font-size: 17px; margin: 26px 0 4px; }
.cp-page .cp-note { color: var(--mut); font-size: 13px; margin-top: 22px; max-width: 78ch; }
.cp-page .cp-note a, .cp-page .lead a, .cp-page .cp-card p a, .cp-page .cp-steps a, .cp-page .cp-path a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cp-page .cp-card, .cp-page .cp-mod, .cp-page .cp-ass, .cp-page .cp-aside { border: 1px solid var(--line); background: var(--card); border-radius: var(--cp-radius); }
.cp-page .section.alt { background: var(--soft); }

/* Scroll reveal: only hidden when JS is running (no-JS users see everything) */
.cp-js .cp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--cp-ease); transition-delay: var(--cp-delay, 0ms); }
.cp-js .cp-reveal.cp-in { opacity: 1; transform: none; }

/* Shared scroll UI injected by script.js (styled here because this page does not load enhancements.css) */
.cp-page .scroll-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; z-index: 100; background: var(--red); transition: width .08s linear; pointer-events: none; }
.cp-page .back-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink2); color: #fff; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, visibility .25s, transform .25s, background .2s; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.cp-page .back-top.show { opacity: 1; visibility: visible; transform: none; }
.cp-page .back-top:hover { background: var(--red); }

/* =========================================================
   HERO
   ========================================================= */
.cp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 34px 0 56px;
  background:
    radial-gradient(circle at 82% 24%, rgba(215, 25, 31, .22), transparent 38%),
    radial-gradient(circle at 12% 110%, rgba(215, 25, 31, .16), transparent 34%),
    linear-gradient(115deg, #0c0d10 40%, #1a2033 100%);
}
.cp-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 3px; background: var(--red); }
.cp-hero .wrap { position: relative; z-index: 1; }
.cp-hero .crumb { margin-bottom: 22px; }
.cp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; }
.cp-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
.cp-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 12px; font-weight: 700; }
.cp-badge.red { border-color: rgba(215, 25, 31, .75); background: rgba(215, 25, 31, .2); }
.cp-badge.gold { color: #ffe46b; border-color: rgba(255, 211, 60, .3); background: rgba(255, 211, 60, .1); }
.cp-hero h1 { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -.035em; line-height: 1.02; margin: 8px 0 14px; max-width: 14ch; }
.cp-hero h1 span { display: block; color: #ff4148; }
.cp-hero-p { max-width: 58ch; color: #dce0e7; font-size: 15.5px; }
.cp-ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 18px; max-width: 560px; margin: 18px 0 4px; }
.cp-ticks li { position: relative; padding-left: 22px; font-size: 13.5px; color: #eef0f3; }
.cp-ticks li::before { content: "✓"; position: absolute; left: 0; color: #ff4a50; font-weight: 900; }
.cp-hero .btns { margin-top: 24px; }
.cp-stats { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 560px; }
.cp-stats b { display: block; font: 900 30px/1 var(--f-head); }
.cp-stats span:not([data-count]) { display: block; margin-top: 6px; font-size: 12px; color: #b3b8c2; }
.cp-fine { margin-top: 12px; font-size: 11.5px; color: #98a0ad; }
.cp-hero-media { position: relative; }
.cp-hero-img { overflow: hidden; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .17); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); aspect-ratio: 4 / 3.3; background: #111; }
.cp-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; animation: cp-zoom 14s ease-in-out infinite alternate; }
.cp-hero-img::after { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .5)); pointer-events: none; }
.cp-float { position: absolute; left: -22px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; max-width: 270px; border-radius: 10px; background: #fff; color: #15171c; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: cp-bob 5s ease-in-out infinite; }
.cp-float-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; }
.cp-float b { display: block; font-size: 14px; }
.cp-float small { display: block; font-size: 12px; line-height: 1.35; color: #5d6470; }
.cp-hero-copy > * { animation: cp-rise .8s var(--cp-ease) both; }
.cp-hero-copy > :nth-child(2) { animation-delay: .06s; }
.cp-hero-copy > :nth-child(3) { animation-delay: .12s; }
.cp-hero-copy > :nth-child(4) { animation-delay: .18s; }
.cp-hero-copy > :nth-child(5) { animation-delay: .24s; }
.cp-hero-copy > :nth-child(6) { animation-delay: .3s; }
.cp-hero-copy > :nth-child(7) { animation-delay: .36s; }
.cp-hero-copy > :nth-child(8) { animation-delay: .42s; }
@keyframes cp-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes cp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cp-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* In-page navigation (sticky, with active section highlighting) */
.cp-subnav { position: sticky; top: var(--cp-sticky); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.cp-subnav .wrap { padding: 0 24px; }
.cp-subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cp-subnav ul::-webkit-scrollbar { display: none; }
.cp-subnav a { display: block; white-space: nowrap; padding: 14px 12px; font-size: 13px; font-weight: 600; color: var(--mut); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.cp-subnav a:hover { color: var(--ink); }
.cp-subnav a.is-active { color: var(--red); border-bottom-color: var(--red); }

/* =========================================================
   COURSE OVERVIEW
   ========================================================= */
.cp-overview { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.cp-checks { display: grid; gap: 12px; margin-top: 12px; }
.cp-checks li { position: relative; padding-left: 26px; color: var(--mut); font-size: 14px; }
.cp-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(215, 25, 31, .12); color: var(--red); font-size: 11px; font-weight: 900; }
.cp-checks b { color: var(--ink); }
.cp-overview-media { position: relative; }
.cp-overview-media img { width: 100%; height: 400px; object-fit: cover; object-position: 45% center; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--cp-shadow-lg); }
.cp-quote { position: absolute; left: 18px; right: 18px; bottom: -22px; padding: 16px 18px; border-left: 4px solid var(--red); border-radius: 8px; background: var(--card); box-shadow: var(--cp-shadow-lg); font-size: 13.5px; color: var(--mut); }
.cp-quote b { color: var(--ink); }

/* =========================================================
   COURSE DETAILS
   ========================================================= */
.cp-info-grid, .cp-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cp-card { position: relative; overflow: hidden; padding: 24px; transition: transform .3s var(--cp-ease), box-shadow .3s, border-color .3s; }
.cp-card::before, .cp-mod::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red), #ff6b70, transparent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.cp-card:hover, .cp-mod:hover { transform: translateY(-5px); box-shadow: var(--cp-shadow-lg); border-color: rgba(215, 25, 31, .38); }
.cp-card:hover::before, .cp-mod:hover::before { transform: scaleX(1); }
.cp-ic { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 9px; background: rgba(215, 25, 31, .1); color: var(--red); font: 800 13px var(--f-head); }
.cp-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--mut); }
.cp-card .cp-big { margin: 6px 0 8px; font: 800 19px/1.25 var(--f-head); color: var(--ink); }
.cp-card p { color: var(--mut); font-size: 13.5px; }
.cp-why-grid .cp-card h3 { font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); margin-bottom: 6px; }
.cp-callout { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 22px; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--cp-radius); background: var(--card); }
.cp-callout b { font-size: 16px; }
.cp-callout p { color: var(--mut); font-size: 13.5px; margin-top: 2px; max-width: 60ch; }

/* WHO IS IT FOR */
.cp-who { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 44px; align-items: start; }
.cp-list { display: grid; gap: 14px; }
.cp-list li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--cp-radius); background: var(--card); transition: transform .25s var(--cp-ease), border-color .25s, box-shadow .25s; }
.cp-list li:hover { transform: translateX(5px); border-color: rgba(215, 25, 31, .4); box-shadow: var(--cp-shadow); }
.cp-num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink2); color: #fff; font: 800 13px var(--f-head); }
.cp-list h3 { font-size: 16px; margin-bottom: 3px; }
.cp-list p { color: var(--mut); font-size: 13.5px; }
.cp-page .cp-aside { position: sticky; top: calc(var(--cp-sticky) + 70px); padding: 26px; background: linear-gradient(160deg, #15171c, #1a2033); border-color: transparent; color: #fff; box-shadow: var(--cp-shadow-lg); }
.cp-page .cp-aside h3 { font-size: 20px; margin-bottom: 10px; }
.cp-page .cp-aside p { color: #c8ccd4; font-size: 13.5px; margin-bottom: 16px; }
.cp-aside hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 22px 0 16px; }
.cp-aside .btn { width: 100%; }
.cp-page .cp-aside .btn.o { border-color: #fff; color: #fff; }
.cp-page .cp-aside .btn.o:hover { background: #fff; color: #000; }

/* =========================================================
   MODULES
   ========================================================= */
.cp-mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cp-mod { position: relative; overflow: hidden; padding: 24px; transition: transform .3s var(--cp-ease), box-shadow .3s, border-color .3s; }
.cp-mod-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cp-mod-no { font: 900 34px/1 var(--f-head); color: rgba(215, 25, 31, .22); }
.cp-tag { padding: 4px 10px; border-radius: 999px; background: var(--ink2); color: #fff; font-size: 11px; font-weight: 700; }
.cp-tag.alt { background: var(--red); }
.cp-mod h3 { font-size: 18px; margin-bottom: 12px; }
.cp-mod ul { display: grid; gap: 8px; }
.cp-mod li { position: relative; padding-left: 16px; color: var(--mut); font-size: 13.5px; }
.cp-mod li::before { content: "•"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

/* =========================================================
   ASSESSMENT
   ========================================================= */
.cp-steps, .cp-path { display: grid; gap: 16px; counter-reset: none; }
.cp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 30px; position: relative; }
.cp-path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-steps li, .cp-path li { position: relative; padding: 4px 4px 0 0; }
.cp-steps li > span, .cp-path li > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--red); color: #fff; font: 800 15px var(--f-head); box-shadow: 0 0 0 6px rgba(215, 25, 31, .12); position: relative; z-index: 1; }
.cp-steps li::after, .cp-path li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 52px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.cp-steps li:last-child::after { display: none; }
.cp-steps h3, .cp-path h3 { font-size: 16px; margin-bottom: 4px; }
.cp-steps p, .cp-path p { color: var(--mut); font-size: 13.5px; }
.cp-ass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cp-ass { padding: 0; overflow: hidden; transition: box-shadow .3s, transform .3s var(--cp-ease); }
.cp-ass:hover { transform: translateY(-4px); box-shadow: var(--cp-shadow-lg); }
.cp-ass-head { padding: 20px 24px; background: linear-gradient(115deg, #15171c, #1a2033); color: #fff; }
.cp-ass-head span { font: 700 11px var(--f-body); letter-spacing: 1.2px; text-transform: uppercase; color: #ff5b61; }
.cp-ass-head h3 { font-size: 18px; margin-top: 4px; }
.cp-ass ul { padding: 8px 24px 12px; }
.cp-ass li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cp-ass li:last-child { border-bottom: 0; }
.cp-ass li span { color: var(--mut); text-align: right; }

/* =========================================================
   REQUIREMENTS
   ========================================================= */
.cp-req { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); background: var(--dk); color: #fff; scroll-margin-top: calc(var(--cp-sticky) + 56px); }
.cp-req-img { min-height: 440px; background: linear-gradient(90deg, transparent 60%, var(--dk)), var(--cp-req-img, url("../../images/courses/sia-hero-security.webp")) center / cover no-repeat; }
.cp-req-copy { padding: 64px max(24px, 6vw) 64px 36px; max-width: 700px; }
.cp-req h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 4px 0 18px; }
.cp-req-list { display: grid; gap: 12px; margin-bottom: 18px; }
.cp-req-list li { position: relative; padding-left: 32px; color: #dce0e7; font-size: 14.5px; }
.cp-req-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--red); font-size: 12px; font-weight: 800; }
.cp-req-list a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #ff5b61; }
.cp-req-note { color: #98a0ad; font-size: 13px; margin-bottom: 22px; }

/* CERTIFICATION: shares step styles with assessment above */

/* =========================================================
   WHY SGS
   ========================================================= */
.cp-why-grid .cp-card a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   FAQ
   ========================================================= */
.cp-faq-wrap { max-width: 900px; }
.cp-faq { display: grid; gap: 10px; }
.cp-faq-item { border: 1px solid var(--line); border-radius: var(--cp-radius); background: var(--card); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.cp-faq-item.is-open { border-color: rgba(215, 25, 31, .45); box-shadow: var(--cp-shadow); }
.cp-faq-item h3 { font-size: inherit; margin: 0; }
.cp-faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: transparent; color: var(--ink); font: 700 15px/1.4 var(--f-head); text-align: left; cursor: pointer; }
.cp-faq-item button:hover { color: var(--red); }
.cp-faq-ic { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(215, 25, 31, .1); }
.cp-faq-ic::before, .cp-faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--red); transition: transform .3s; }
.cp-faq-ic::after { transform: rotate(90deg); }
.cp-faq-item.is-open .cp-faq-ic::after { transform: rotate(0); }
.cp-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--cp-ease); }
.cp-faq-item.is-open .cp-faq-a { grid-template-rows: 1fr; }
.cp-faq-a > div { overflow: hidden; }
.cp-faq-a p { padding: 0 20px 20px; color: var(--mut); font-size: 14px; }

/* =========================================================
   CTA
   ========================================================= */
.cp-cta { padding: 44px 0; }
.cp-cta h2 { font-size: clamp(22px, 3vw, 28px); }
.cp-related { padding: 56px 0 64px; }
.cp-related h2 { font-size: 22px; margin-bottom: 18px; }
.cp-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cp-rel { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--cp-radius); background: var(--card); transition: transform .25s var(--cp-ease), box-shadow .25s, border-color .25s; }
.cp-rel:hover { transform: translateY(-4px); box-shadow: var(--cp-shadow); border-color: rgba(215, 25, 31, .4); }
.cp-rel img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.cp-rel b { display: block; font: 700 15px var(--f-head); }
.cp-rel small { display: block; margin-top: 3px; color: var(--mut); font-size: 12.5px; line-height: 1.4; }
.cp-rel:hover b { color: var(--red); }


/* =========================================================
   CONTENT SECTIONS (extra components shared by the pages)
   ========================================================= */
.cp-page .cp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.cp-page .cp-split.rev .cp-media { order: -1; }
.cp-page .cp-media img { width: 100%; height: 360px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--cp-shadow-lg); }
.cp-page .cp-grid-2, .cp-page .cp-grid-3, .cp-page .cp-grid-4 { display: grid; gap: 18px; }
.cp-page .cp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-page .cp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-page .cp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-page .cp-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--cp-radius); background: var(--card); }
.cp-page .cp-panel h3 { font-size: 18px; margin-bottom: 8px; }
.cp-page .cp-panel p, .cp-page .cp-panel li { color: var(--mut); font-size: 14px; }
.cp-page .cp-panel ul { display: grid; gap: 8px; margin-top: 10px; }
.cp-page .cp-panel li { position: relative; padding-left: 16px; }
.cp-page .cp-panel li::before { content: "•"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.cp-page .cp-panel.dark { background: linear-gradient(160deg, #15171c, #1a2033); border-color: transparent; color: #fff; }
.cp-page .cp-panel.dark p, .cp-page .cp-panel.dark li { color: #c8ccd4; }
.cp-page .cp-panel.dark h3 { color: #fff; }
.cp-page .cp-stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--cp-radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.cp-page .cp-stat-band > div { padding: 22px 18px; background: var(--card); text-align: center; }
.cp-page .cp-stat-band b { display: block; font: 900 30px/1 var(--f-head); color: var(--red); }
.cp-page .cp-stat-band span { display: block; margin-top: 8px; font-size: 13px; color: var(--mut); }
.cp-page .cp-timeline { display: grid; gap: 0; position: relative; padding-left: 8px; }
.cp-page .cp-timeline li { position: relative; padding: 0 0 26px 40px; }
.cp-page .cp-timeline li::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.cp-page .cp-timeline li:last-child::before { display: none; }
.cp-page .cp-timeline li > span { position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 800 12px var(--f-head); box-shadow: 0 0 0 5px rgba(215, 25, 31, .12); }
.cp-page .cp-timeline h3 { font-size: 16px; margin-bottom: 3px; }
.cp-page .cp-timeline p { color: var(--mut); font-size: 13.5px; }
.cp-page .cp-timeline a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cp-page .cp-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cp-page .cp-pill { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 12.5px; font-weight: 600; color: var(--mut); }
.cp-page .cp-band { padding: 56px 0; background: var(--dk); color: #fff; }
.cp-page .cp-band h2 { color: #fff; }
.cp-page .cp-band .lead, .cp-page .cp-band p { color: #c8ccd4; }
.cp-page .cp-compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--cp-radius); overflow: hidden; font-size: 14px; }
.cp-page .cp-compare th, .cp-page .cp-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cp-page .cp-compare thead th { background: var(--ink2); color: #fff; font: 700 13px var(--f-head); }
.cp-page .cp-compare tbody th { font-weight: 700; }
.cp-page .cp-compare td { color: var(--mut); }
.cp-page .cp-compare tr:last-child > * { border-bottom: 0; }
.cp-page .cp-compare-wrap { overflow-x: auto; border-radius: var(--cp-radius); }
.cp-page .cp-compare a { color: var(--red); font-weight: 600; }
.cp-page .cp-card-link { display: inline-block; margin-top: 12px; color: var(--red); font-weight: 700; font-size: 13.5px; }
.cp-page .cp-card-link:hover { text-decoration: underline; }
.cp-page .cp-guide { border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .cp-page .cp-split { grid-template-columns: 1fr; gap: 30px; }
  .cp-page .cp-split.rev .cp-media { order: 0; }
  .cp-page .cp-grid-3, .cp-page .cp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-page .cp-stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-page .cp-media img { height: 300px; }
}
@media (max-width: 700px) {
  .cp-page .cp-grid-2, .cp-page .cp-grid-3, .cp-page .cp-grid-4 { grid-template-columns: 1fr; }
  .cp-page .cp-media img { height: 240px; }
  .cp-page .cp-compare th, .cp-page .cp-compare td { padding: 12px; }
  .cp-page .cp-compare { min-width: 560px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .cp-hero-grid, .cp-overview, .cp-who { grid-template-columns: 1fr; gap: 36px; }
  .cp-hero h1 { max-width: none; }
  .cp-hero-img { aspect-ratio: 16 / 9; }
  .cp-float { left: 14px; }
  .cp-info-grid, .cp-why-grid, .cp-mod-grid, .cp-rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-steps, .cp-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-steps li::after, .cp-path li::after { display: none !important; }
  .cp-page .cp-aside { position: static; }
  .cp-overview-media img { height: 340px; }
  .cp-req { grid-template-columns: 1fr; }
  .cp-req-img { min-height: 280px; background: linear-gradient(180deg, transparent 60%, var(--dk)), var(--cp-req-img, url("../../images/courses/sia-hero-security.webp")) center 30% / cover no-repeat; }
  .cp-req-copy { padding: 36px 24px 56px; max-width: none; }
}
@media (max-width: 700px) {
  .cp-page .cp-sec { padding: 52px 0; }
  .cp-hero { padding: 26px 0 44px; }
  .cp-ticks { grid-template-columns: 1fr; }
  .cp-hero .btns .btn { width: 100%; }
  .cp-stats { gap: 14px 26px; }
  .cp-stats b { font-size: 26px; }
  .cp-float { position: static; margin-top: 12px; max-width: none; animation: none; }
  .cp-info-grid, .cp-why-grid, .cp-mod-grid, .cp-rel-grid, .cp-steps, .cp-path, .cp-ass-grid { grid-template-columns: 1fr; }
  .cp-overview-media img { height: 260px; }
  .cp-quote { position: static; margin-top: 12px; }
  .cp-callout { flex-direction: column; align-items: flex-start; }
  .cp-callout .btn { width: 100%; }
  .cp-ass li { flex-direction: column; gap: 2px; }
  .cp-ass li span { text-align: left; }
  .cp-faq-item button { padding: 16px; font-size: 14.5px; }
  .cp-faq-a p { padding: 0 16px 18px; }
  .cp-cta .btns .btn { width: 100%; }
}

/* Reduced motion: keep content visible and calm */
@media (prefers-reduced-motion: reduce) {
  .cp-js .cp-reveal { opacity: 1; transform: none; transition: none; }
  .cp-hero-copy > *, .cp-hero-img img, .cp-float { animation: none; }
  .cp-card, .cp-mod, .cp-list li, .cp-ass, .cp-rel, .cp-faq-a { transition: none; }
}

/* FIGURES AND SMALL EXTRAS */
.cp-page .cp-fig { border: 1px solid var(--line); border-radius: var(--cp-radius); overflow: hidden; background: var(--card); }
.cp-page .cp-fig img { width: 100%; height: 220px; object-fit: cover; }
.cp-page .cp-fig figcaption { padding: 12px 16px; font-size: 13px; font-weight: 600; color: var(--mut); }
.cp-page .cp-ext { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cp-page .cp-panel.dark .cp-card-link { color: #ff7a7f; }

/* ===== WHO IS THE SECURITY GUARD COURSE FOR ===== */

.sgs-sg-page .section .narrow-l:has(> h2) {
    max-width: 100%;
    min-height: 310px;
    padding: 48px 42px;
    background: linear-gradient(135deg, #0b0d10, #17191d);
    border: 1px solid #303238;
    border-left: 5px solid #d71920;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .section .narrow-l:has(> h2):hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, .22);
}

.sgs-sg-page .section .narrow-l:has(> h2) h2 {
    color: #ffffff;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.3;
    margin-bottom: 26px;
    padding-bottom: 18px;
}

.sgs-sg-page .section .narrow-l:has(> h2) h2::after {
    width: 65px;
    height: 4px;
    background: #d71920;
    border-radius: 5px;
}

.sgs-sg-page .section .narrow-l:has(> h2) p {
    color: #e0e2e6;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.9;
    transition: background .3s ease, border-color .3s ease;
}

.sgs-sg-page .section .narrow-l:has(> h2) p:last-child {
    margin-bottom: 0;
}

.sgs-sg-page .section .narrow-l:has(> h2) p:hover {
    background: rgba(215, 25, 32, .10);
    border-color: rgba(215, 25, 32, .45);
}

@media (max-width: 768px) {
    .sgs-sg-page .section .narrow-l:has(> h2) {
        min-height: 0;
        padding: 30px 20px;
    }

    .sgs-sg-page .section .narrow-l:has(> h2) h2 {
        font-size: 27px;
    }

    .sgs-sg-page .section .narrow-l:has(> h2) p {
        padding: 13px;
        font-size: 14px;
    }
}

/* What Does a Security Guard Do? - White Text */

css
/* ===== SECURITY GUARD DUTIES — MODERN DESIGN ===== */

.sgs-sg-page .section:has(.olist) {
    background: linear-gradient(135deg, #0b0d10, #17191d);
    padding: 75px 0;
}

.sgs-sg-page .section:has(.olist) .narrow-l {
    max-width: 100%;
    padding: 36px;
    border: 1px solid #303238;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}
/* Security Guard Duties — Outer Box Sky Blue */

.sgs-sg-page .section:has(.olist) .narrow-l {
      background: #e3e8ec !important;
}

.sgs-sg-page .section:has(.olist) h2 {
    color: #000 !important;
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 28px;
    padding-left: 18px;
    border-left: 5px solid #d71920;
    
}

/* Security Guard Duties — Paragraph Hover Fix */

.sgs-sg-page .section:has(.olist) .narrow-l > p,
.sgs-sg-page .section:has(.olist) .narrow-l > p:hover {
    background: #202226 !important;
    border: 1px solid #383a40 !important;
    color: #e5e7eb !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.sgs-sg-page .section:has(.olist) .olist {
    list-style: none;
    counter-reset: duty;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.sgs-sg-page .section:has(.olist) .olist li {
    counter-increment: duty;
    position: relative;
    padding: 22px 20px 22px 64px;
    min-height: 115px;
    background: #1b1d21;
    border: 1px solid #33363c;
    border-radius: 12px;
    color: #e6e7e9;
    font-size: 14px;
    line-height: 1.85;
    transition: transform .3s ease,
                border-color .3s ease,
                background .3s ease;
}

.sgs-sg-page .section:has(.olist) .olist li::before {
    content: counter(duty, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 21px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #d71920;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.sgs-sg-page .section:has(.olist) .olist li:hover {
    transform: translateY(-5px);
    background: #24262b;
    border-color: #d71920;
}

.sgs-sg-page .section:has(.olist) .olist li b {
    color: #e64949;
    display: inline;
}

/* Tablet and mobile */

@media (max-width: 768px) {
    .sgs-sg-page .section:has(.olist) {
        padding: 45px 0;
    }

    .sgs-sg-page .section:has(.olist) .narrow-l {
        padding: 22px 16px;
    }

    .sgs-sg-page .section:has(.olist) .olist {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sgs-sg-page .section:has(.olist) .olist li {
        padding: 18px 15px 18px 58px;
        min-height: auto;
    }

    .sgs-sg-page .section:has(.olist) .olist li::before {
        left: 14px;
        top: 17px;
    }
}
/*-----------------------------------------------------------------------------------------------*/
/* =========================================================
   SECURITY GUARD COURSE - 4 DAYS INTRO BANNER (.sgs-intro only)
   ========================================================= */

.sgs-sg-page .section.sgs-intro .sgs-intro-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 40px;
    align-items: center;
    padding: 56px 48px;
    border-radius: 16px;
    border-bottom: 4px solid #d71920;
    background:
        linear-gradient(100deg, rgba(11, 13, 16, .97) 38%, rgba(11, 13, 16, .72) 100%),
        url('../../images/courses/security-guard-hero.webp') center / cover no-repeat;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
}

.sgs-sg-page .section.sgs-intro .sgs-intro-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0 80%, rgba(215, 25, 32, .5) 80% 86%, transparent 86%);
    pointer-events: none;
}

.sgs-sg-page .section.sgs-intro .sgs-intro-text,
.sgs-sg-page .section.sgs-intro .sgs-intro-glass {
    position: relative;
    z-index: 1;
}

/* Left text */
.sgs-sg-page .sgs-intro-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: 3px solid #d71920;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}

.sgs-sg-page .section.sgs-intro .sgs-intro-text h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.sgs-sg-page .section.sgs-intro .sgs-intro-text h2 span {
    display: block;
    color: #ff4a50;
}

.sgs-sg-page .section.sgs-intro .sgs-intro-text .lead {
    max-width: 52ch;
    margin: 0 0 26px;
    color: #d8dce3;
    font-size: 16px;
    line-height: 1.85;
}

/* Right glass card */
.sgs-sg-page .section.sgs-intro .sgs-intro-glass {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: 3px solid #d71920;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sgs-sg-page .section.sgs-intro .sgs-intro-glass h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-intro ul.sgs-glass-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sgs-sg-page .section.sgs-intro ul.sgs-glass-list li {
    padding: 14px 14px 12px;
    color: #fff;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.sgs-sg-page .section.sgs-intro ul.sgs-glass-list li::before {
    content: none;
}

.sgs-sg-page .section.sgs-intro ul.sgs-glass-list li:hover {
    transform: translateY(-4px);
    border-color: #d71920;
    background: rgba(215, 25, 32, .16);
}

.sgs-sg-page .sgs-glass-list b {
    display: block;
    font: 800 19px/1.2 var(--f-head);
    color: #fff;
}

.sgs-sg-page .sgs-glass-list span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #b8bec9;
}

/* Responsive */
@media (max-width: 900px) {
    .sgs-sg-page .section.sgs-intro .sgs-intro-banner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 22px;
    }
}

@media (max-width: 480px) {
    .sgs-sg-page .section.sgs-intro ul.sgs-glass-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .section.sgs-intro ul.sgs-glass-list li {
        transition: none;
    }
}
/* =========================================================
   WHAT IS THE SIA SECURITY GUARD COURSE? (.sgs-what only)
   ========================================================= */

.sgs-sg-page .section.sgs-what {
    background: linear-gradient(180deg, #f5f6f8, #ffffff);
    padding: 72px 0;
}

.sgs-sg-page .sgs-what-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

/* ---------- Photo side ---------- */
.sgs-sg-page .sgs-what-media {
    position: relative;
    padding: 0 0 26px 26px;
}

/* red offset frame behind the photo */
.sgs-sg-page .sgs-what-media::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 78%;
    height: 82%;
    border: 3px solid #d71920;
    border-radius: 18px;
    z-index: 0;
}

.sgs-sg-page .sgs-what-photo {
    position: relative;
    z-index: 1;
    height: 500px;
    border-radius: 16px;
    background: url('../../images/about/sia-security-guard-access-control.webp') center 30% / cover no-repeat;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .22);
    transition: transform .5s ease, box-shadow .5s ease;
}

.sgs-sg-page .sgs-what-media:hover .sgs-what-photo {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(0, 0, 0, .3);
}

/* floating "4 Days" badge */
.sgs-sg-page .sgs-what-badge {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 0;
    max-width: 230px;
    padding: 16px 20px;
    background: #0b0d10;
    color: #fff;
    border-left: 4px solid #d71920;
    border-radius: 10px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .3);
}

.sgs-sg-page .sgs-what-badge b {
    display: block;
    font: 900 28px/1 var(--f-head);
    color: #fff;
}

.sgs-sg-page .sgs-what-badge span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #c4c9d2;
}

/* ---------- Content side ---------- */
.sgs-sg-page .sgs-what-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #d71920;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-what .sgs-what-content h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.12;
    color: #0b0d10;
}

.sgs-sg-page .section.sgs-what .sgs-what-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: #d71920;
}

.sgs-sg-page .sgs-what-lead {
    margin: 0 0 24px;
    color: #3f4651;
    font-size: 17px;
    line-height: 1.8;
}

.sgs-sg-page .section.sgs-what .sgs-what-sub {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0b0d10;
}

/* topic chips (overrides the global ✓ list style) */
.sgs-sg-page .section.sgs-what ul.sgs-what-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.sgs-sg-page .section.sgs-what ul.sgs-what-chips li {
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #dfe2e7;
    border-radius: 999px;
    color: #2a2f37;
    font-size: 13px;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.sgs-sg-page .section.sgs-what ul.sgs-what-chips li::before {
    content: none;
}

.sgs-sg-page .section.sgs-what ul.sgs-what-chips li:hover {
    background: #d71920;
    border-color: #d71920;
    color: #fff;
    transform: translateY(-2px);
}

.sgs-sg-page .sgs-what-text {
    margin: 0 0 20px;
    color: #4e5661;
    font-size: 14.5px;
    line-height: 1.8;
}

/* licence note box */
.sgs-sg-page .sgs-what-note {
    margin: 0 0 26px;
    padding: 18px 20px;
    background: #0b0d10;
    border-left: 4px solid #d71920;
    border-radius: 10px;
    color: #d8dce3;
    font-size: 14px;
    line-height: 1.8;
}

/* booking button */
.sgs-sg-page .section.sgs-what .btn.dark {
    display: inline-block;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .section.sgs-what .btn.dark:hover {
    transform: translateY(-4px);
    background: #d71920;
    box-shadow: 0 10px 24px rgba(215, 25, 32, .28);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .sgs-sg-page .sgs-what-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .sgs-sg-page .sgs-what-photo {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .sgs-sg-page .section.sgs-what {
        padding: 48px 0;
    }

    .sgs-sg-page .sgs-what-media {
        padding: 0 0 20px 14px;
    }

    .sgs-sg-page .sgs-what-photo {
        height: 280px;
    }

    .sgs-sg-page .sgs-what-badge {
        right: 8px;
        max-width: 190px;
        padding: 12px 14px;
    }

    .sgs-sg-page .sgs-what-lead {
        font-size: 15.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .sgs-what-photo,
    .sgs-sg-page .section.sgs-what ul.sgs-what-chips li,
    .sgs-sg-page .section.sgs-what .btn.dark {
        transition: none;
    }
}
/* =========================================================
   RENEW YOUR SECURITY GUARD LICENCE - CTA (.sgs-renew only)
   ========================================================= */

.sgs-sg-page .section.sgs-renew-sec {
    padding: 64px 0;
    background: #fff;
}

.sgs-sg-page .sgs-renew {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 34px 38px;
    border-radius: 16px;
    border-left: 5px solid #d71920;
    background:
        radial-gradient(circle at 96% 0%, rgba(215, 25, 32, .28), transparent 40%),
        linear-gradient(135deg, #0b0d10, #17191d);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .sgs-renew:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, .24);
}

/* red diagonal slash decoration */
.sgs-sg-page .sgs-renew::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 24%;
    width: 3px;
    background: rgba(215, 25, 32, .55);
    transform: skewX(-25deg);
    pointer-events: none;
}

.sgs-sg-page .sgs-renew > * {
    position: relative;
    z-index: 1;
}

/* icon badge */
.sgs-sg-page .sgs-renew-icon {
    flex: none;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d71920;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 0 0 8px rgba(215, 25, 32, .18);
    transition: transform .6s ease;
}

.sgs-sg-page .sgs-renew:hover .sgs-renew-icon {
    transform: rotate(360deg);
}

/* text */
.sgs-sg-page .sgs-renew-body {
    flex: 1;
    min-width: 0;
}

.sgs-sg-page .sgs-renew-tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff4a50;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-renew-sec .sgs-renew-body h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.15;
}

.sgs-sg-page .sgs-renew-body p {
    margin: 0;
    max-width: 60ch;
    color: #c8ccd4;
    font-size: 14.5px;
    line-height: 1.7;
}

/* button */
.sgs-sg-page .sgs-renew-btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 14px 24px;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .sgs-renew-btn span {
    transition: transform .3s ease;
}

.sgs-sg-page .sgs-renew-btn:hover {
    transform: translateY(-3px);
    background: #fff;
    color: #0b0d10;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .3);
}

.sgs-sg-page .sgs-renew-btn:hover span {
    transform: translateX(5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sgs-sg-page .sgs-renew {
        flex-wrap: wrap;
        padding: 28px 24px;
    }

    .sgs-sg-page .sgs-renew::after {
        display: none;
    }

    .sgs-sg-page .sgs-renew-body {
        flex: 1 1 calc(100% - 100px);
    }

    .sgs-sg-page .sgs-renew-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .sgs-sg-page .section.sgs-renew-sec {
        padding: 44px 0;
    }

    .sgs-sg-page .sgs-renew-icon {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }

    .sgs-sg-page .sgs-renew-body {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .sgs-renew,
    .sgs-sg-page .sgs-renew-icon,
    .sgs-sg-page .sgs-renew-btn,
    .sgs-sg-page .sgs-renew-btn span {
        transition: none;
    }
}
/* =========================================================
   SECURITY GUARD REFRESHER & FIRST AID (.sgs-refresh only)
   ========================================================= */

.sgs-sg-page .section.sgs-refresh {
    padding: 78px 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(215, 25, 32, .2), transparent 38%),
        linear-gradient(135deg, #0b0d10, #17191d);
}

.sgs-sg-page .sgs-refresh-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 60px;
    align-items: center;
}

/* ---------- Content ---------- */
.sgs-sg-page .sgs-refresh-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: 3px solid #d71920;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-refresh .sgs-refresh-content h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    color: #fff;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1;
}

.sgs-sg-page .section.sgs-refresh .sgs-refresh-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: #d71920;
}

.sgs-sg-page .section.sgs-refresh .sgs-refresh-lead {
    margin: 0 0 14px;
    color: #e4e7ec;
    font-size: 17px;
    line-height: 1.8;
}

.sgs-sg-page .section.sgs-refresh .sgs-refresh-text {
    margin: 0 0 24px;
    color: #aab0bb;
    font-size: 14.5px;
    line-height: 1.8;
}

/* numbered step cards (overrides the global ✓ list style) */
.sgs-sg-page .section.sgs-refresh ul.sgs-refresh-steps {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.sgs-sg-page .section.sgs-refresh ul.sgs-refresh-steps li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    color: #e6e7e9;
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.sgs-sg-page .section.sgs-refresh ul.sgs-refresh-steps li::before {
    content: none;
}

.sgs-sg-page .section.sgs-refresh ul.sgs-refresh-steps li:hover {
    transform: translateX(6px);
    background: rgba(215, 25, 32, .12);
    border-color: #d71920;
}

.sgs-sg-page .sgs-refresh-no {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #d71920;
    color: #fff;
    font: 800 13px var(--f-head);
}

.sgs-sg-page .section.sgs-refresh .sgs-refresh-steps p {
    margin: 0;
    color: #e6e7e9;
    font-size: 14.5px;
    line-height: 1.5;
}

/* button */
.sgs-sg-page .sgs-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .sgs-refresh-btn span {
    transition: transform .3s ease;
}

.sgs-sg-page .sgs-refresh-btn:hover {
    transform: translateY(-4px);
    background: #fff;
    color: #0b0d10;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.sgs-sg-page .sgs-refresh-btn:hover span {
    transform: translateX(5px);
}

/* ---------- Photo ---------- */
.sgs-sg-page .sgs-refresh-media {
    position: relative;
    padding: 0 22px 22px 0;
}

/* red corner block behind the photo */
.sgs-sg-page .sgs-refresh-media::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-radius: 18px;
    background: #d71920;
}

.sgs-sg-page .sgs-refresh-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
    transition: transform .5s ease;
}

.sgs-sg-page .sgs-refresh-media:hover img {
    transform: translateY(-6px);
}

/* glass caption */
.sgs-sg-page .sgs-refresh-caption {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 40px;
    max-width: 250px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-left: 4px solid #d71920;
    border-radius: 10px;
    background: rgba(11, 13, 16, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
}

.sgs-sg-page .sgs-refresh-caption b {
    display: block;
    font: 800 16px/1.2 var(--f-head);
}

.sgs-sg-page .sgs-refresh-caption span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
    color: #c4c9d2;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .sgs-sg-page .sgs-refresh-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .sgs-sg-page .sgs-refresh-media {
        order: -1;
    }

    .sgs-sg-page .sgs-refresh-media img {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .sgs-sg-page .section.sgs-refresh {
        padding: 50px 0;
    }

    .sgs-sg-page .sgs-refresh-media {
        padding: 0 12px 12px 0;
    }

    .sgs-sg-page .sgs-refresh-media img {
        height: 270px;
    }

    .sgs-sg-page .sgs-refresh-caption {
        left: 10px;
        bottom: 22px;
        max-width: 190px;
        padding: 10px 12px;
    }

    .sgs-sg-page .section.sgs-refresh .sgs-refresh-lead {
        font-size: 15.5px;
    }

    .sgs-sg-page .sgs-refresh-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .section.sgs-refresh ul.sgs-refresh-steps li,
    .sgs-sg-page .sgs-refresh-media img,
    .sgs-sg-page .sgs-refresh-btn,
    .sgs-sg-page .sgs-refresh-btn span {
        transition: none;
    }
}
/* =========================================================
   SECURITY GUARD REFRESHER & FIRST AID - LIGHT CARD (.sgs-rf only)
   ========================================================= */

.sgs-sg-page .section.sgs-rf {
    padding: 72px 0;
    background: linear-gradient(180deg, #f5f6f8, #ffffff);
}

.sgs-sg-page .sgs-rf-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border-radius: 18px;
    border-top: 4px solid #d71920;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .12);
    transition: box-shadow .4s ease;
}

.sgs-sg-page .sgs-rf-card:hover {
    box-shadow: 0 32px 74px rgba(0, 0, 0, .18);
}

/* ---------- Photo (full-bleed left half) ---------- */
.sgs-sg-page .sgs-rf-media {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #0b0d10;
}

.sgs-sg-page .sgs-rf-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease;
}

.sgs-sg-page .sgs-rf-card:hover .sgs-rf-media img {
    transform: scale(1.06);
}

/* dark fade at the bottom for the caption */
.sgs-sg-page .sgs-rf-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .6));
    pointer-events: none;
}

.sgs-sg-page .sgs-rf-pill {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 22px;
    max-width: calc(100% - 40px);
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-left: 4px solid #d71920;
    border-radius: 10px;
    background: rgba(11, 13, 16, .7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------- Content ---------- */
.sgs-sg-page .sgs-rf-body {
    padding: 52px 52px 48px;
    align-self: center;
}

.sgs-sg-page .sgs-rf-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #d71920;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-rf .sgs-rf-body h2 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    color: #0b0d10;
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.12;
}

.sgs-sg-page .section.sgs-rf .sgs-rf-body h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 4px;
    border-radius: 10px;
    background: #d71920;
}

.sgs-sg-page .section.sgs-rf .sgs-rf-lead {
    margin: 0 0 12px;
    color: #2f3540;
    font-size: 16.5px;
    line-height: 1.8;
}

.sgs-sg-page .section.sgs-rf .sgs-rf-text {
    margin: 0 0 22px;
    color: #5a616b;
    font-size: 14.5px;
    line-height: 1.8;
}

/* points (overrides the global ✓ list style) */
.sgs-sg-page .section.sgs-rf ul.sgs-rf-points {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.sgs-sg-page .section.sgs-rf ul.sgs-rf-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #d71920;
    border-radius: 10px;
    color: #1f242b;
    font-size: 14.5px;
    font-weight: 600;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .section.sgs-rf ul.sgs-rf-points li::before {
    content: none;
}

.sgs-sg-page .section.sgs-rf ul.sgs-rf-points li:hover {
    transform: translateX(6px);
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.sgs-sg-page .sgs-rf-points li > span {
    flex: none;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d71920;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

/* button */
.sgs-sg-page .section.sgs-rf .sgs-rf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .sgs-rf-btn span {
    transition: transform .3s ease;
}

.sgs-sg-page .section.sgs-rf .sgs-rf-btn:hover {
    transform: translateY(-4px);
    background: #d71920;
    box-shadow: 0 12px 26px rgba(215, 25, 32, .3);
}

.sgs-sg-page .sgs-rf-btn:hover span {
    transform: translateX(5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sgs-sg-page .sgs-rf-card {
        grid-template-columns: 1fr;
    }

    .sgs-sg-page .sgs-rf-media {
        min-height: 330px;
    }

    .sgs-sg-page .sgs-rf-body {
        padding: 36px 26px 34px;
    }
}

@media (max-width: 520px) {
    .sgs-sg-page .section.sgs-rf {
        padding: 46px 0;
    }

    .sgs-sg-page .sgs-rf-media {
        min-height: 250px;
    }

    .sgs-sg-page .sgs-rf-body {
        padding: 28px 18px 28px;
    }

    .sgs-sg-page .section.sgs-rf .sgs-rf-lead {
        font-size: 15.5px;
    }

    .sgs-sg-page .section.sgs-rf .sgs-rf-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .sgs-rf-card,
    .sgs-sg-page .sgs-rf-media img,
    .sgs-sg-page .section.sgs-rf ul.sgs-rf-points li,
    .sgs-sg-page .section.sgs-rf .sgs-rf-btn,
    .sgs-sg-page .sgs-rf-btn span {
        transition: none;
    }
}
/* =========================================================
   BOOKING CTA - SECURITY GUARD + FIRST AID (.sgs-book only)
   ========================================================= */

.sgs-sg-page .section.sgs-book-sec {
    padding: 64px 0;
    background: #fff;
}

.sgs-sg-page .sgs-book {
    overflow: hidden;
    border-radius: 16px;
    border-bottom: 4px solid #d71920;
    background:
        radial-gradient(circle at 95% 0%, rgba(215, 25, 32, .28), transparent 42%),
        linear-gradient(135deg, #0b0d10, #17191d);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .2);
}

.sgs-sg-page .sgs-book-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 40px 44px;
}

.sgs-sg-page .sgs-book-info {
    flex: 1;
    min-width: 0;
}

.sgs-sg-page .sgs-book-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff4a50;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sgs-sg-page .section.sgs-book-sec .sgs-book-info h2 {
    margin: 0;
    max-width: 22ch;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.sgs-sg-page .sgs-book-action {
    flex: none;
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 560px;
}

.sgs-sg-page .sgs-book-price {
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, .18);
    text-align: center;
}

.sgs-sg-page .sgs-book-price b {
    display: block;
    color: #fff;
    font: 900 40px/1 var(--f-head);
}

.sgs-sg-page .sgs-book-price small {
    display: block;
    margin-top: 6px;
    color: #aab0bb;
    font-size: 12px;
}

.sgs-sg-page .sgs-book-btn {
    padding: 16px 26px;
    text-align: center;
    line-height: 1.4;
    transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.sgs-sg-page .sgs-book-btn:hover {
    transform: translateY(-4px);
    background: #fff;
    color: #0b0d10;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}

/* warning strip */
.sgs-sg-page .sgs-book-warn {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 16px 44px;
    background: rgba(215, 25, 32, .14);
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ffd9db;
    font-size: 14px;
    line-height: 1.6;
}

.sgs-sg-page .sgs-book-warn-ic {
    flex: none;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d71920;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .sgs-sg-page .sgs-book-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .sgs-sg-page .sgs-book-action {
        max-width: none;
        width: 100%;
    }

    .sgs-sg-page .sgs-book-btn {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .sgs-sg-page .section.sgs-book-sec {
        padding: 44px 0;
    }

    .sgs-sg-page .sgs-book-main {
        padding: 28px 20px;
    }

    .sgs-sg-page .sgs-book-action {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .sgs-sg-page .sgs-book-price {
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .sgs-sg-page .sgs-book-warn {
        padding: 16px 20px;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgs-sg-page .sgs-book-btn {
        transition: none;
    }
}
/* ----------Who Is the Security Guard Course For? ---------- */
.who {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.who-head {
    position: sticky;
    top: 100px;
}

.who-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e11d2a;
}

.who-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    color: #030202;
}

.who-head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 20px;
    background: #e11d2a;
}

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

.who-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.who-list li:first-child {
    padding-top: 0;
}

.who-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.who-num {
    font-size: 28px;
    font-weight: 700;
    color: #e11d2a;
    line-height: 1.2;
}

.who-list p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(20, 17, 17, 0.78);
}

.who-list strong {
    color: #140101;
    font-weight: 600;
}

@media (max-width: 800px) {
    .who {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .who-head {
        position: static;
    }
    .who-list li {
        grid-template-columns: 44px 1fr;
    }
}
/* ---------- Heading ---------- */
.duties-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.duties-head h2,
.duties-head p {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.duties-head p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    transition-delay: .35s;
}

.duties-head h2 {
    margin: 0 0 20px;
}

/* red underline grows */
.duties-head h2::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 18px;
    background: #e11d2a;
    transition: width .9s cubic-bezier(.22, 1, .36, 1) .3s;
}

.duties-head.is-visible h2,
.duties-head.is-visible p {
    opacity: 1;
    transform: none;
}

.duties-head.is-visible p {
    opacity: .8;
}

.duties-head.is-visible h2::after {
    width: 56px;
}

/* ---------- Grid ---------- */
.duties {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 64px;
    counter-reset: duty;
}

.duties li {
    --d: 0ms; /* stagger delay, JS set pannum */
    counter-increment: duty;
    position: relative;
    padding: 28px 0 32px 68px;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

/* top line draws left -> right */
.duties li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(128, 128, 128, .35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1) var(--d),
                background .3s ease, height .3s ease;
}

/* number pops in */
.duties li::before {
    content: counter(duty, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 26px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #e11d2a;
    opacity: 0;
    transform: scale(.3) rotate(-14deg);
    transition: opacity .5s ease calc(var(--d) + .25s),
                transform .7s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d) + .25s);
}

.duties h3,
.duties p {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1),
                color .3s ease;
}

.duties h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.3;
    transition-delay: calc(var(--d) + .35s);
}

.duties p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    transition-delay: calc(var(--d) + .5s);
}

/* ---------- Visible state ---------- */
.duties li.is-visible::after {
    transform: scaleX(1);
}

.duties li.is-visible::before {
    opacity: 1;
    transform: none;
}

.duties li.is-visible h3 {
    opacity: 1;
    transform: none;
}

.duties li.is-visible p {
    opacity: .78;
    transform: none;
}

/* ---------- Hover ---------- */
.duties li.is-visible:hover {
    transform: translateX(10px);
}

.duties li.is-visible:hover::after {
    background: #e11d2a;
    height: 2px;
}

.duties li.is-visible:hover::before {
    transform: scale(1.18) rotate(-4deg);
    transition-delay: 0s;
}

.duties li.is-visible:hover h3 {
    color: #e11d2a;
    transition-delay: 0s;
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
    .duties {
        grid-template-columns: 1fr;
    }
    .duties li {
        padding-left: 56px;
    }
}

/* animation venam nu setting vechavangalukku */
@media (prefers-reduced-motion: reduce) {
    .duties-head h2, .duties-head p,
    .duties li::before, .duties li::after,
    .duties h3, .duties p {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .duties-head h2::after { width: 56px; transition: none; }
}
.learn {
    --red: #e11d2a;
    position: relative;
    overflow: hidden;
    padding: 56px 48px 48px;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(225, 29, 42, .18), transparent 45%),
        #0e0f12;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

/* top red light sweeping */
.learn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    filter: drop-shadow(0 0 8px var(--red));
    animation: learnSweep 3.2s linear infinite;
}

@keyframes learnSweep {
    to { left: 100%; }
}

.learn-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
}

.learn h2 {
    margin: 0 0 36px;
    color: #fff;
}

/* ---------- Tabs ---------- */
.learn-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.learn-tab {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    text-align: left;
    font: inherit;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
}

.learn-tab:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 29, 42, .6);
    color: #fff;
}

.learn-tab-k {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

.learn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.learn-tab-t {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.learn-tab-c {
    font-size: 13px;
    opacity: .6;
}

/* active tab = blinking red glow */
.learn-tab.active {
    background: linear-gradient(135deg, rgba(225, 29, 42, .28), rgba(225, 29, 42, .08));
    border-color: var(--red);
    animation: learnGlow 2s ease-in-out infinite;
}

.learn-tab.active .learn-dot {
    animation: learnBlink 1.1s ease-in-out infinite;
}

@keyframes learnGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, .0), 0 0 12px rgba(225, 29, 42, .25); }
    50%      { box-shadow: 0 0 0 4px rgba(225, 29, 42, .12), 0 0 28px rgba(225, 29, 42, .55); }
}

@keyframes learnBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px 2px var(--red); }
    50%      { opacity: .25; box-shadow: 0 0 0 0 var(--red); }
}

/* ---------- Panels ---------- */
.learn-panel {
    display: none;
}

.learn-panel.active {
    display: block;
}

.learn-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    counter-reset: lrn;
}

.learn-list li {
    --i: 0;
    counter-increment: lrn;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px 14px 20px 66px;
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-24px);
    transition: background .3s ease, color .3s ease, padding-left .3s ease;
}

/* items slide in one by one when tab opens */
.learn-panel.active .learn-list li {
    animation: learnIn .6s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--i) * 70ms);
}

@keyframes learnIn {
    to { opacity: 1; transform: none; }
}

/* number badge with wave of red glow */
.learn-list li::before {
    content: counter(lrn, decimal-leading-zero);
    position: absolute;
    left: 14px;
    top: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--red);
    border-radius: 10px;
    animation: learnPulse 2.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 220ms);
    transition: transform .3s ease;
}

@keyframes learnPulse {
    0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, 0); }
    30%           { box-shadow: 0 0 0 6px rgba(225, 29, 42, .22), 0 0 20px rgba(225, 29, 42, .7); }
}

.learn-list li:hover {
    background: rgba(225, 29, 42, .1);
    color: #fff;
    padding-left: 74px;
}

.learn-list li:hover::before {
    transform: scale(1.12) rotate(-6deg);
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
    .learn { padding: 36px 20px 28px; }
    .learn-tabs { grid-template-columns: 1fr; }
    .learn-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .learn *, .learn::before {
        animation: none !important;
        transition: none !important;
    }
    .learn-list li { opacity: 1; transform: none; }
}

/* ---------- Section: tight spacing, no divider lines ---------- */
.gl-sec { --r: #e11d2a; position: relative; padding: 44px 0; border: 0; }
.gl-sec + .gl-sec { padding-top: 0; }
.gl-sec::before, .gl-sec::after { display: none; }

/* ---------- Reveal ---------- */
.gl-rv { opacity: 0; }
.gl-rv.in {
    opacity: 1;
    animation: glUp .8s cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes glUp {
    from { opacity: 0; transform: translateY(36px) scale(.95); }
}

/* ---------- Heading ---------- */
.gl-head { margin-bottom: 22px; }
.gl-eyebrow {
    margin: 0 0 6px;
    font-size: 12px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--r);
}
.gl-head h2 { margin: 0; }
.gl-head h2::after {
    content: ""; display: block;
    width: 0; height: 3px; margin-top: 12px;
    background: var(--r);
    transition: width .9s cubic-bezier(.22, 1, .36, 1) .3s;
}
.gl-head.in h2::after { width: 56px; }
.gl-lead { margin: 12px 0 0; max-width: 640px; opacity: .78; }

/* ---------- Bento grid ---------- */
.gl-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.gl-tile {
    position: relative; overflow: hidden;
    padding: 20px 22px; border-radius: 18px;
    background: #fff; border: 1px solid rgba(0, 0, 0, .09);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s;
}
.gl-wide { grid-column: span 2; }

/* mouse spotlight */
.gl-tile::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 29, 42, .15), transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.gl-tile:hover::before { opacity: 1; }

/* red line grows on hover */
.gl-tile::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 0; height: 3px; background: var(--r);
    transition: width .5s cubic-bezier(.22, 1, .36, 1);
}
.gl-tile:hover::after { width: 100%; }
.gl-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 42, .45);
    box-shadow: 0 18px 36px -18px rgba(225, 29, 42, .5);
}

.gl-ic {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 12px;
    font-size: 15px; font-weight: 700;
    color: var(--r); background: rgba(225, 29, 42, .1);
    animation: glFloat 3s ease-in-out infinite alternate;
    transition: background .3s, color .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes glFloat { to { translate: 0 -4px; } }
.gl-tile:hover .gl-ic { color: #fff; background: var(--r); transform: rotate(-10deg) scale(1.12); }

.gl-tile h3 {
    position: relative; z-index: 1;
    margin: 14px 0 4px;
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .65;
}
.gl-big { position: relative; z-index: 1; margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.gl-tile p:last-child { position: relative; z-index: 1; margin: 0; font-size: 14.5px; line-height: 1.55; opacity: .75; }

/* Duration: tall dark tile */
.gl-dur {
    grid-row: 1 / span 2; grid-column: 1;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff; background: #0e0f12; border-color: #0e0f12;
}
.gl-dur .gl-big { font-size: clamp(44px, 6vw, 72px); font-weight: 900; color: var(--r); }
.gl-dur .gl-ic { position: absolute; top: 20px; left: 22px; color: #fff; background: rgba(255, 255, 255, .12); }
.gl-dur h3 { color: #fff; }
.gl-ring {
    position: absolute; top: -50px; right: -50px;
    width: 170px; height: 170px; border-radius: 50%;
    border: 2px solid rgba(225, 29, 42, .6);
    animation: glRing 3.2s ease-out infinite;
}
.gl-ring.r2 { animation-delay: 1.6s; }
@keyframes glRing {
    from { transform: scale(.4); opacity: 1; }
    to   { transform: scale(1.5); opacity: 0; }
}

/* Fee: red tile with shine */
.gl-fee { color: #fff; background: linear-gradient(135deg, #e11d2a, #a50f1a); border-color: transparent; }
.gl-fee .gl-ic { color: #fff; background: rgba(255, 255, 255, .22); }
.gl-fee h3 { color: #fff; }
.gl-fee::after {
    left: -60%; bottom: 0; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg);
    animation: glShine 3.4s ease-in-out infinite;
    transition: none;
}
.gl-fee:hover::after { width: 40%; }
@keyframes glShine { 60%, 100% { left: 130%; } }

/* ---------- Eligibility panels ---------- */
.gl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gl-panel {
    position: relative; overflow: hidden;
    padding: 22px 24px; border-radius: 18px;
    background: #fff; border: 1px solid rgba(0, 0, 0, .09);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s;
}
.gl-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 29, 42, .4);
    box-shadow: 0 18px 36px -20px rgba(225, 29, 42, .45);
}
.gl-panel::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #e11d2a, #ff7a82, #e11d2a);
    background-size: 200% 100%;
    animation: glFlow 3s linear infinite;
    transform: scaleX(0); transform-origin: left;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1) .2s;
}
.gl-panel.in::before { transform: scaleX(1); }
@keyframes glFlow { to { background-position: -200% 0; } }

.gl-panel h3 { margin: 0 0 8px; font-size: 20px; }

.gl-checks { list-style: none; margin: 0; padding: 0; }
.gl-checks li {
    --k: 0;
    position: relative; opacity: 0;
    padding: 10px 0 10px 40px;
    border-bottom: 1px dashed rgba(0, 0, 0, .13);
    transition: transform .25s ease, color .25s ease;
}
.gl-checks li:last-child { border-bottom: 0; }
.gl-panel.in .gl-checks li {
    opacity: 1;
    animation: glSlide .6s cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: calc(var(--k) * 110ms + .25s);
}
@keyframes glSlide { from { opacity: 0; transform: translateX(-18px); } }

.gl-checks li::before {
    content: "✓";
    position: absolute; left: 0; top: 9px;
    display: grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    font-size: 14px; font-weight: 700; color: #fff; background: var(--r);
    transform: scale(0);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.gl-panel.in .gl-checks li::before {
    transform: none;
    animation: glPop .5s cubic-bezier(.34, 1.56, .64, 1) backwards;
    animation-delay: calc(var(--k) * 110ms + .4s);
}
@keyframes glPop { from { transform: scale(0) rotate(-120deg); } }

.gl-checks li:hover { transform: translateX(6px); color: var(--r); }
.gl-checks li:hover::before { transform: scale(1.18) rotate(8deg); }
.gl-checks a { color: var(--r); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .gl-bento { grid-template-columns: repeat(2, 1fr); }
    .gl-dur { grid-row: auto; grid-column: span 2; min-height: 200px; }
}
@media (max-width: 700px) {
    .gl-bento, .gl-two { grid-template-columns: 1fr; }
    .gl-wide, .gl-dur { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .gl-sec *, .gl-sec *::before, .gl-sec *::after { animation: none !important; transition: none !important; }
    .gl-rv, .gl-checks li { opacity: 1; }
    .gl-checks li::before, .gl-panel::before { transform: none; }
    .gl-head h2::after { width: 56px; }
}
/* ---------- Careers: dark panel ---------- */
.gl-sec.gl-career {
    position: relative;
    overflow: hidden;
    padding: 44px 0;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0%, rgba(225, 29, 42, .22), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(225, 29, 42, .12), transparent 40%),
        #0e0f12;
}

/* red light sweeping across the top */
.gl-sec.gl-career::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--r), transparent);
    filter: drop-shadow(0 0 8px var(--r));
    animation: glSweep 3.4s linear infinite;
}
@keyframes glSweep { to { left: 100%; } }

.gl-career .gl-head h2 { color: #fff; }
.gl-career .gl-lead { opacity: .75; }

/* ---------- Pills ---------- */
.gl-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.gl-pill {
    --p: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px 11px 16px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: default;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    opacity: 0;
    transition: background .3s, border-color .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

/* pulsing red dot, wave across pills */
.gl-pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--r);
    animation: glDot 2.4s ease-in-out infinite;
    animation-delay: calc(var(--p) * 200ms);
}
@keyframes glDot {
    0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, 0); }
    25% { box-shadow: 0 0 0 5px rgba(225, 29, 42, .25), 0 0 14px rgba(225, 29, 42, .9); }
}

/* pop in one by one, then gently float */
.gl-pills.in .gl-pill {
    opacity: 1;
    animation:
        glPillIn .6s cubic-bezier(.34, 1.56, .64, 1) backwards,
        glBob 3.2s ease-in-out infinite alternate;
    animation-delay:
        calc(var(--p) * 80ms + .15s),
        calc(var(--p) * 250ms + 1s);
}
@keyframes glPillIn { from { opacity: 0; transform: translateY(24px) scale(.6); } }
@keyframes glBob { to { translate: 0 -4px; } }

.gl-pill:hover {
    background: var(--r);
    border-color: var(--r);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 28px -8px rgba(225, 29, 42, .8);
}
.gl-pill:hover::before { background: #fff; animation: none; }

/* ---------- Note box ---------- */
.gl-note {
    position: relative;
    max-width: 760px;
    margin: 0;
    padding: 16px 20px 16px 24px;
    font-size: 15.5px;
    line-height: 1.65;
    background: rgba(255, 255, 255, .06);
    border-radius: 12px;
}
.gl-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 12px 0 0 12px;
    background: var(--r);
    animation: glBar 2s ease-in-out infinite;
}
@keyframes glBar {
    50% { box-shadow: 0 0 14px 2px rgba(225, 29, 42, .8); }
}

.gl-note a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(var(--r), var(--r)) left bottom / 100% 2px no-repeat;
    transition: background-size .35s ease, color .3s;
}
.gl-note a:hover {
    color: #fff;
    background-size: 100% 100%;
}

@media (max-width: 700px) {
    .gl-pill { font-size: 14px; padding: 9px 16px 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .gl-pill { opacity: 1; }
}
/* ---------- FAQ: compact, no empty side space ---------- */
.gl-sec.gl-faq { padding: 32px 0; }

/* heading mela, list keezha */
.gl-faq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}
.gl-faq-head { position: static; }
.gl-faq-head h2 { font-size: clamp(26px, 3vw, 36px); }

/* list: 2 columns, so height half ah aagum */
.gl-faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
    align-items: start;
}

/* compact items */
.gl-q {
    padding: 11px 16px;
    gap: 12px;
    font-size: 15.5px;
}
.gl-qn { width: 32px; height: 32px; font-size: 12px; border-radius: 9px; }
.gl-qx { width: 26px; height: 26px; }
.gl-ai { padding: 0 18px 0 60px; }
.gl-qi.open .gl-ai { padding-bottom: 16px; }

/* opened item full width edukkum (long answer, chips nalla theriyum) */
.gl-qi.open { grid-column: 1 / -1; }

/* tablet / mobile: single column */
@media (max-width: 800px) {
    .gl-faq-list { grid-template-columns: 1fr; }
    .gl-ai { padding-left: 18px; }
}
.gl-qi {
    --i: 0;
    counter-increment: fq;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 16px;
    opacity: 0;
    transition: background .4s, border-color .4s, box-shadow .4s, transform .35s cubic-bezier(.22, 1, .36, 1);
}
.gl-qi.in {
    opacity: 1;
    animation: glUp .7s cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: calc(var(--i) * 70ms);
}

/* red bar fills on the left */
.gl-qi::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--r);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.gl-qi:hover { transform: translateX(6px); border-color: rgba(225, 29, 42, .4); }
.gl-qi:hover::before { transform: scaleY(1); }

/* ---------- Question button ---------- */
.gl-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    font: inherit;
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.35;
    text-align: left;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.gl-qn {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    font-size: 13px; font-weight: 800;
    color: var(--r);
    background: rgba(225, 29, 42, .1);
    border-radius: 11px;
    transition: background .3s, color .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.gl-qn::before { content: counter(fq, decimal-leading-zero); }
.gl-qi:hover .gl-qn { transform: rotate(-8deg) scale(1.08); }

.gl-qt { flex: 1; }

/* plus -> cross icon */
.gl-qx {
    flex: none;
    position: relative;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(225, 29, 42, .1);
    transition: background .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.gl-qx::before, .gl-qx::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 12px; height: 2px;
    margin: -1px 0 0 -6px;
    background: var(--r);
    border-radius: 2px;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .3s;
}
.gl-qx::after { transform: rotate(90deg); }

/* ---------- Answer: smooth height ---------- */
.gl-a {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .5s cubic-bezier(.22, 1, .36, 1), visibility 0s .5s;
}
.gl-ai { min-height: 0; overflow: hidden; padding: 0 20px 0 74px; }
.gl-ai p { margin: 0 0 10px; line-height: 1.7; font-size: 15.5px; }
.gl-ai > :last-child { margin-bottom: 0; }
.gl-ai > *:first-child { margin-top: 2px; }

.gl-ai > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s, transform .5s cubic-bezier(.22, 1, .36, 1);
}

/* ---------- OPEN state: dark + glow ---------- */
.gl-qi.open {
    color: #fff;
    background: #0e0f12;
    border-color: var(--r);
    box-shadow: 0 0 0 3px rgba(225, 29, 42, .12), 0 20px 40px -20px rgba(225, 29, 42, .55);
}
.gl-qi.open::before { transform: scaleY(1); }
.gl-qi.open:hover { transform: none; }
.gl-qi.open .gl-qn { color: #fff; background: var(--r); }
.gl-qi.open .gl-qx { background: var(--r); transform: rotate(180deg); }
.gl-qi.open .gl-qx::before, .gl-qi.open .gl-qx::after { background: #fff; }
.gl-qi.open .gl-qx::after { transform: rotate(0); }

.gl-qi.open .gl-a {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .5s cubic-bezier(.22, 1, .36, 1), visibility 0s 0s;
}
.gl-qi.open .gl-ai { padding-bottom: 20px; }
.gl-qi.open .gl-ai > * { opacity: .88; transform: none; transition-delay: .15s; }
.gl-qi.open .gl-ai a { color: #ff6b73; }

.gl-bul { list-style: none; margin: 0 0 10px; padding: 0; }
.gl-bul li { position: relative; padding: 5px 0 5px 22px; font-size: 15.5px; }
.gl-bul li::before {
    content: "";
    position: absolute; left: 0; top: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--r);
    box-shadow: 0 0 8px var(--r);
}

/* ---------- Area chips ---------- */
.gl-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.gl-chips li {
    --c: 0;
    padding: 6px 13px;
    font-size: 13.5px;
    line-height: 1.3;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    transition: background .25s, border-color .25s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.gl-qi.open .gl-chips li {
    animation: glChip .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
    animation-delay: calc(var(--c) * 18ms + .2s);
}
@keyframes glChip { from { opacity: 0; transform: scale(.5); } }
.gl-chips li:hover { background: var(--r); border-color: var(--r); transform: translateY(-3px) scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .gl-faq-grid { grid-template-columns: 1fr; gap: 22px; }
    .gl-faq-head { position: static; }
    .gl-ai { padding-left: 20px; }
}
@media (max-width: 560px) {
    .gl-q { padding: 14px; gap: 12px; font-size: 15.5px; }
    .gl-qn { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .gl-qi { opacity: 1; }
    .gl-ai > * { opacity: .88; transform: none; }
}
/* ---------- Reviews ---------- */
.gl-sec.gl-rev { padding: 40px 0; }

.gl-rev-top {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.gl-rev-top h2 { margin: 0; }
.gl-rev-top h2::after {
    content: ""; display: block; width: 0; height: 3px; margin-top: 12px;
    background: var(--r); transition: width .9s cubic-bezier(.22,1,.36,1) .3s;
}
.gl-rev-top.in h2::after { width: 56px; }

.gl-stars { color: var(--r); letter-spacing: 3px; font-size: 15px; }

/* score badge */
.gl-score {
    display: grid; grid-template-columns: auto auto; align-items: center;
    column-gap: 14px; padding: 12px 22px; border-radius: 16px;
    color: #fff; background: #0e0f12;
    box-shadow: 0 0 0 1px rgba(225,29,42,.5), 0 14px 30px -14px rgba(225,29,42,.6);
    animation: glGlowBox 2.6s ease-in-out infinite;
}
@keyframes glGlowBox { 50% { box-shadow: 0 0 0 1px var(--r), 0 14px 38px -8px rgba(225,29,42,.9); } }
.gl-score strong { grid-row: span 2; font-size: 44px; font-weight: 900; line-height: 1; }
.gl-score .gl-stars { font-size: 14px; }
.gl-score small { font-size: 12.5px; opacity: .7; }

/* slider */
.gl-track {
    display: flex; gap: 16px; padding: 8px 4px 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; outline: none;
}
.gl-track::-webkit-scrollbar { display: none; }

.gl-rcard {
    position: relative; overflow: hidden; margin: 0;
    flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 10px;
    padding: 22px 22px 18px; border-radius: 20px;
    background: #fff; border: 1px solid rgba(0,0,0,.09);
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s, background .4s, color .4s;
}
.gl-rcard::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
    background: var(--r); transition: width .5s cubic-bezier(.22,1,.36,1);
}
.gl-rcard:hover {
    transform: translateY(-8px); color: #fff; background: #0e0f12; border-color: var(--r);
    box-shadow: 0 22px 44px -20px rgba(225,29,42,.7);
}
.gl-rcard:hover::after { width: 100%; }

.gl-qm {
    position: absolute; top: -6px; right: 16px;
    font-size: 96px; font-weight: 900; line-height: 1; font-family: Georgia, serif;
    color: rgba(225,29,42,.14); transition: transform .5s cubic-bezier(.34,1.56,.64,1), color .3s;
}
.gl-rcard:hover .gl-qm { transform: scale(1.25) rotate(-8deg); color: rgba(225,29,42,.45); }

.gl-rcard .gl-stars { animation: glTwinkle 2.4s ease-in-out infinite; }
@keyframes glTwinkle { 50% { text-shadow: 0 0 10px rgba(225,29,42,.9); } }

.gl-rcard blockquote {
    margin: 0; flex: 1; font-size: 15px; line-height: 1.65; opacity: .88;
    display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.gl-rcard:hover blockquote { -webkit-line-clamp: unset; }

.gl-rcard figcaption {
    display: flex; align-items: center; gap: 12px;
    padding-top: 12px; border-top: 1px dashed rgba(128,128,128,.35);
}
.gl-av {
    flex: none; display: grid; place-items: center; width: 42px; height: 42px;
    border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: #0e0f12;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--r);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s;
}
.gl-rcard:hover .gl-av { background: var(--r); transform: rotate(-10deg) scale(1.1); box-shadow: 0 0 0 2px #0e0f12, 0 0 0 4px var(--r); }
.gl-rcard figcaption b { display: block; font-size: 14.5px; }
.gl-ver { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--r); }
.gl-rcard figcaption small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; opacity: .6; }

/* nav */
.gl-rnav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.gl-arrow {
    width: 42px; height: 42px; border-radius: 50%; font-size: 18px; cursor: pointer;
    color: var(--r); background: #fff; border: 1px solid rgba(225,29,42,.4);
    transition: background .25s, color .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.gl-arrow:hover { color: #fff; background: var(--r); transform: scale(1.12); }
.gl-dots { display: flex; gap: 8px; }
.gl-dots i {
    width: 9px; height: 9px; border-radius: 99px; background: rgba(128,128,128,.4);
    transition: width .4s cubic-bezier(.22,1,.36,1), background .3s;
}
.gl-dots i.on { width: 28px; background: var(--r); }

/* CTA */
.gl-rcta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.gl-rcta p { margin: 0; max-width: 520px; font-size: 15px; opacity: .75; }
.gl-btn {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
    padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px;
    color: #fff !important; text-decoration: none; background: var(--r);
    box-shadow: 0 12px 28px -10px rgba(225,29,42,.8);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.gl-btn::before {
    content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-20deg); animation: glShine 3s ease-in-out infinite;
}
.gl-btn i {
    font-style: normal; display: grid; place-items: center; width: 28px; height: 28px;
    border-radius: 50%; background: rgba(255,255,255,.25);
    animation: glNudge 1.4s ease-in-out infinite;
}
@keyframes glNudge { 50% { transform: translateX(5px); } }
.gl-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -10px rgba(225,29,42,.9); }

@media (max-width: 1000px) { .gl-rcard { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) {
    .gl-rcard { flex-basis: 88%; }
    .gl-rcta { flex-direction: column; align-items: flex-start; }
    .gl-btn { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    .gl-rev *, .gl-rev *::before { animation: none !important; }
}
/* ---------- 1. Marquee strip ---------- */
.gl-strip {
    --r: #e11d2a;
    position: relative;
    overflow: hidden;
    padding: 16px 0;
    color: #fff;
    background: #0e0f12;
    border-top: 2px solid var(--r);
    border-bottom: 2px solid var(--r);
}
.gl-marq { overflow: hidden; }
.gl-marq-track { display: flex; width: max-content; }
.gl-marq:hover .gl-marq-grp { animation-play-state: paused; }

.gl-marq-grp {
    flex: none;
    min-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    margin: 0;
    padding: 0 20px;
    list-style: none;
    animation: glMarq 22s linear infinite;
}
@keyframes glMarq { to { transform: translateX(-100%); } }

.gl-marq-grp li {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.gl-marq-grp li::after {
    content: "";
    width: 9px; height: 9px;
    background: var(--r);
    transform: rotate(45deg);
    box-shadow: 0 0 12px var(--r);
    animation: glDia 1.8s ease-in-out infinite;
}
@keyframes glDia { 50% { transform: rotate(225deg) scale(1.4); } }

/* ---------- 2. Standards ---------- */
.gl-sec.gl-std { padding: 40px 0; }
.gl-std-head { text-align: center; margin-bottom: 22px; }
.gl-std-head h2::after { margin-left: auto; margin-right: auto; }

.gl-std-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gl-std-tile {
    --i: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.gl-std-tile::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 3px;
    background: var(--r);
    transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.gl-std-ic {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: var(--r);
    animation: glTick 2.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 350ms);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes glTick {
    0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, 0); }
    30% { box-shadow: 0 0 0 7px rgba(225, 29, 42, .2), 0 0 20px rgba(225, 29, 42, .7); }
}

.gl-std-tile p { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.35; }

.gl-std-tile:hover {
    transform: translateY(-7px);
    color: #fff;
    background: #0e0f12;
    border-color: var(--r);
    box-shadow: 0 20px 40px -20px rgba(225, 29, 42, .7);
}
.gl-std-tile:hover::after { width: 100%; }
.gl-std-tile:hover .gl-std-ic { transform: rotate(-12deg) scale(1.15); }

/* ---------- 3. CTA ---------- */
.gl-cta { --r: #e11d2a; padding: 8px 0 44px; }

.gl-cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(225, 29, 42, .3), transparent 50%),
        #0e0f12;
    box-shadow: 0 0 0 1px rgba(225, 29, 42, .45), 0 30px 60px -30px rgba(225, 29, 42, .6);
}

/* red light sweep on top */
.gl-cta-box::before {
    content: "";
    position: absolute;
    top: 0; left: -40%;
    width: 40%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--r), transparent);
    filter: drop-shadow(0 0 8px var(--r));
    animation: glSweep 3.2s linear infinite;
}

/* floating glow orbs */
.gl-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(225, 29, 42, .5), transparent 65%);
    animation: glOrb 7s ease-in-out infinite alternate;
}
.gl-orb.o1 { width: 220px; height: 220px; left: -60px; bottom: -90px; }
.gl-orb.o2 { width: 160px; height: 160px; right: 28%; top: -70px; animation-delay: -3s; }
@keyframes glOrb { to { transform: translate(30px, -22px) scale(1.25); } }

.gl-cta-txt, .gl-cta-btns { position: relative; z-index: 1; }
.gl-cta-txt { flex: 1 1 380px; }
.gl-cta-txt h2 { margin: 0 0 8px; color: #fff; }
.gl-cta-txt p { margin: 0; font-size: 16.5px; line-height: 1.6; opacity: .78; }

.gl-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.gl-btn.ghost {
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.gl-btn.ghost::before { display: none; }
.gl-btn.ghost:hover {
    background: #fff;
    color: #0e0f12 !important;
    box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .gl-std-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .gl-std-grid { grid-template-columns: 1fr; }
    .gl-cta-box { padding: 28px 22px; }
    .gl-cta-btns, .gl-cta-btns .gl-btn { width: 100%; }
    .gl-cta-btns .gl-btn { justify-content: center; }
    .gl-marq-grp, .gl-marq-grp li { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .gl-strip *, .gl-std *, .gl-cta *, .gl-cta-box::before { animation: none !important; }
}