/* Homepage (index.php) */

:root {
    --sv-bg-odd: #fefcf7;
    --sv-bg-even: #f5f8fc;
}

html {
    scroll-behavior: smooth;
}

.sv-section {
    padding: 72px 0;
    position: relative;
}

/* Standard stripe: odd = --sv-bg-odd, even = --sv-bg-even.
   section.sv-bg-* beats style.css section:nth-child(even). */
section.sv-bg-odd {
    background: var(--sv-bg-odd);
    background-color: var(--sv-bg-odd);
}

section.sv-bg-even {
    background: var(--sv-bg-even);
    background-color: var(--sv-bg-even);
}

/* style.css sets overflow:hidden on all sections; keep homepage blocks visible */
main > .sv-section,
main > .sv-cta {
    overflow: visible;
}

main > .sv-testimonials {
    overflow: hidden;
}

.sv-section .container {
    max-width: 1180px;
}

.sv-kicker {
    display: inline-block;
    color: #f47920;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.sv-title {
    color: #2a5298;
    font-size: 2.35rem;
    line-height: 1.25;
    margin: 0 0 24px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.sv-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 80px;
    background-color: #f47920;
    border-radius: 2px;
}

.sv-title:before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #2a5298;
    border-radius: 2px;
    z-index: 1;
}

.sv-lead {
    color: #444;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 28px;
    font-weight: 400;
}

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

/* Two-tone navy + orange outline icons */
.sv-duo-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.sv-duo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-duo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 46%, rgba(42, 82, 152, 0.22) 0%, rgba(42, 82, 152, 0.08) 45%, transparent 70%);
    pointer-events: none;
    transition: transform 0.25s ease;
}

.sv-do-list li:nth-child(even) .sv-duo::before,
.sv-trust-stat:nth-child(even) .sv-duo::before,
.sv-beyond-card:nth-child(even) .sv-duo::before,
.sv-benefit:nth-child(even) .sv-duo::before {
    background: radial-gradient(circle at 50% 46%, rgba(244, 121, 32, 0.26) 0%, rgba(244, 121, 32, 0.09) 45%, transparent 70%);
}

.sv-duo svg {
    position: relative;
    z-index: 1;
    width: 72%;
    height: 72%;
    overflow: visible;
    transition: transform 0.25s ease;
}

.sv-do-list li:hover .sv-duo::before,
.sv-trust-stat:hover .sv-duo::before,
.sv-beyond-card:hover .sv-duo::before,
.sv-benefit:hover .sv-duo::before {
    transform: translate(-50%, -50%) scale(1.08);
}

.sv-do-list li:hover .sv-duo svg,
.sv-trust-stat:hover .sv-duo svg,
.sv-beyond-card:hover .sv-duo svg,
.sv-benefit:hover .sv-duo svg {
    transform: scale(1.08);
}

.sv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 14px 28px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    min-width: 210px;
}

.sv-btn i {
    font-size: 1em;
    line-height: 1;
}

.sv-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.sv-btn-primary {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    border-color: #2a5298;
    color: #fff;
    box-shadow: 0 8px 20px rgba(42, 82, 152, 0.25);
}

.sv-btn-primary:hover {
    background: linear-gradient(135deg, #f47920, #ed5f26);
    border-color: #f47920;
    box-shadow: 0 10px 24px rgba(244, 121, 32, 0.35);
}

.sv-btn-secondary {
    background: #fff;
    color: #2a5298;
    border-color: #2a5298;
    box-shadow: 0 8px 20px rgba(42, 82, 152, 0.12);
}

.sv-btn-secondary:hover {
    background: #2a5298;
    border-color: #2a5298;
    color: #fff;
    box-shadow: 0 10px 24px rgba(42, 82, 152, 0.25);
}

.sv-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

#sv-intro,
#sv-works,
#sv-journey,
#sv-schools,
#sv-why,
#sv-beyond,
#sv-trust,
#sv-trust-trial,
#sv-trust-dots,
#sv-testimonials,
#sv-pathway,
#sv-lms,
#sv-action {
    scroll-margin-top: 120px;
}

/* 1. Explore Ideas, Build Skills and Compete Globally */
.sv-intro .sv-title {
    font-size: 2.5rem;
}

