/* =========================================================
   FREE COURSES PAGE - SURROUNDING SECTIONS
   Scoped styles for the NEW hero + below-the-fold sections
   that wrap the existing "Your 2 Free Courses" block in view.jsp.
   All selectors below are namespaced with the "ortho-" / "fcs-"
   prefix so they do not collide with existing project CSS
   (freeCourses.css uses "cus_", "fc_" style prefixes).
   ========================================================= */

body {
    font-family: 'Open Sans', sans-serif;
}

/* =========================================
   HERO SECTION
   ========================================= */
.ortho-hero-section {
    width: 100%;
    min-height: 450px;
    height: 620px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-sizing: border-box;
}

.ortho-hero-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 43%;
    height: 100%;
    padding: 28px 0 20px 80px;
    box-sizing: border-box;
    z-index: 2;
}

.ortho-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    color: #ff5a43;
    font-size: 14px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ortho-hero-eyebrow span {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #ff5a43;
    flex-shrink: 0;
}

.ortho-hero-content h1 {
    margin: 0;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.ortho-hero-highlight {
    margin: 5px 0 8px;
    color: #ff5a43;
    font-size: 46px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.7px;
    text-transform: uppercase;
}

.ortho-hero-content p {
    width: 82%;
    margin: 0 0 14px;
    color: #efeeee;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
}

.ortho_banner_sec {
    display: flex;
    margin-bottom: 4%;
}

.ortho-why-item.cus_b_item {
    border: none !important;
}

.ortho-why-item-ss {
    width: 22%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ortho-why-item-ss .ortho-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin-bottom: 8px;
}

.ortho-why-item-ss .ortho-why-icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.ortho-why-item-ss strong {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
    color: #efeeee;
}
.ortho-why-item {
    border-left: 1px solid rgb(255 255 255 / 29%);
}
.ortho-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: #fc4a37;
    color: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    margin-bottom: 14px;
}

.ortho-final-button img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ortho-final-button .arrow {
    font-size: 16px;
    line-height: 1;
}

.ortho-final-button:hover {
    background: #e9442d;
    color: #ffffff;
    text-decoration: none;
}

.ortho-hero-content > p:last-of-type {
    width: 100%;
    font-size: 14px;
    color: #cfd8e0;
    margin: 0;
}

/* =========================================
   READY FOR MORE
   ========================================= */
.ready-for-more-container {
    width: 92%;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px auto 0;
    padding: 0;
    box-sizing: border-box;
}

.ready-for-more-banner {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    background-color: #fff5f2;
    border-radius: 16px;
    padding: 0px 24px;
    min-height: 110px;
    box-sizing: border-box;
    gap: 20px;
    overflow: visible;
}

.ready-mascot-wrapper {
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: flex-end;
}

.ready-mascot-img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -34%;
    height: 220px;
    object-fit: contain;
}

.ready-content {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.ready-content h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0d1e3a;
    letter-spacing: -0.3px;
}

.ready-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #637381;
    max-width: 480px;
}

.ready-action {
    flex-shrink: 0;
    margin-right: 10px;
}

.explore-course-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1.5px solid #ff6348;
    border-radius: 8px;
    color: #0f2a4a;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.explore-course-button:hover {
    background: transparent;
    color: #000;
    text-decoration: none;
}

.ready-graphic-wrapper {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ready-graphic-img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .ready-for-more-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 16px;
    }
    .ready-mascot-wrapper {
        margin-right: 0;
        width: 140px;
    }
    .ready-mascot-img {
        margin-top: 0;
        height: auto;
    }
    .ready-content {
        padding-right: 0;
    }
    .ready-action {
        margin-right: 0;
    }
    .ready-graphic-wrapper {
        display: none;
    }
}

/* =========================================
   WHY CHOOSE
   ========================================= */
.ortho-why-section {
    width: 100%;
    background: #16222c;
    color: #ffffff;
    box-sizing: border-box;
    margin-top: 40px;
}

.ortho-why-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    align-items: center;
    min-height: 118px;
    padding: 18px 25px;
    box-sizing: border-box;
}

.ortho-why-title {
    padding-right: 30px;
}

.ortho-why-title h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.ortho-why-title span {
    color: #ff5435;
}

.ortho-why-rule {
    width: 52px;
    height: 4px;
    margin-top: 10px;
    border-radius: 2px;
    background: #ff5435;
}

.ortho-why-container .ortho-why-item {
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgb(255 255 255 / 29%);
}

.ortho-why-container .ortho-why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin-bottom: 10px;
}

.ortho-why-container .ortho-why-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.ortho-why-container .ortho-why-item strong {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #efeeee;
    margin-top: 8%;
}

@media (max-width: 900px) {
    .ortho-why-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .ortho-why-title {
        grid-column: 1 / -1;
        text-align: center;
        padding: 0 0 16px;
    }
    .ortho-why-rule {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .ortho-why-container {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
    }
    .ortho-why-container .ortho-why-item {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .15);
        padding: 12px 5px;
    }
}

/* =========================================
   BUILT FOR YOUR JOURNEY
   ========================================= */
.ortho-built-section {
    width: 100%;
    background: #f8fafc;
    padding: 50px 0;
    box-sizing: border-box;
}

.ortho-built-container {
    width: 92%;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
}

.ortho-built-intro h2 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f2a4a;
}

.ortho-built-intro h2 span {
    color: #ff5435;
}

