/* =============================================================================
   SG Education — shared UI components
   public/assets/css/sg-custom.css  (loaded once in layouts/main.blade.php)

   Used by: home, about, our-methodology (and any future page).
   Brand only: navy  = var(--eduhive-base)    #334154
               orange = var(--eduhive-primary) #F48134
   Class names are chosen so they never collide with the self-contained
   contact / results / blog pages.

   Component index
     1. Tokens
     2. Text helpers ........ .sg-lede  .sg-center-note
     3. Checklists .......... .sg-focus (card bullets)  .sg-checks (compact)
     4. Process chain ....... .sg-chain  .sg-chain--live
     5. Tags ................ .sg-tags
     6. Callout / quote ..... .sg-callout  .sg-quote
     7. Box ................. .sg-box
     8. Why cards ........... .sg-why-wrap  .sg-why-card
     9. Step cards .......... .sg-way__grid  .sg-way-step
    10. Q&A tiles ........... .sg-qa-tile
    11. Result highlights ... .sg-highlights  .sg-hl
    12. Path timeline ....... .sg-path
    13. Accordion ........... .sg-faq-list  .sg-faq-item …  .sg-faq-support
    14. Method timeline ..... .sg-timeline
    15. Dimensions .......... .sg-dims
    16. Batches badge ....... .sg-batches__badge
    17. Parents rows ........ .sg-parents
    18. Summary + features .. .sg-summary-*  .sg-chip-item  .sg-feature-*
    19. CTA card ............ .sg-cta-repo  .sg-cta__*
    20. Reduced motion
   ============================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    --sg-ease: cubic-bezier(.22, 1, .36, 1);
    --sg-radius: 20px;
    --sg-radius-sm: 14px;
    --sg-line: rgba(var(--eduhive-base-rgb), .08);
    --sg-muted: rgba(var(--eduhive-base-rgb), .7);
    --sg-soft: rgba(var(--eduhive-base-rgb), .03);
    --sg-shadow: 0 6px 18px rgba(var(--eduhive-base-rgb), .04);
    --sg-shadow-hover: 0 20px 44px -12px rgba(var(--eduhive-base-rgb), .16);
    --sg-tint: rgba(var(--eduhive-primary-rgb), .09);
}

/* ---------- 2. Text helpers ---------- */
.sg-lede {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--sg-muted);
}

.sg-center-note {
    max-width: 760px;
    margin: 44px auto 0;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: var(--sg-muted);
}

.sg-center-note strong {
    color: var(--eduhive-base);
}

/* ---------- 3. Checklists ---------- */
/* Card bullets — the standard list on every page */
.sg-focus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    margin: 22px 0 24px;
    padding: 0;
}

.sg-focus--1col {
    grid-template-columns: 1fr;
}

.sg-focus li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--sg-line);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--eduhive-base);
    transition: border-color .3s ease, transform .35s var(--sg-ease);
}

.sg-focus li:hover {
    border-color: var(--eduhive-primary);
    transform: translateX(4px);
}

.sg-focus:not(.sg-focus--1col) li:last-child:nth-child(odd) {
    grid-column: span 2;
}

.sg-focus__icon,
.sg-checks li > i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--eduhive-primary);
}

.sg-focus__icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

/* Compact bullets — inside cards / panels */
.sg-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.sg-checks--1col {
    grid-template-columns: 1fr;
}

.sg-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--eduhive-base);
}

.sg-checks li > i {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    font-size: 9px;
}

/* ---------- 4. Process chain (Learn → Practise → …) ---------- */
.sg-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.sg-chain__step {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--eduhive-base);
    background: var(--sg-soft);
    border: 1px solid var(--sg-line);
}

.sg-chain__step i {
    font-size: 11px;
}

.sg-chain__sep {
    font-size: 10px;
    color: rgba(var(--eduhive-base-rgb), .3);
}

.sg-chain__step--end {
    color: var(--eduhive-primary);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    background: var(--sg-tint);
}

/* Live: each step lights up in turn (built for 6 steps, --n = 0..5) */
.sg-chain--live .sg-chain__step {
    --dur: 9s;
    animation: sgChainPulse var(--dur) infinite;
    animation-delay: calc(var(--n, 0) * (var(--dur) / 6));
}

@keyframes sgChainPulse {
    0%, 15% {
        background: var(--eduhive-primary);
        border-color: var(--eduhive-primary);
        color: #fff;
        box-shadow: 0 6px 12px rgba(var(--eduhive-primary-rgb), .3);
        transform: translateY(-2px);
    }

    19%, 100% {
        background: var(--sg-soft);
        border-color: var(--sg-line);
        color: var(--eduhive-base);
        box-shadow: none;
        transform: none;
    }
}

/* ---------- 5. Tags ---------- */
.sg-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.sg-tags__label {
    font-weight: 700;
    color: var(--eduhive-base);
    margin-right: 4px;
}

.sg-tags li:not(.sg-tags__label) {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--eduhive-base);
    background: rgba(var(--eduhive-base-rgb), .07);
}

/* ---------- 6. Callout + quote ---------- */
.sg-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 16px 20px;
    border-radius: var(--sg-radius-sm);
    background: var(--eduhive-base);
    color: #fff;
    font-weight: 700;
    line-height: 1.5;
}