.sv-intro-tagline {
    max-width: 860px;
    width: 95%;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #2a5298;
}

.sv-intro .sv-lead {
    max-width: 860px;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.sv-intro .sv-stages {
    margin-top: 12px;
}

.sv-intro-community {
    max-width: 1100px;
    width: 95%;
    margin: 0 auto;
    color: #2a5298;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

.sv-intro-community span {
    display: block;
}

/* 3. See How Owlypia Works */
.sv-works .sv-video-wrap {
    max-width: 900px;
    margin: 0 auto 28px;
}

.sv-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.sv-intro-copy {
    text-align: left;
}

.sv-intro-copy .sv-title,
.sv-intro-copy .sv-lead {
    margin-left: 0;
}

.sv-intro-copy .sv-lead {
    max-width: none;
    margin-bottom: 22px;
}

.sv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.sv-pill {
    background: #fff;
    border: 1px solid #dce4f2;
    color: #2a5298;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(42, 82, 152, 0.06);
}

.sv-skill-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 1100px;
    width: 95%;
    margin: 0 auto;
}

.sv-skill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(42, 82, 152, 0.08);
    border: 1px solid rgba(42, 82, 152, 0.22);
    color: #2a5298;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 2. What Do Students Actually Do? */
.sv-do-list {
    list-style: none;
    margin: 8px auto 0;
    padding: 0;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px 18px;
    text-align: left;
}

.sv-do-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--sv-bg-odd);
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    padding: 16px 18px;
    color: #333;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
}

.sv-do-icon {
    width: 56px;
    height: 56px;
}

.sv-intro-copy .sv-actions {
    justify-content: flex-start;
}

.sv-video-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(30, 60, 114, 0.12);
    background: #0f1d3a;
}

.sv-video-wrap video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sv-video-caption {
    position: absolute;
    left: 16px;
    bottom: 14px;
    background: rgba(42, 82, 152, 0.92);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
}

/* 3. The Owlypia Journey in Four Stages */
section.sv-journey {
    overflow: visible;
}

section.sv-journey .container {
    max-width: 1520px;
    padding-left: 24px;
    padding-right: 24px;
}

.sv-stages {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 8px;
    padding-top: 4px;
}

.sv-stage {
    --stage: #2f80ed;
    --stage-bg: #eef5ff;
    position: relative;
    flex: 0 0 230px;
    width: 230px;
    max-width: 230px;
    min-height: 292px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 16px 22px;
    border: 2px solid var(--stage);
    border-radius: 22px;
    background: var(--stage-bg);
    box-shadow: 0 8px 22px rgba(30, 60, 114, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-stage:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(30, 60, 114, 0.12);
}

.sv-stage-learn {
    --stage: #2f80ed;
    --stage-bg: #eef5ff;
}

.sv-stage-practise {
    --stage: #22b8a8;
    --stage-bg: #eafaf8;
}

.sv-stage-compete {
    --stage: #f47920;
    --stage-bg: #fff4eb;
}

.sv-stage-grow {
    --stage: #7b4db8;
    --stage-bg: #f4eefb;
}

.sv-stage-theme {
    --stage: #2f80ed;
    --stage-bg: #eef5ff;
}

.sv-stage-areas {
    --stage: #22b8a8;
    --stage-bg: #eafaf8;
}

.sv-stage-resources {
    --stage: #f47920;
    --stage-bg: #fff4eb;
}

.sv-stage-lms {
    --stage: #7b4db8;
    --stage-bg: #f4eefb;
}

.sv-stage-rounds {
    --stage: #2e9e6b;
    --stage-bg: #eaf8f1;
}

.sv-stage-icon {
    flex: 0 0 auto;
    width: 42%;
    max-width: 96px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    border-radius: 50%;
    background: var(--stage);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 10px 22px rgba(30, 60, 114, 0.2);
}

.sv-stage h3 {
    margin: 0 0 6px;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    color: var(--stage);
}

.sv-stage p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
}