.ortho-built-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5a6d85;
}

.ortho-roles-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.ortho-roles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    flex: 1;
}

.ortho-role-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 42, 74, 0.06);
    border: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ortho-role-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ortho-role-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin: 10px auto;
    min-height: 36px;
    color: #0f2a4a;
    line-height: 1.3;
}

.ortho-role-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #5a6d85;
}

.ortho-built-visual {
    position: relative;
    width: 390px;
    flex-shrink: 0;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    margin-left: -8px;
}

.built-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1000px) {
    .ortho-built-container {
        grid-template-columns: 1fr;
    }
    .ortho-built-visual {
        display: none;
    }
    .ortho-roles {
        grid-template-columns: repeat(2, 1fr);
    }
    .ortho-built-intro {
        text-align: center;
        margin-bottom: 24px;
    }
    .ortho-built-intro p {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .ortho-roles {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   LEARNING JOURNEY
   ========================================= */
.ortho-journey-section {
    width: 100%;
    background: #fff6f2;
    padding: 40px 0;
    box-sizing: border-box;
}

.ortho-journey-container {
    width: 92%;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.ortho-journey-heading {
    margin-bottom: 28px;
}

.ortho-journey-heading h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    color: #10234a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ortho-journey-heading h2 span {
    display: inline-block;
    width: 22px;
    height: 3px;
    background: #ff5435;
}

.ortho-journey-heading p {
    margin: 0;
    font-size: 15px;
    color: #61738c;
    padding-left: 32px;
}

.ortho-journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ortho-step {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(16, 35, 74, 0.06);
    min-height: 100px;
    box-sizing: border-box;
}

.ortho-step-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ortho-step-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.step-red { background: #ff4f55; }
.step-orange { background: #ff741c; }
.step-green { background: #7bc67e; }
.step-blue { background: #4a9ff5; }

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

.ortho-step-content strong {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2b4a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.ortho-step-content p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: #5a6d85;
    font-weight: 400;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    margin-right: 8px;
    vertical-align: middle;
    box-sizing: border-box;
    flex-shrink: 0;
}

.step-num.red { color: #ff4f55; box-shadow: 0 6px 20px rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,.12); }
.step-num.orange { color: #ff741c; box-shadow: 0 6px 20px rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,.12); }
.step-num.green { color: #7bc67e; box-shadow: 0 6px 20px rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,.12); }
.step-num.blue { color: #4a9ff5; box-shadow: 0 6px 20px rgba(255,255,255,1), 0 4px 12px rgba(0,0,0,.12); }

.ortho-step-arrow {
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

.ortho-step-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #000;
    stroke-width: 1.0;
}

@media (max-width: 992px) {
    .ortho-journey-steps {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .ortho-step-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .ortho-journey-steps {
        grid-template-columns: 1fr;
    }
    .ortho-journey-heading h2 {
        font-size: 22px;
    }
}

/* =========================================
   FINAL CTA
   ========================================= */
.ortho-final-cta {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    min-height: 280px;
}

.ortho-cta-content {
    z-index: 3;
    text-align: center;
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 30px 16px;
}

.ortho-cta-content h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
}

.ortho-cta-content h2 span {
    color: #ff5435;
}

.ortho-cta-content p {
    margin: 0 0 12px;
    font-size: 16px;
    color: #fff;
}

.ortho-cta-content small {
    display: block;
    font-size: 14px;
    color: #fff;
}

@media (max-width: 800px) {
    .ortho-final-cta {
        min-height: 260px;
    }
    .ortho-cta-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .ortho-final-cta {
        min-height: 300px;
    }
    .ortho-cta-content h2 {
        font-size: 22px;
    }
    .ortho-final-button {
        width: 100%;
        max-width: 300px;
        min-width: unset;
    }
}

/* =========================================
   HERO RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .ortho-hero-content {
        width: 46%;
        padding-left: 35px;
    }
    .ortho-hero-content h1,
    .ortho-hero-highlight {
        font-size: 29px;
    }
    .ortho-hero-content p {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .ortho-hero-section {
        min-height: 360px;
    }
    .ortho-hero-content {
        width: 60%;
        padding-left: 28px;
        padding-right: 10px;
        padding-top: 25px;
    }
    .ortho-hero-content h1,
    .ortho-hero-highlight {
        font-size: 26px;
    }
    .ortho_banner_sec {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ortho-why-item-ss {
        width: 38%;
    }
}

@media (max-width: 700px) {
    .ortho-hero-section {
        height: auto;
        min-height: 620px;
        background-position: center top;
    }
    .ortho-hero-content {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 25px;
        background: linear-gradient(to bottom, rgba(10,29,42,.96) 0%, rgba(10,29,42,.90) 58%, rgba(10,29,42,.15) 100%);
    }
    .ortho-hero-content h1,
    .ortho-hero-highlight {
        font-size: 30px;
    }
    .ortho-hero-content p {
        width: 100%;
        max-width: 430px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ortho-hero-section {
        min-height: 650px;
    }
    .ortho-hero-content {
        padding: 24px 18px;
    }
    .ortho-hero-content h1,
    .ortho-hero-highlight {
        font-size: 27px;
    }
    .ortho-hero-eyebrow {
        font-size: 11px;
    }
    .ortho_banner_sec {
        flex-wrap: wrap;
    }
    .ortho-why-item-ss {
        width: 45%;
        margin-bottom: 10px;
    }
  
}