.sg-callout i {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--eduhive-primary);
}

.sg-callout--center {
    justify-content: center;
    max-width: 820px;
    margin: 55px auto 0;
    padding: 18px 24px;
    text-align: center;
}

.sg-quote {
    position: relative;
    margin: 0 0 22px;
    padding: 20px 24px 20px 60px;
    background: rgba(var(--eduhive-primary-rgb), .06);
    border-radius: var(--sg-radius-sm);
    border-left: 4px solid var(--eduhive-primary);
    font-size: 17px;
    font-weight: 600;
    font-style: italic;
    color: var(--eduhive-base);
}

.sg-quote > i {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 24px;
    font-style: normal;
    color: var(--eduhive-primary);
}

.sg-quote cite {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    color: var(--sg-muted);
}

/* ---------- 7. Box ---------- */
.sg-box {
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--sg-soft);
    border: 1px solid var(--sg-line);
}

.sg-box__label {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    color: var(--eduhive-base);
}

.sg-box__note {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sg-muted);
}

.sg-box .sg-chain {
    margin-bottom: 14px;
}

/* ---------- 8. Why cards ---------- */
.sg-why-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.sg-why-card {
    position: relative;
    z-index: 1;
    flex: 0 0 calc(33.333% - 20px);
    overflow: hidden;
    padding: 40px 35px;
    background: #fff;
    border-radius: var(--sg-radius);
    border: 1px solid var(--sg-line);
    box-shadow: var(--sg-shadow);
    transition: transform .45s var(--sg-ease), box-shadow .45s var(--sg-ease), border-color .35s ease;
}

.sg-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sg-shadow-hover);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
}

.sg-why-card__watermark {
    position: absolute;
    top: -15px;
    right: -10px;
    z-index: -1;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--eduhive-base-rgb), .035);
    pointer-events: none;
    transition: color .6s var(--sg-ease), transform .6s var(--sg-ease);
}

.sg-why-card:hover .sg-why-card__watermark {
    color: rgba(var(--eduhive-primary-rgb), .06);
    transform: scale(1.05) translate(-10px, 10px);
}

.sg-why-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--eduhive-primary);
    transition: width .6s var(--sg-ease);
}

.sg-why-card:hover .sg-why-card__line {
    width: 100%;
}

.sg-why-card__icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: var(--sg-tint);
}

.sg-why-card__icon i {
    position: relative;
    z-index: 2;
    font-size: 28px;
    color: var(--eduhive-primary);
    transition: color .4s ease;
}

.sg-why-card__icon::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 0;
    background: var(--eduhive-primary);
    transition: height .4s var(--sg-ease);
}

.sg-why-card:hover .sg-why-card__icon::before {
    height: 100%;
}

.sg-why-card:hover .sg-why-card__icon i {
    color: #fff;
}

.sg-why-card h4 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--eduhive-base);
    transition: color .4s ease;
}

.sg-why-card:hover h4 {
    color: var(--eduhive-primary);
}

.sg-why-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--sg-muted);
}

/* ---------- 9. Step cards ---------- */
.sg-way__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.sg-way-step {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 34px 28px 28px;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    transition: transform .45s var(--sg-ease), box-shadow .45s var(--sg-ease), border-color .35s ease;
}

.sg-way-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--eduhive-primary), var(--eduhive-base));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .55s var(--sg-ease);
}

.sg-way-step:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    box-shadow: var(--sg-shadow-hover);
}

.sg-way-step:hover::before {
    transform: scaleX(1);
}

.sg-way-step__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sg-way-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
    transition: transform .45s var(--sg-ease), background .35s ease, color .35s ease, box-shadow .45s var(--sg-ease);
}

.sg-way-step:hover .sg-way-step__icon {
    background: var(--eduhive-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 0 6px rgba(var(--eduhive-primary-rgb), .12), 0 12px 22px rgba(var(--eduhive-primary-rgb), .28);
}

.sg-way-step__index {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: rgba(var(--eduhive-base-rgb), .08);
    font-variant-numeric: tabular-nums;
    user-select: none;
    transition: color .4s ease;
}

.sg-way-step:hover .sg-way-step__index {
    color: rgba(var(--eduhive-primary-rgb), .22);
}

.sg-way-step__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--eduhive-base);
    transition: color .3s ease;
}

.sg-way-step:hover .sg-way-step__title {
    color: var(--eduhive-primary);
}

.sg-way-step__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sg-muted);
}

.sg-way-step__go {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 22px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(var(--eduhive-base-rgb), .4);
    transition: color .35s ease;
}

.sg-way-step__go::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--eduhive-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--sg-ease);
}

.sg-way-step__go i {
    font-size: 11px;
    transition: transform .45s var(--sg-ease);
}

.sg-way-step:hover .sg-way-step__go {
    color: var(--eduhive-primary);
}

.sg-way-step:hover .sg-way-step__go::after {
    transform: scaleX(1);
}

.sg-way-step:hover .sg-way-step__go i {
    transform: translateX(4px);
}