.sv-stage .sv-stage-sub {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.sv-stage .sv-stage-meta {
    margin-top: auto;
    padding-top: 12px;
    min-height: 2.9em;
    color: var(--stage);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.sv-stage-arrow {
    flex: 0 0 auto;
    width: 28px;
    height: 36px;
    margin: 0 10px;
    align-self: center;
    background: currentColor;
    clip-path: polygon(0 28%, 62% 28%, 62% 0, 100% 50%, 62% 100%, 62% 72%, 0 72%);
}

.sv-stage-arrow-learn {
    color: #2f80ed;
}

.sv-stage-arrow-practise {
    color: #22b8a8;
}

.sv-stage-arrow-compete {
    color: #f47920;
}

.sv-stage-arrow-theme {
    color: #2f80ed;
}

.sv-stage-arrow-areas {
    color: #22b8a8;
}

.sv-stage-arrow-resources {
    color: #f47920;
}

.sv-stage-arrow-lms {
    color: #7b4db8;
}

section.sv-theme-flow .container {
    max-width: 1580px;
}

.sv-theme-flow .sv-stage {
    flex: 1 1 0;
    width: auto;
    max-width: 220px;
    min-height: 248px;
    padding: 20px 12px 18px;
}

.sv-theme-flow .sv-stage-icon {
    max-width: 72px;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

.sv-theme-flow .sv-stage h3 {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.sv-theme-flow .sv-stage .sv-stage-sub {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}

.sv-theme-flow .sv-stage-arrow {
    width: 22px;
    margin: 0 6px;
}

#sv-journey .sv-lead,
#sv-pathway .sv-lead,
#sv-schools .sv-lead {
    max-width: none;
}

@media (min-width: 1200px) {
    #sv-journey .sv-lead,
    #sv-pathway .sv-lead,
    #sv-schools .sv-lead {
        white-space: nowrap;
    }
}

.sv-pathway .container {
    max-width: 1280px;
}

/* 5. Explore Through Different Sources */
.sv-discover-copy {
    max-width: 860px;
    margin: 0 auto 32px;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    font-weight: 400;
}

.sv-discover-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 18px 22px;
    margin: 0 auto;
}

.sv-discover-row img {
    display: block;
    transition: transform 0.28s ease;
}

.sv-discover-row img:hover {
    transform: translateY(-6px);
}

.sv-discover-subjects img {
    width: 148px;
    height: auto;
}

.sv-discover-resources img {
    width: 168px;
    height: auto;
}

.sv-btn-lms {
    background: linear-gradient(135deg, #f47920, #ed5f26);
    border-color: #f47920;
    color: #fff;
    box-shadow: 0 8px 20px rgba(244, 121, 32, 0.35);
}

.sv-btn-lms:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    border-color: #2a5298;
    color: #fff;
    box-shadow: 0 10px 24px rgba(42, 82, 152, 0.25);
}

/* 6. Explore One Theme Across Five Areas */
.sv-theme .sv-lead {
    max-width: 820px;
}

.sv-theme-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: 4px auto 28px;
    text-align: center;
}

.sv-theme-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sv-bg-odd);
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    padding: 18px 12px 16px;
    box-shadow: 0 6px 18px rgba(42, 82, 152, 0.06);
    min-height: 100%;
}

.sv-theme-item img {
    width: 110px;
    height: auto;
    margin-bottom: 12px;
    border-radius: 8px;
}

.sv-theme-copy p {
    margin: 0;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.45;
}

.sv-theme-close {
    margin-bottom: 28px;
}

.sv-split-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 8px;
}

.sv-block {
    border-radius: 20px;
    padding: 28px 24px 24px;
    background: #f5f7fb;
    border: 1px solid #e6ebf4;
}

.sv-block h3 {
    color: #2a5298;
    font-size: 1.25rem;
    margin: 0 0 18px;
    text-align: center;
}

.sv-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.sv-icon-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(42, 82, 152, 0.07);
    transition: transform 0.2s ease;
}

.sv-icon-card:hover {
    transform: translateY(-4px);
}

.sv-icon-card i,
.sv-icon-card .sv-emoji {
    display: block;
    font-size: 1.7rem;
    color: #f47920;
    margin-bottom: 8px;
}

.sv-icon-card span {
    display: block;
    color: #2a5298;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
}

/* 7. What Owlypia Brings to Your School? */
section.sv-schools .container {
    max-width: 1400px;
}

