/* style-realedge.css - Custom styles for RealEdge website */

/* ******************************* */
/* JobReady Training Custom Styles */
/* ******************************* */
.site_header_1 .site_logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.jobready-page .hero_banner.style_1 {
    background: linear-gradient(135deg, #2c4f7c 0%, #1e3659 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 720px;
    width: min(100%, 1400px);
    margin: 0 auto;
    border-radius: 8px;
}

.jobready-page .hero_banner.style_1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/banner/hero_banner_img_jobreadypromo.png")
        center/cover;
    z-index: 0;
}

.jobready-page .hero_banner.style_1 .content_wrap {
    background-color: unset;
}

.jobready-page .hero_banner.style_1 .container {
    position: relative;
    z-index: 1;
}

.jobready-page .hero_banner.style_1 h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.jobready-page .hero_banner.style_1 .lead {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.jobready-page .hero_banner.style_1 .lead-secondary {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.jobready-page .hero_banner.style_1 .hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(14, 43, 92, 0.96) 0%,
        rgba(14, 43, 92, 0.88) 35%,
        rgba(14, 43, 92, 0.25) 65%,
        rgba(14, 43, 92, 0) 100%
    );
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 1;
    inset: 0;
}

.btn-early-access {
    background: #ff6633;
    color: white;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: capitalize;
}

.btn-early-access:hover {
    background: #ff5522;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 51, 0.4);
    color: white;
    text-decoration: none;
}

.register-card {
    margin-top: 0;
    background: white;
    border-radius: 2px;
    padding: 35px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.career-pathways-layout {
    align-items: flex-start;
}

.register-card-floating {
    margin-top: -320px;
    position: relative;
    z-index: 5;
}

#register_interest {
    scroll-margin-top: 90px;
}

.register-card h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.form-control,
.form-check-input {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #5a88c7;
    box-shadow: 0 0 0 0.15rem rgba(90, 136, 199, 0.2);
    outline: none;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-label {
    font-size: 0.95rem;
    color: #495057;
    margin-left: 4px;
}

.btn-join-waitlist {
    background: #ff6633;
    color: white;
    width: 100%;
    padding: 13px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-join-waitlist:hover {
    background: #ff5522;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 51, 0.3);
}

.career-card {
    background: white;
    border-radius: 8px;
    padding: 35px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.career-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.career-card.retail .icon {
    color: #2196f3;
}

.career-card.construction .icon {
    color: #ff9800;
}

.career-card.hospitality .icon {
    color: #4caf50;
}

.career-card h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.35rem;
}

.career-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.career-card-label {
    display: block;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.career-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}

/* Keep lessons block height consistent so divider lines up across cards */
.career-lessons {
    height: 152px;
}

.career-lessons ul {
    margin-bottom: 0;
}

.career-card ul li {
    padding: 6px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.career-card ul li::before {
    content: "• ";
    color: #ff6633;
    font-weight: bold;
    margin-right: 8px;
}

.entry-roles {
    padding: 14px;
    border-radius: 6px;
    margin-top: 0;
    margin-bottom: 18px;
}

.career-divider {
    height: 1px;
    width: 100%;
    background: #dbe3ef;
    margin: 6px 0 14px;
}

.career-card .btn-register-interest {
    margin-top: auto !important;
}

.entry-roles strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.entry-roles ul {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
}

.how-it-works {
    background: #f7f9fc;
    padding: 80px 0;
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-arrow-icon {
    color: #cfd8e6;
    position: absolute;
    right: -48px;
    top: 33px;
    font-size: 96px;
    z-index: 2;
}

.step-card .step-icon {
    width: 90px;
    height: 90px;
    background: #4a7ab7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(74, 122, 183, 0.2);
}

.step-card h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.early-access-banner {
    background: linear-gradient(135deg, #2c4f7c 0%, #1e3659 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.early-access-banner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.early-access-banner .highlight {
    color: #ffd700;
    font-weight: 700;
}

.early-access-banner .checkmark {
    color: #5cb85c;
    margin-right: 8px;
}

.btn-register-interest {
    background: #ff6633;
    color: white;
    padding: 11px 24px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 0;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-register-interest:hover {
    background: #ff5522;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 51, 0.3);
    text-decoration: none;
}

.alert {
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.small-text {
    font-size: 0.88rem;
    color: #666;
    margin-top: 15px;
}

/* Career Pathways Section */
.career-pathways-section {
    background: #ffffff;
    padding: 70px 0;
}

.career-pathways-section .section_heading h2 {
    color: #2c3e50;
    font-weight: 400;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.career-pathways-section .section_heading p {
    font-weight: 600;
    font-size: 2rem;
    color: #666;
    line-height: 1.6;
}

/* How It Works Section Heading */
.how-it-works .section_heading h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .jobready-page .hero_banner.style_1 h1 {
        font-size: 2.2rem;
    }

    .jobready-page .hero_banner.style_1 .lead {
        font-size: 1rem;
    }

    .jobready-page .hero_banner.style_1 .lead-secondary {
        font-size: 0.9rem;
    }

    .register-card-floating {
        margin-top: 30px;
    }

    .career-lessons {
        height: auto;
    }

    .step-arrow-icon {
        display: none;
    }
}

@media (max-width: 767px) {
    .site_header_1 .site_logo img {
        max-width: 160px;
    }

    .jobready-page .hero_banner.style_1 {
        padding: 50px 0;
    }

    .jobready-page .hero_banner.style_1 h1 {
        font-size: 1.9rem;
    }

    .career-card {
        margin-bottom: 20px;
    }

    .how-it-works {
        padding: 50px 0;
    }

    .early-access-banner {
        padding: 40px 0;
    }
}

/* ******************************** */
/* Course detail view Custom Styles */
/* ******************************** */

/* Keep course banner images consistent across mixed upload sizes. */
.course-full-page .page_banner_image {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.course-full-page .page_banner_image .course-banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .course-full-page .page_banner_image {
        aspect-ratio: 16 / 10;
    }
}