.sg-way-step--last {
    background: linear-gradient(150deg, rgba(var(--eduhive-primary-rgb), .05) 0%, #fff 55%);
    border-color: rgba(var(--eduhive-primary-rgb), .18);
}

.sg-way-step--last .sg-way-step__go {
    color: var(--eduhive-primary);
}

.sg-way-step--last:hover .sg-way-step__go i {
    transform: rotate(180deg);
}

/* ---------- 10. Q&A tiles ---------- */
.sg-qa-tile {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    height: 100%;
    padding: 32px 30px;
    background: #fff;
    border-radius: var(--sg-radius);
    border: 1px solid var(--sg-line);
    box-shadow: var(--sg-shadow);
    transition: transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease), border-color .35s ease;
}

.sg-qa-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--sg-shadow-hover);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
}

.sg-qa-tile__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
    transition: all .45s var(--sg-ease);
}

.sg-qa-tile:hover .sg-qa-tile__icon {
    color: #fff;
    background: var(--eduhive-primary);
    transform: scale(1.06) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(var(--eduhive-primary-rgb), .25);
}

.sg-qa-tile__q {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: var(--eduhive-base);
    transition: color .3s ease;
}

.sg-qa-tile:hover .sg-qa-tile__q {
    color: var(--eduhive-primary);
}

.sg-qa-tile__a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-left: 3px solid var(--eduhive-primary);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: rgba(var(--eduhive-base-rgb), .8);
    background: var(--sg-soft);
}

.sg-qa-tile__a i {
    color: var(--eduhive-primary);
    font-size: 16px;
}

/* ---------- 11. Result highlights ---------- */
.sg-highlights {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background: var(--eduhive-white3);
}

.sg-highlights .sec-title {
    margin-bottom: 50px;
}

.sg-hl {
    height: 100%;
    padding: 36px 26px 30px;
    text-align: center;
    background: #fff;
    border-radius: var(--sg-radius);
    border-top: 4px solid var(--eduhive-primary);
    box-shadow: 0 10px 40px rgba(var(--eduhive-base-rgb), .06);
    transition: transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease);
}

.sg-hl:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--eduhive-primary-rgb), .2);
}

.sg-hl__icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
    transition: background .35s ease, color .35s ease;
}

.sg-hl__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(var(--eduhive-primary-rgb), .45);
    animation: sgSpin 12s linear infinite;
}

.sg-hl:hover .sg-hl__icon {
    color: #fff;
    background: var(--eduhive-primary);
}

@keyframes sgSpin {
    to { transform: rotate(360deg); }
}

.sg-hl__number {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 14px;
    font-size: clamp(36px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1;
    color: var(--eduhive-base);
    font-variant-numeric: tabular-nums;
}

.sg-hl__affix {
    font-size: .42em;
    font-weight: 700;
    color: var(--eduhive-primary);
}

.sg-hl__exam {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
}

.sg-hl__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--eduhive-base);
}

.sg-highlights__foot {
    margin-top: 45px;
    text-align: center;
}

.sg-highlights__note {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--sg-muted);
}

/* ---------- 12. Path timeline ---------- */
.sg-path {
    padding: 110px 0;
}

.sg-path--tinted {
    background: var(--eduhive-white3);
}

.sg-path .sec-title {
    margin-bottom: 60px;
}

.sg-path__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-path__list::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed rgba(var(--eduhive-base-rgb), .22);
}

.sg-path__item {
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.sg-path__dot {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 34px;
    color: var(--eduhive-primary);
    background: #fff;
    border: 2px solid var(--eduhive-primary);
    box-shadow: 0 0 0 10px var(--eduhive-white3);
    transition: background .35s ease, color .35s ease, transform .35s var(--sg-ease);
}

.sg-path__item:last-child .sg-path__dot {
    color: #fff;
    background: var(--eduhive-base);
    border-color: var(--eduhive-base);
}

.sg-path__item:hover .sg-path__dot {
    color: #fff;
    background: var(--eduhive-primary);
    border-color: var(--eduhive-primary);
    transform: translateY(-6px);
}

.sg-path__grade {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
}

.sg-path__label {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--eduhive-base);
}

.sg-path__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sg-muted);
}

/* ---------- 13. Accordion ---------- */
.sg-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sg-faq-item {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: 16px;
    box-shadow: var(--sg-shadow);
    transition: border-color .35s ease, box-shadow .4s var(--sg-ease);
}

.sg-faq-item:hover {
    border-color: rgba(var(--eduhive-primary-rgb), .28);
}

.sg-faq-item.is-open {
    border-color: rgba(var(--eduhive-primary-rgb), .35);
    box-shadow: 0 16px 36px rgba(var(--eduhive-base-rgb), .08);
}

.sg-faq-item__h {
    margin: 0;
    font-size: inherit;
}

.sg-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.sg-faq-btn:focus-visible {
    outline: 3px solid var(--eduhive-primary);
    outline-offset: -3px;
    border-radius: 16px;
}

.sg-faq-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--eduhive-base);
    background: rgba(var(--eduhive-base-rgb), .05);
    transition: background .35s ease, color .35s ease;
}

.sg-faq-item:hover .sg-faq-num,
.sg-faq-item.is-open .sg-faq-num {
    color: #fff;
    background: var(--eduhive-primary);
}

.sg-faq-q {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: var(--eduhive-base);
}

.sg-faq-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: rgba(var(--eduhive-base-rgb), .45);
    border: 1px solid rgba(var(--eduhive-base-rgb), .12);
    transition: all .4s var(--sg-ease);
}