.sv-benefit-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.sv-benefit {
    background: #fff;
    border-radius: 18px;
    padding: 22px 16px;
    box-shadow: 0 8px 24px rgba(42, 82, 152, 0.08);
    border-top: 4px solid #2a5298;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(42, 82, 152, 0.14);
}

.sv-benefit .sv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    background: none;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
}

.sv-benefit h3 {
    color: #2a5298;
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.sv-benefit h3::after,
.sv-beyond-card h3::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    background: #f47920;
    border-radius: 2px;
    margin: 8px auto 0;
}

.sv-benefit p {
    margin: 0;
    color: #555;
    line-height: 1.55;
    font-size: 0.9rem;
}

/* 8. The Owlypia Competition Pathway */
.sv-path {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 10px;
}

.sv-path-item {
    text-align: center;
    padding: 0 12px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.sv-path-item:hover {
    color: inherit;
}

.sv-path-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 78px;
    right: -12%;
    width: 24%;
    height: 3px;
    background: linear-gradient(90deg, #f47920, #2a5298);
    z-index: 0;
}

.sv-path-photo {
    width: 100%;
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.sv-path-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sv-path-item:hover .sv-path-photo img {
    transform: scale(1.06);
}

.sv-path-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f47920;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--sv-bg-even), 0 0 0 8px rgba(42, 82, 152, 0.2);
}

.sv-path-item h3 {
    color: #2a5298;
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.sv-path-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sv-note {
    max-width: 780px;
    margin: 36px auto 0;
    text-align: center;
    color: #444;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
}

.sv-round-process {
    display: block;
    width: 100%;
    max-width: 780px;
    height: auto;
    margin: 28px auto 0;
}

/* 9. Everything in One Learning Platform */
.sv-lms-intro {
    margin-bottom: 40px;
}

section.sv-lms .container {
    max-width: 1400px;
}

.sv-lms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    text-align: left;
}

.sv-lms-row {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    gap: 22px;
    padding: 28px 24px 0;
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 24px;
    overflow: hidden;
}

.sv-lms-copy {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
}

.sv-lms-copy h3 {
    margin: 0 0 12px;
    color: #2a5298;
    font-size: 1.55rem;
}

.sv-lms-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    margin: 0 0 14px;
    min-width: 0;
}

.sv-lms-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(244, 121, 32, 0.1);
    border: 1px solid rgba(244, 121, 32, 0.35);
    color: #f47920;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
}

.sv-lms-copy p {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}

.sv-lms-preview {
    margin: auto -24px 0;
    width: auto;
    flex: 0 0 auto;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.sv-lms-preview-media {
    display: block;
    position: relative;
    margin: 0 24px 18px;
    width: auto;
    aspect-ratio: 1452 / 925;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f8;
}

.sv-lms-preview img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sv-lms-row--teachers .sv-lms-preview img,
.sv-lms-row--students .sv-lms-preview img {
    object-position: center;
}

.sv-lms-preview-media:hover img {
    transform: scale(1.03);
    opacity: 0.92;
}

.sv-lms-preview-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 16px;
    background: #2a5298;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background 0.25s ease;
}