.sg-faq-item.is-open .sg-faq-toggle {
    color: #fff;
    background: var(--eduhive-base);
    border-color: var(--eduhive-base);
    transform: rotate(45deg);
}

.sg-faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--sg-ease);
}

.sg-faq-item.is-open .sg-faq-panel {
    grid-template-rows: 1fr;
}

.sg-faq-panel__inner {
    overflow: hidden;
}

.sg-faq-a {
    margin: 0;
    padding: 0 24px 22px 78px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sg-muted);
}

.sg-faq-a::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 0 16px -54px;
    background: var(--sg-line);
}

/* Dark support card next to accordions */
.sg-faq-support {
    position: relative;
    overflow: hidden;
    margin-top: 28px;
    padding: 28px 26px;
    border-radius: var(--sg-radius);
    color: #fff;
    background: linear-gradient(160deg, #2b3846 0%, var(--eduhive-base) 100%);
    box-shadow: 0 18px 40px rgba(var(--eduhive-base-rgb), .22);
}

.sg-faq-support::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(var(--eduhive-primary-rgb), .35) 0%, transparent 70%);
    pointer-events: none;
}

.sg-faq-support > * {
    position: relative;
    z-index: 1;
}

.sg-faq-support__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
}

.sg-faq-support__label i {
    color: var(--eduhive-primary);
}

.sg-faq-support__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.sg-faq-support__text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
}

.sg-faq-support__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.sg-faq-support__chip {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .12);
}

.sg-faq-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    background: #25D366;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .28);
    transition: transform .35s var(--sg-ease);
}

.sg-faq-wa:hover {
    transform: translateY(-3px);
}

/* ---------- 14. Method timeline ---------- */
.sg-timeline {
    background: var(--eduhive-white3);
}

.sg-timeline__track {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.sg-timeline__track::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 31px;
    border-left: 2px dashed rgba(var(--eduhive-base-rgb), .2);
}

.sg-timeline__item {
    position: relative;
    display: flex;
    gap: 28px;
    padding-bottom: 36px;
}

.sg-timeline__node {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: var(--eduhive-primary);
    background: #fff;
    border: 2px solid rgba(var(--eduhive-primary-rgb), .35);
    box-shadow: 0 0 0 8px var(--eduhive-white3);
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.sg-timeline__item:hover .sg-timeline__node {
    color: #fff;
    background: var(--eduhive-primary);
    border-color: var(--eduhive-primary);
}

.sg-timeline__panel {
    flex: 1;
    min-width: 0;
    padding: 30px 32px;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    transition: border-color .35s ease, box-shadow .4s var(--sg-ease);
}

.sg-timeline__item:hover .sg-timeline__panel {
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    box-shadow: var(--sg-shadow-hover);
}

.sg-timeline__head {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sg-line);
}

.sg-timeline__no {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--eduhive-primary);
}

.sg-timeline__name {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--eduhive-base);
}

.sg-timeline__headline {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: rgba(var(--eduhive-base-rgb), .6);
}

.sg-timeline__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sg-muted);
}

.sg-timeline__subtitle {
    margin: 18px 0 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--eduhive-base);
}

.sg-timeline__close {
    margin: 0;
    padding: 14px 18px;
    border-left: 3px solid var(--eduhive-primary);
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(var(--eduhive-base-rgb), .8);
    background: rgba(var(--eduhive-primary-rgb), .07);
}

.sg-timeline__loop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sg-timeline__loop-icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
    background: var(--eduhive-base);
    box-shadow: 0 0 0 8px var(--eduhive-white3);
}

.sg-timeline__loop p {
    margin: 0;
    font-size: 16px;
    color: var(--sg-muted);
}

.sg-timeline__loop strong {
    color: var(--eduhive-primary);
}

/* ---------- 15. Dimensions ---------- */
.sg-dims__intro {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.sg-dims__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sg-dims__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    transition: transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease), border-color .35s ease;
}

.sg-dims__card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    box-shadow: var(--sg-shadow-hover);
}

.sg-dims__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
    transition: background .35s ease, color .35s ease;
}

.sg-dims__card:hover .sg-dims__icon {
    color: #fff;
    background: var(--eduhive-primary);
}

.sg-dims__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--eduhive-base);
}

.sg-dims__q {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sg-muted);
}

/* ---------- 16. Batches badge ---------- */
.sg-batches__badge {
    position: absolute;
    bottom: 24px;
    left: -18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--sg-line);
    box-shadow: 0 16px 40px rgba(var(--eduhive-base-rgb), .15);
}

.sg-batches__badge-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
    background: var(--eduhive-primary);
}

.sg-batches__badge strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--eduhive-base);
}

.sg-batches__badge small {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(var(--eduhive-base-rgb), .6);
}

/* ---------- 17. Parents rows ---------- */
.sg-parents__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.sg-parents__row {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: 16px;
    transition: transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease), border-color .35s ease;
}

.sg-parents__row:hover {
    transform: translateX(6px);
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    box-shadow: 0 12px 28px rgba(var(--eduhive-base-rgb), .07);
}

.sg-parents__num {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: rgba(var(--eduhive-base-rgb), .06);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    user-select: none;
    transition: color .35s ease;
}