.sv-lms-preview-btn i {
    margin-left: 8px;
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.sv-lms-preview-btn:hover i {
    transform: translateX(3px);
}

.sv-lms-preview-btn:hover {
    background: #f47920;
    color: #fff;
}

/* 10. Why Schools Choose Owlypia */
.sv-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.sv-why-card {
    background: var(--sv-bg-odd);
    border: 1px solid #e6ecf5;
    box-shadow: 0 8px 24px rgba(42, 82, 152, 0.08);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    min-height: 210px;
}

.sv-why-card i {
    font-size: 1.7rem;
    color: #f47920;
    margin-bottom: 12px;
}

.sv-why-card h3 {
    color: #2a5298;
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.sv-why-card p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 11. Beyond the Competition */
.sv-beyond .sv-lead {
    max-width: 820px;
}

.sv-beyond-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.sv-beyond-card {
    background: var(--sv-bg-even);
    border: 1px solid #e6ecf5;
    border-radius: 16px;
    padding: 22px 10px 18px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-beyond-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(42, 82, 152, 0.12);
}

.sv-beyond-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 10px;
    background: none;
    border-radius: 0;
    color: inherit;
    font-size: inherit;
}

.sv-beyond-card h3 {
    margin: 0 0 8px;
    color: #2a5298;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.sv-beyond-card p {
    margin: 0;
    color: #555;
    font-size: 0.86rem;
    line-height: 1.45;
}

/* 5. Trusted by Educators Around the World — flat dotted map */
section.sv-trust.sv-trust-dots {
    height: auto;
    padding: 48px 0 40px;
    display: block;
    overflow: visible;
}

section.sv-trust.sv-bg-odd,
section.sv-trust.sv-trust-dots.sv-bg-odd {
    background: var(--sv-bg-odd);
    background-color: var(--sv-bg-odd);
}

section.sv-trust.sv-bg-even {
    background: var(--sv-bg-even);
    background-color: var(--sv-bg-even);
}

section.sv-trust.sv-trust-dots .sv-title {
    margin-bottom: 10px;
}

.sv-dot-world {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 4px auto 18px;
    background: transparent;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.sv-dot-world.is-zoomed {
    cursor: grab;
}

.sv-dot-world.is-panning {
    cursor: grabbing;
}

.sv-dot-world-scene {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sv-dot-world-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: transparent;
}

.sv-dot-world-pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sv-dot-pin {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    border: 0;
    background: none;
    padding: 8px;
    margin: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.sv-dot-world-tip {
    position: fixed;
    left: 0;
    top: 0;
    transform: translate(-50%, -100%);
    background: #fff;
    color: #1d3557;
    border: 1px solid #d5deea;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.16);
    opacity: 0;
    pointer-events: none;
    z-index: 80;
    visibility: hidden;
}

.sv-dot-world-tip.is-on {
    opacity: 1;
    visibility: visible;
}

.sv-dot-pin-mark {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e85c2c;
    box-shadow: 0 1px 3px rgba(30, 60, 114, 0.22);
}

.sv-trust-dots .sv-trust-grid {
    gap: 10px;
    margin-top: 0;
}

.sv-trust-dots .sv-trust-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    padding: 8px 12px;
    text-align: left;
    border-radius: 12px;
}

.sv-trust-dots .sv-trust-icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    margin: 0;
}

.sv-trust-dots .sv-trust-number {
    margin: 0;
    font-size: 1.25rem;
}

.sv-trust-dots .sv-trust-label {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

.sv-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.sv-trust-stat {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(230, 236, 245, 0.9);
    border-radius: 16px;
    padding: 28px 16px 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(30, 60, 114, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sv-trust-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(42, 82, 152, 0.12);
}

.sv-trust-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    color: inherit;
    font-size: inherit;
}

.sv-trust-number {
    margin: 0 0 6px;
    color: #2a5298;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.sv-trust-label {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* 12. Owlypia in Action */
.sv-mosaic {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 12px;
}

.sv-mosaic a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.sv-mosaic a:first-child {
    grid-row: 1 / span 2;
}

.sv-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.sv-mosaic a:hover img {
    transform: scale(1.06);
}

/* 13. What Owlypians Are Saying */
section.sv-testimonials {
    padding-bottom: 40px;
}

.sv-testimonials .testimonials-read-more-btn {
    text-align: center;
    margin-top: 28px;
}

.sv-testimonials .testimonials-slider-track {
    animation: none;
    align-items: stretch;
}

.sv-testimonials .testimonial-card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.sv-testimonials .testimonial-text {
    font-size: 19px;
    line-height: 1.55;
    flex: 1 1 auto;
}

.sv-testimonials .testimonial-read-more {
    margin-top: auto;
    padding-top: 14px;
}

.sv-testimonials .testimonials-slider-track.is-ready {
    animation: sv-testimonial-marquee 40s linear infinite;
}

@keyframes sv-testimonial-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--scroll-width, 50%)));
    }
}

/* Bring Owlypia to your school — navy closer, independent of odd/even stripe */
section.sv-cta,
section.sv-cta.sv-bg-odd,
section.sv-cta.sv-bg-even {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    background-color: #1e3c72;
    padding: 56px 0;
    text-align: center;
}

.sv-cta h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 12px;
}

.sv-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0 0 24px;
}