.sg-parents__row:hover .sg-parents__num {
    color: rgba(var(--eduhive-primary-rgb), .16);
}

.sg-parents__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--eduhive-primary);
    background: var(--sg-tint);
    transition: background .35s ease, color .35s ease;
}

.sg-parents__row:hover .sg-parents__icon {
    color: #fff;
    background: var(--eduhive-primary);
}

.sg-parents__title {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 800;
    color: var(--eduhive-base);
}

.sg-parents__q {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(var(--eduhive-base-rgb), .6);
}

/* ---------- 18. Summary + features ---------- */
.sg-summary-sec {
    padding: 70px 0 40px;
    border-top: 1px solid rgba(var(--eduhive-base-rgb), .07);
}

.sg-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--eduhive-primary);
    background: rgba(var(--eduhive-primary-rgb), .1);
}

.sg-summary-title {
    margin: 0 0 16px;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.015em;
    color: var(--eduhive-base);
}

.sg-summary-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(var(--eduhive-base-rgb), .8);
    background: var(--sg-soft);
    border: 1px solid var(--sg-line);
}

.sg-summary-location i {
    color: var(--eduhive-primary);
}

.sg-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-chip-item {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eduhive-base);
    background: #fff;
    border: 1px solid rgba(var(--eduhive-base-rgb), .12);
    transition: border-color .3s ease, color .3s ease;
}

.sg-chip-item:hover {
    color: var(--eduhive-primary);
    border-color: var(--eduhive-primary);
}

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

.sg-feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
}

.sg-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--sg-radius-sm);
    background: var(--sg-soft);
    border: 1px solid var(--sg-line);
    transition: all .35s var(--sg-ease);
}

.sg-feature-card > i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--eduhive-primary);
    background: rgba(var(--eduhive-primary-rgb), .1);
    transition: all .3s ease;
}

.sg-feature-card span {
    font-size: 15px;
    font-weight: 700;
    color: var(--eduhive-base);
}

.sg-feature-card:hover {
    background: #fff;
    border-color: rgba(var(--eduhive-primary-rgb), .3);
    box-shadow: 0 8px 20px rgba(var(--eduhive-base-rgb), .06);
    transform: translateY(-2px);
}

.sg-feature-card:hover > i {
    color: #fff;
    background: var(--eduhive-primary);
}

/* ---------- 19. CTA card (same on every page) ---------- */
.sg-cta-repo {
    padding: 40px 0 110px;
}

.sg-cta-repo--mid {
    padding: 20px 0 40px;
}

.sg-cta__card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 55px;
    border-radius: 26px;
    background: linear-gradient(150deg, #2b3846 0%, var(--eduhive-base) 100%);
    box-shadow: 0 25px 60px rgba(var(--eduhive-base-rgb), .25);
}

.sg-cta__card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 260px;
    height: 260px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .1) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: .5;
    pointer-events: none;
}

.sg-cta__card::after {
    content: "";
    position: absolute;
    bottom: -90px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(var(--eduhive-primary-rgb), .3) 0%, transparent 70%);
    pointer-events: none;
}

.sg-cta__content {
    position: relative;
    z-index: 1;
}

.sg-cta__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(var(--eduhive-primary-rgb), .18);
    border: 1px solid rgba(var(--eduhive-primary-rgb), .35);
}

.sg-cta__tag i {
    font-size: 14px;
    color: var(--eduhive-primary);
}

.sg-cta__title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: #fff !important;
}

.sg-cta__text {
    margin: 0;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

.sg-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-self: end;
    width: 100%;
    max-width: 320px;
}

.sg-cta__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px 16px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease), background .35s ease, border-color .35s ease;
}

.sg-cta__btn-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: transform .4s var(--sg-ease), background .35s ease;
}

.sg-cta__btn:hover {
    transform: translateY(-3px);
}

.sg-cta__btn:hover .sg-cta__btn-icon {
    transform: translateX(4px);
}

.sg-cta__btn--primary {
    color: #fff !important;
    background: var(--eduhive-primary);
    box-shadow: 0 12px 28px rgba(var(--eduhive-primary-rgb), .35);
}

.sg-cta__btn--primary .sg-cta__btn-icon {
    color: #fff;
    background: rgba(255, 255, 255, .18);
}

.sg-cta__btn--primary:hover {
    box-shadow: 0 18px 38px rgba(var(--eduhive-primary-rgb), .45);
}

.sg-cta__btn--wa,
.sg-cta__btn--ghost {
    color: #fff !important;
    background: rgba(37, 211, 102, .12);
    border: 1px solid rgba(37, 211, 102, .35);
}

.sg-cta__btn--wa .sg-cta__btn-icon,
.sg-cta__btn--ghost .sg-cta__btn-icon {
    font-size: 16px;
    color: #fff;
    background: #25D366;
}

.sg-cta__btn--wa:hover,
.sg-cta__btn--ghost:hover {
    background: rgba(37, 211, 102, .2);
    border-color: rgba(37, 211, 102, .6);
}

.sg-cta__btn--glass {
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
}

.sg-cta__btn--glass .sg-cta__btn-icon {
    color: var(--eduhive-primary);
    background: rgba(255, 255, 255, .1);
}