.sv-cta .sv-btn-primary {
    background: linear-gradient(135deg, #f47920, #ed5f26);
    border-color: #f47920;
    box-shadow: 0 8px 20px rgba(244, 121, 32, 0.35);
}

.sv-cta .sv-btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #2a5298;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.sv-cta .sv-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

.sv-cta .sv-btn-secondary:hover {
    background: #fff;
    color: #2a5298;
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1199px) {
    .sv-lms-badge {
        padding: 5px 9px;
        font-size: 0.74rem;
    }
    .sv-stage-arrow {
        width: 20px;
        height: 26px;
        margin: 0 8px;
    }

    .sv-stage {
        flex-basis: 200px;
        width: 200px;
        max-width: 200px;
        min-height: 268px;
        padding: 19px 14px 18px;
    }

    .sv-stage-icon {
        font-size: 1.95rem;
        margin-bottom: 16px;
    }

    .sv-stage h3 {
        font-size: 1.3rem;
    }

    .sv-theme-flow .sv-stage {
        min-height: 228px;
        max-width: 180px;
        padding: 16px 10px 14px;
    }

    .sv-theme-flow .sv-stage h3 {
        font-size: 0.8rem;
    }
}

@media (max-width: 991px) {
    .sv-stages {
        gap: 14px;
        padding-top: 4px;
        flex-wrap: wrap;
    }

    .sv-theme-flow .sv-stage {
        flex: 0 1 160px;
        width: 160px;
        max-width: 180px;
        min-height: 220px;
    }

    .sv-stage-arrow {
        display: none;
    }

    .sv-stage {
        flex-basis: 168px;
        width: 168px;
        max-width: 168px;
        min-height: 248px;
        padding: 16px 10px 14px;
    }

    .sv-stage-icon {
        font-size: 1.65rem;
        margin-bottom: 12px;
    }

    .sv-intro-grid,
    .sv-split-blocks,
    .sv-path,
    .sv-why-grid,
    .sv-trust-grid,
    .sv-do-list {
        grid-template-columns: 1fr 1fr;
    }

    .sv-beyond-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .sv-theme-list {
        grid-template-columns: 1fr 1fr;
    }

    .sv-lms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .sv-lms-row {
        padding: 24px 20px 0;
    }

    .sv-lms-preview {
        margin-left: -20px;
        margin-right: -20px;
    }

    .sv-lms-preview-media {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sv-lms-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .sv-lms-badge {
        padding: 6px 10px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .sv-intro-copy {
        text-align: center;
    }

    .sv-intro-copy .sv-title,
    .sv-intro-copy .sv-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .sv-intro-copy .sv-actions,
    .sv-pills {
        justify-content: center;
    }

    .sv-benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sv-path-item:not(:last-child)::after {
        display: none;
    }

    .sv-title,
    .sv-intro .sv-title {
        font-size: 2rem;
    }

    .sv-intro-tagline {
        font-size: 1.35rem;
    }

    .sv-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 180px 180px;
    }

    .sv-mosaic a:first-child {
        grid-column: 1 / span 2;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .sv-section {
        padding: 52px 0;
    }

    .sv-discover-subjects img {
        width: 120px;
    }

    .sv-discover-resources img {
        width: 130px;
    }

    .sv-intro-grid,
    .sv-split-blocks,
    .sv-path,
    .sv-why-grid,
    .sv-benefit-grid,
    .sv-lms-grid {
        grid-template-columns: 1fr;
    }

    .sv-beyond-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sv-do-list {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .sv-trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sv-trust-number {
        font-size: 1.85rem;
    }

    .sv-trust-label {
        font-size: 0.88rem;
    }

    .sv-trust-stat {
        padding: 22px 12px 18px;
    }

    .sv-theme-item {
        padding: 16px 10px 14px;
    }

    .sv-theme-item img {
        width: 88px;
    }

    .sv-theme-copy p {
        font-size: 0.85rem;
    }

    .sv-benefit {
        padding: 26px 22px;
    }

    .sv-benefit h3 {
        font-size: 1.15rem;
    }

    .sv-benefit p {
        font-size: 0.98rem;
    }

    .sv-title,
    .sv-intro .sv-title {
        font-size: 1.7rem;
    }

    .sv-lead,
    .sv-intro .sv-lead {
        font-size: 1.02rem;
    }

    .sv-intro-tagline {
        font-size: 1.22rem;
    }

    .sv-intro-community {
        font-size: 1.05rem;
    }

    .sv-video-wrap {
        border-radius: 16px;
    }

    .sv-stages {
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 4px;
    }

    .sv-stage-arrow {
        display: block;
        width: 22px;
        height: 30px;
        margin: 10px auto;
        transform: rotate(90deg);
    }

    .sv-stage {
        flex-basis: auto;
        width: 100%;
        max-width: 260px;
        min-height: 260px;
        padding: 21px 16px 19px;
    }

    .sv-theme-flow .sv-stage {
        flex: 0 0 auto;
        width: 100%;
        max-width: 260px;
        min-height: 220px;
    }

    .sv-stage-icon {
        font-size: 2.1rem;
        margin-bottom: 16px;
    }

    .sv-stage h3 {
        font-size: 1.4rem;
    }

    .sv-stage p {
        font-size: 0.95rem;
    }

    .sv-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px 160px;
    }

    .sv-btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .sv-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .sv-title {
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .sv-works .sv-video-wrap {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .sv-lms-preview-btn {
        min-height: 48px;
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .sv-cta h2 {
        font-size: 1.55rem;
        color: #fff;
        padding: 0 12px;
    }

    .sv-cta p {
        color: rgba(255, 255, 255, 0.92);
        padding: 0 12px;
    }

    .sv-cta .sv-btn-secondary {
        color: #fff;
        border-color: #fff;
    }

    .sv-theme-list {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .sv-trust-stat:last-child {
        grid-column: 1 / -1;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .sv-trust-dots .sv-trust-stat:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* Scroll-triggered reveals (index.php). html.sv-fx is set in <head> unless reduced motion. */
html.sv-fx main {
    overflow-x: clip;
}

html.sv-fx .sv-section .sv-title:not(.sv-shown),
html.sv-fx .sv-section .sv-lead:not(.sv-shown),
html.sv-fx .sv-section .sv-intro-tagline:not(.sv-shown),
html.sv-fx .sv-section .sv-intro-community:not(.sv-shown),
html.sv-fx .sv-section .sv-video-wrap:not(.sv-shown),
html.sv-fx .sv-stage:not(.sv-shown),
html.sv-fx .sv-trust-stat:not(.sv-shown),
html.sv-fx .sv-dot-world:not(.sv-shown),
html.sv-fx .sv-benefit:not(.sv-shown),
html.sv-fx .sv-path-item:not(.sv-shown),
html.sv-fx .sv-note:not(.sv-shown),
html.sv-fx .sv-round-process:not(.sv-shown),
html.sv-fx .sv-lms-row:not(.sv-shown),
html.sv-fx .sv-why-card:not(.sv-shown),
html.sv-fx .sv-beyond-card:not(.sv-shown),
html.sv-fx .sv-section .sv-actions:not(.sv-shown),
html.sv-fx .sv-section .gallery-container:not(.sv-shown),
html.sv-fx .testimonials-read-more-btn:not(.sv-shown),
html.sv-fx .sv-cta h2:not(.sv-shown),
html.sv-fx .sv-cta .container > p:not(.sv-shown),
html.sv-fx .sv-cta .sv-actions:not(.sv-shown) {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--sv-d, 0ms);
}

html.sv-fx .sv-section .sv-video-wrap:not(.sv-shown),
html.sv-fx .sv-dot-world:not(.sv-shown),
html.sv-fx .sv-round-process:not(.sv-shown) {
    transform: scale(0.92) translate3d(0, 20px, 0);
}

html.sv-fx .sv-lms-row:not(.sv-shown):first-child {
    transform: translate3d(-36px, 0, 0);
}

html.sv-fx .sv-lms-row:not(.sv-shown):last-child {
    transform: translate3d(36px, 0, 0);
}

html.sv-fx .sv-in {
    opacity: 1 !important;
    transform: none !important;
}

@media (max-width: 767px) {
    html.sv-fx .sv-lms-row:not(.sv-shown):first-child,
    html.sv-fx .sv-lms-row:not(.sv-shown):last-child {
        transform: translate3d(0, 28px, 0);
    }
}