.sg-cta__btn--glass:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(var(--eduhive-primary-rgb), .5);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .sg-why-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .sg-way__grid,
    .sg-dims__grid,
    .sg-feature-grid--3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .sg-way__grid {
        margin-top: 50px;
    }

    .sg-path__list {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 460px;
        margin: 0 auto;
    }

    .sg-path__list::before {
        top: 44px;
        bottom: 44px;
        left: 43px;
        right: auto;
        border-top: 0;
        border-left: 2px dashed rgba(var(--eduhive-base-rgb), .22);
    }

    .sg-path__item {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 12px 0;
        text-align: left;
    }

    .sg-path__dot {
        flex-shrink: 0;
        margin: 0;
    }

    .sg-callout--center {
        justify-content: flex-start;
        text-align: left;
    }

    .sg-faq-a {
        padding-left: 24px;
    }

    .sg-faq-a::before {
        margin-left: 0;
    }

    .sg-batches__badge {
        left: 12px;
        bottom: 12px;
        z-index: 5;
    }

    .sg-cta__card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 44px 34px;
    }

    .sg-cta__actions {
        justify-self: start;
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .sg-why-wrap {
        gap: 20px;
    }

    .sg-why-card {
        flex: 0 0 100%;
        padding: 30px 25px;
    }

    .sg-why-card__watermark {
        font-size: 100px;
    }

    .sg-timeline__track::before {
        left: 25px;
    }

    .sg-timeline__item {
        gap: 18px;
    }

    .sg-timeline__node,
    .sg-timeline__loop-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .sg-timeline__panel {
        padding: 24px 20px;
    }

    .sg-checks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .sg-focus,
    .sg-way__grid,
    .sg-dims__grid,
    .sg-feature-grid,
    .sg-feature-grid--3 {
        grid-template-columns: 1fr;
    }

    .sg-focus:not(.sg-focus--1col) li:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .sg-way-step {
        padding: 28px 22px 24px;
    }

    .sg-qa-tile {
        flex-direction: column;
        gap: 16px;
        padding: 25px;
    }

    .sg-cta__card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .sg-cta__actions {
        max-width: none;
    }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [class^="sg-"],
    [class*=" sg-"],
    [class^="sg-"]::before,
    [class^="sg-"]::after {
        transition: none !important;
    }

    .sg-chain--live .sg-chain__step,
    .sg-hl__icon::after {
        animation: none !important;
    }

    .sg-chain--live .sg-chain__step[style*="--n: 0"] {
        color: #fff;
        background: var(--eduhive-primary);
        border-color: var(--eduhive-primary);
    }

    .sg-why-card:hover,
    .sg-way-step:hover,
    .sg-qa-tile:hover,
    .sg-focus li:hover,
    .sg-hl:hover,
    .sg-dims__card:hover,
    .sg-parents__row:hover,
    .sg-feature-card:hover,
    .sg-cta__btn:hover,
    .sg-path__item:hover .sg-path__dot {
        transform: none !important;
    }
}

/* =============================================================================
   21. Footer (resources/views/layouts/footer.blade.php)
   ============================================================================= */
.sg-footer {
    --f-bg: #1e2833;
    --f-surface: rgba(255, 255, 255, .05);
    --f-line: rgba(255, 255, 255, .08);
    --f-text: rgba(255, 255, 255, .66);
    --f-light: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    color: var(--f-text);
    background: var(--f-bg);
}

.sg-footer::before {
    content: "";
    position: absolute;
    top: -160px;
    left: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--eduhive-primary-rgb), .22) 0%, transparent 70%);
    pointer-events: none;
}

.sg-footer::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: 60px;
    width: 280px;
    height: 280px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    pointer-events: none;
}

.sg-footer > .container {
    position: relative;
    z-index: 1;
}

.sg-footer a {
    text-decoration: none !important;
}

.sg-footer :focus-visible {
    outline: 3px solid var(--eduhive-primary);
    outline-offset: 3px;
}

/* Top band: logo + CTA + socials */
.sg-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--f-line);
}

.sg-footer__logo img {
    height: 56px;
    width: auto;
}

.sg-footer__pitch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.sg-footer__pitch p {
    margin: 0;
    max-width: 280px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--f-light);
}

.sg-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    background: var(--eduhive-primary);
    box-shadow: 0 10px 24px rgba(var(--eduhive-primary-rgb), .3);
    transition: transform .35s var(--sg-ease), box-shadow .35s var(--sg-ease);
}

.sg-footer__btn span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    background: rgba(255, 255, 255, .2);
}

.sg-footer__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--eduhive-primary-rgb), .42);
}

.sg-footer__socials {
    display: flex;
    gap: 8px;
}

.sg-footer__social {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--f-text) !important;
    background: var(--f-surface);
    border: 1px solid var(--f-line);
    transition: all .3s var(--sg-ease);
}

.sg-footer__social:hover {
    color: #fff !important;
    background: var(--eduhive-primary);
    border-color: var(--eduhive-primary);
    transform: translateY(-3px);
}

.sg-footer__social--wa:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Grid */
.sg-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr 1.1fr;
    gap: 48px;
    padding: 60px 0;
}

.sg-footer__title {
    position: relative;
    margin: 0 0 26px;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--f-light);
}

.sg-footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: var(--eduhive-primary);
}

.sg-footer__about {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.7;
}

.sg-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
}

.sg-footer__contact-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--eduhive-primary);
    background: var(--f-surface);
    border: 1px solid var(--f-line);
}

.sg-footer__contact a,
.sg-footer__links a {
    color: var(--f-text) !important;
    transition: color .25s ease;
}

.sg-footer__contact a:hover,
.sg-footer__links a:hover {
    color: #fff !important;
}

.sg-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: color .25s ease, transform .3s var(--sg-ease);
}

.sg-footer__links a i {
    font-size: 10px;
    color: rgba(255, 255, 255, .3);
    transition: color .25s ease;
}

.sg-footer__links a:hover {
    transform: translateX(4px);
}

.sg-footer__links a:hover i {
    color: var(--eduhive-primary);
}

/* Gallery (client photos) */
.sg-footer__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-footer__gallery li {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--f-line);
    background: var(--f-surface);
}

.sg-footer__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--sg-ease);
}

.sg-footer__gallery li:hover img {
    transform: scale(1.1);
}

/* Bottom bar */
.sg-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 22px 0;
    border-top: 1px solid var(--f-line);
    font-size: 14px;
}

.sg-footer__bottom p {
    margin: 0;
}

.sg-footer__bottom strong,
.sg-footer__bottom a {
    color: #fff !important;
}

.sg-footer__bottom a:hover {
    color: var(--eduhive-primary) !important;
}

@media (max-width: 1199px) {
    .sg-footer__grid {
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 40px;
    }

    .sg-footer__col--gallery {
        grid-column: 1 / -1;
    }

    .sg-footer__gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 767px) {
    .sg-footer {
        padding-top: 60px;
    }

    .sg-footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .sg-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
        padding: 48px 0;
    }

    .sg-footer__col--about {
        grid-column: 1 / -1;
    }

    .sg-footer__gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .sg-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .sg-footer__grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   22. Template image fixes — stop wide (16:9) photos from spilling into the
       text column. Eduhive's absolutely positioned photos were sized for its
       own stock images; these rules pin them to fixed boxes instead.
   ============================================================================= */
.offer-one__image,
.about-one__image,
.about-two__image {
    position: relative;
    max-width: 100%;
}

.offer-one__image img:not([class*="shape"]),
.about-one__image img:not([class*="shape"]),
.about-two__image img:not([class*="shape"]) {
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

/* "What parents want to know": small photo stays inside the image column */
.offer-one__image__two {
    width: 62% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    right: 0 !important;
    left: auto !important;
}

/* Text always sits above any photo that still overlaps */
.offer-one__content,
.about-one__content,
.about-two__content {
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .offer-one__image__two {
        width: 55% !important;
    }
}

/* =============================================================================
   23. Results carousel on Home / About (resources/views/partials/results.blade.php)
       Photo-overlay cards: every card is the same fixed 4:5 shape, text sits on
       the photo, so heights never differ whatever the content.
   ============================================================================= */
.sg-rc {
    position: relative;
    overflow: hidden;
    padding: 110px 0 100px;
    background: var(--eduhive-white3);
}

.sg-rc .sec-title {
    margin-bottom: 50px;
}

/* Equal-height slides */
.sg-rc .owl-stage {
    display: flex;
}

.sg-rc .owl-item {
    display: flex;
}

.sg-rc .owl-item > .item {
    width: 100%;
}

.sg-rc .owl-stage-outer {
    padding: 12px 0 34px;
}

.sg-rc__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    background: linear-gradient(170deg, #eef1f5 0%, #fde9dc 100%);
    box-shadow: 0 14px 34px rgba(var(--eduhive-base-rgb), .12);
    transition: transform .5s var(--sg-ease), box-shadow .5s var(--sg-ease);
}

.sg-rc__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(var(--eduhive-base-rgb), .22);
}

.owl-carousel .sg-rc__card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    transition: transform .8s var(--sg-ease);
}

.sg-rc__card:hover img {
    transform: scale(1.06);
}

/* Dark fade at the bottom so white text always reads */
.sg-rc__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(30, 40, 51, 0) 42%, rgba(30, 40, 51, .72) 68%, rgba(30, 40, 51, .96) 100%);
}

/* Orange line that grows on hover */
.sg-rc__card::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 0;
    height: 4px;
    background: var(--eduhive-primary);
    transition: width .6s var(--sg-ease);
}

.sg-rc__card:hover::before {
    width: 100%;
}

.sg-rc__initials {
    position: absolute;
    inset: 0 0 30%;
    z-index: -2;
    display: grid;
    place-items: center;
    font-size: 72px;
    font-weight: 800;
    letter-spacing: .02em;
    color: rgba(var(--eduhive-base-rgb), .35);
}

.sg-rc__exam {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    color: #fff;
    background: var(--eduhive-primary);
    box-shadow: 0 6px 14px rgba(var(--eduhive-primary-rgb), .35);
}

.sg-rc__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 22px 24px;
    color: #fff;
}

.sg-rc__score {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.sg-rc__num {
    font-size: clamp(34px, 2.6vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.sg-rc__affix {
    font-size: 15px;
    font-weight: 800;
    color: var(--eduhive-primary);
}

.sg-rc__name {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

/* Second result: one fixed-height line, so it never changes card height */
.sg-rc__also {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 22px;
    margin-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
}

.sg-rc__also i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 8px;
    color: #fff;
    background: rgba(var(--eduhive-primary-rgb), .9);
}

/* Dots in brand colours */
.sg-rc .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sg-rc .owl-dots .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 10px;
    background: rgba(var(--eduhive-base-rgb), .2);
    transition: width .35s var(--sg-ease), background .3s ease;
}

.sg-rc .owl-dots .owl-dot.active span {
    width: 28px;
    background: var(--eduhive-primary);
}

.sg-rc__foot {
    margin-top: 34px;
    text-align: center;
}

.sg-rc__foot p {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--sg-muted);
}

@media (max-width: 575px) {
    .sg-rc {
        padding: 80px 0 70px;
    }

    .sg-rc__card {
        aspect-ratio: 4 / 4.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-rc__card,
    .sg-rc__card img,
    .sg-rc__card::before {
        transition: none !important;
    }

    .sg-rc__card:hover,
    .sg-rc__card:hover img {
        transform: none;
    }
}


/* =============================================================================
   24. HERO BADGE (home slider) — "6-Step Learning System" → Methodology
   Sized to stay inside the template's teal blob.
   ========================================================================== */
.sg-hero-badge .total-student__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.sg-hero-badge__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    color: var(--eduhive-base);
    background: #fff;
    transition: transform .4s var(--sg-ease);
}

.sg-hero-badge .total-student__inner:hover .sg-hero-badge__icon {
    transform: scale(1.08);
}

.sg-hero-badge .total-student__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    letter-spacing: 0;
}

.sg-hero-badge__num {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.sg-hero-badge__label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: .9;
}


/* =============================================================================
   25. VERTICAL STEPS (home "our approach") — Learn → … → Repeat, top to bottom
   .sg-vsteps--live: each number lights up in turn (built for 6 steps)
   ========================================================================== */
.sg-vsteps {
    display: grid;
    gap: 0;
    margin: 6px 0 30px;
    padding: 0;
    list-style: none;
}

.sg-vsteps__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 18px;
}

.sg-vsteps__item:last-child {
    padding-bottom: 0;
}

/* Connecting line between the numbers */
.sg-vsteps__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
            rgba(var(--eduhive-primary-rgb), .45) 0 4px, transparent 4px 9px);
}

.sg-vsteps__num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    color: var(--eduhive-base);
    background: #fff;
    border: 2px solid var(--sg-line);
}

.sg-vsteps__item--end .sg-vsteps__num {
    font-size: 13px;
    color: var(--eduhive-primary);
    border-color: rgba(var(--eduhive-primary-rgb), .4);
    background: var(--sg-tint);
}

.sg-vsteps__body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    min-height: 40px;
    padding-top: 8px;
    line-height: 1.4;
}

.sg-vsteps__name {
    font-size: 17px;
    font-weight: 800;
    color: var(--eduhive-base);
}

.sg-vsteps__text {
    font-size: 15px;
    color: var(--sg-muted);
}

.sg-vsteps--live .sg-vsteps__num {
    --dur: 9s;
    animation: sgVstepPulse var(--dur) infinite;
    animation-delay: calc(var(--n, 0) * (var(--dur) / 6));
}

@keyframes sgVstepPulse {
    0%, 15% {
        color: #fff;
        background: var(--eduhive-primary);
        border-color: var(--eduhive-primary);
        box-shadow: 0 6px 14px rgba(var(--eduhive-primary-rgb), .35);
        transform: scale(1.08);
    }

    19%, 100% {
        box-shadow: none;
        transform: none;
    }
}

@media (max-width: 575px) {
    .sg-vsteps__body {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-vsteps--live .sg-vsteps__num {
        animation: none;
    }
}


/* =============================================================================
   26. RESULT HIGHLIGHTS WITH STUDENT PHOTOS (About) — extends §11 .sg-hl
   ========================================================================== */
.sg-hl__icon--photo {
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
}

.sg-hl__icon--photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}

.sg-hl__initials {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .02em;
}

/* Small exam icon on the photo's corner */
.sg-hl__badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
    color: #fff;
    background: var(--eduhive-primary);
    border: 3px solid #fff;
}

.sg-hl:hover .sg-hl__icon--photo {
    color: var(--eduhive-primary);
    background: var(--sg-tint);
}


/* =============================================================================
   27. COMPACT BULLETS WITH TITLE + DETAIL (.sg-checks) — title on top, detail below
   ========================================================================== */
.sg-checks__pair {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sg-checks__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--eduhive-base);
}

.sg-checks__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sg-muted);
}


/* =============================================================================
   28. TIMELINE "Back to Step 01" link (Methodology)
   ========================================================================== */
.sg-timeline__item {
    scroll-margin-top: 130px;   /* clears the sticky header */
}

.sg-timeline__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--eduhive-primary);
    transition: background .3s ease, transform .3s var(--sg-ease);
}

.sg-timeline__back i {
    font-size: 12px;
    transition: transform .3s var(--sg-ease);
}

.sg-timeline__back:hover,
.sg-timeline__back:focus-visible {
    color: #fff;
    background: var(--eduhive-base);
}

.sg-timeline__back:hover i {
    transform: translateY(-3px);
}

@media (max-width: 575px) {
    .sg-timeline__back {
        margin: 8px 0 0;
    }
}