/* =========================================================
   JOVATECH V18 — CLEAN CORPORATE HOMEPAGE
   White • Navy • Professional Blue
   Homepage only — existing Django content is preserved
   ========================================================= */

.home-page {
    overflow: hidden;
    color: #26354b;
    background: #fff;
    --v18-navy: #071a35;
    --v18-blue: #1264db;
    --v18-blue-dark: #0b4eae;
    --v18-text: #26354b;
    --v18-muted: #64748b;
    --v18-light: #f4f7fc;
    --v18-border: #e3eaf4;
    --v18-white: #fff;
    --v18-radius: 16px;
    --v18-shadow: 0 12px 35px rgba(7, 26, 53, .07);
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

/* HERO */

.home-page .v16-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 82px 0 65px;
    color: var(--v18-text);
    background: #fff;
}

.home-page .v16-hero-background,
.home-page .v16-floating-chip,
.home-page .v16-hero-shine,
.home-page .v16-hero-dots {
    display: none !important;
}

.home-page .v16-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
    padding-bottom: 0;
}

.home-page .v16-hero-copy {
    max-width: 650px;
    text-align: left;
}

.home-page .v16-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid #d8e6fb;
    border-radius: 6px;
    color: var(--v18-blue-dark);
    background: #f2f7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.home-page .v16-hero-copy h1 {
    max-width: 650px;
    margin: 0 0 22px;
    color: var(--v18-navy);
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.home-page .v16-hero-copy h1 span {
    color: var(--v18-blue);
}

.home-page .v16-hero-copy > p {
    max-width: 590px;
    margin: 0 0 28px;
    color: #58677d;
    font-size: 16px;
    line-height: 1.9;
}

.home-page .v16-hero-copy > p strong {
    color: var(--v18-navy);
}

.home-page .v16-hero .hero-actions {
    justify-content: flex-start;
    gap: 13px;
}

.home-page .v16-hero .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid var(--v18-blue);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.home-page .v16-hero .btn-primary {
    color: #fff;
    background: var(--v18-blue);
}

.home-page .v16-hero .btn-primary:hover {
    color: #fff;
    background: var(--v18-blue-dark);
    transform: translateY(-2px);
}

.home-page .v16-hero .btn-ghost {
    border-color: #cbd8e8;
    color: var(--v18-navy);
    background: #fff;
}

.home-page .v16-hero .btn-ghost:hover {
    border-color: var(--v18-blue);
    color: var(--v18-blue);
    background: #f5f9ff;
}

.home-page .v16-trust {
    justify-content: flex-start;
    gap: 10px 18px;
    margin-top: 27px;
}

.home-page .v16-trust span {
    color: #526176;
    font-size: 12px;
    font-weight: 600;
}

/* FIVE IMAGE AUTOMATIC HERO SLIDER */

.home-page .v16-hero-showcase {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.home-page .v16-hero-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    border: 1px solid #e0e8f2;
    border-radius: 18px;
    background: #edf2f8;
    box-shadow: 0 20px 50px rgba(7, 26, 53, .13);
}

.home-page .v16-hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity .7s ease;
}

.home-page .v16-hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-page .v16-slide-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 55px 25px 23px;
    color: #fff;
    background: linear-gradient(transparent, rgba(7, 26, 53, .88));
}

.home-page .v16-slide-caption b {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.home-page .v16-slide-caption span {
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.home-page .v16-marquee {
    display: none !important;
}

/* QUICK CONTACT */

.home-page .quick-contact {
    padding: 27px 0;
    color: #fff;
    background: var(--v18-navy);
}

.home-page .quick-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.home-page .quick-contact h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 21px;
    font-weight: 750;
}

.home-page .quick-contact p {
    margin: 0;
    color: #d5dfed;
    font-size: 14px;
}

.home-page .quick-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-page .quick-contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.home-page .quick-whatsapp {
    color: #fff;
    background: #159e61;
}

.home-page .quick-whatsapp:hover {
    color: #fff;
    background: #118451;
}

.home-page .quick-call {
    border-color: rgba(255,255,255,.45) !important;
    color: #fff;
}

.home-page .quick-call:hover {
    color: var(--v18-navy);
    background: #fff;
}

/* STATISTICS / SERVICE HIGHLIGHTS */

.home-page .stats {
    padding: 30px 0;
    border-bottom: 1px solid var(--v18-border);
    background: #fff;
}

.home-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .stats-grid > * {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 22px;
    border-right: 1px solid var(--v18-border);
}

.home-page .stats-grid > *:last-child {
    border-right: 0;
}

.home-page .stats-grid strong {
    color: var(--v18-blue);
    font-size: 25px;
    font-weight: 800;
}

.home-page .stats-grid span {
    color: var(--v18-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

/* GENERAL SECTIONS */

.home-page .section,
.home-page .split-section,
.home-page .v16-showcase {
    padding: 82px 0;
}

.home-page .section {
    background: #fff;
}

.home-page .section-soft {
    background: var(--v18-light);
}

.home-page .section-head,
.home-page .v16-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 17px;
}

.home-page .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--v18-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.home-page .section-head h2,
.home-page .home-benefits h2,
.home-page .v16-showcase-head h2,
.home-page .split-copy h2,
.home-page .knowledge-section h2,
.home-page .testimonial-wrap h2 {
    max-width: 720px;
    margin: 0;
    color: var(--v18-navy);
    font-size: clamp(28px, 3.2vw, 39px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.home-page .section-intro {
    max-width: 700px;
    margin: 13px 0 30px;
    color: var(--v18-muted);
    font-size: 15px;
    line-height: 1.85;
}

.home-page .text-link {
    color: var(--v18-blue);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.home-page .text-link:hover {
    color: var(--v18-blue-dark);
}

/* SERVICE CARDS */

.home-page .card-grid.three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-page .service-card {
    position: relative;
    height: 100%;
    padding: 29px;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(7, 26, 53, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-page .service-card:hover {
    border-color: #b7d1f5;
    box-shadow: var(--v18-shadow);
    transform: translateY(-4px);
}

.home-page .service-number {
    margin-bottom: 18px;
    color: #9aabc1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.home-page .service-card .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    margin-bottom: 20px;
    border-radius: 9px;
    color: var(--v18-blue);
    background: #edf4ff;
    font-size: 23px;
}

.home-page .service-card h3 {
    margin: 0 0 11px;
    color: var(--v18-navy);
    font-size: 19px;
    font-weight: 800;
}

.home-page .service-card p {
    margin: 0 0 20px;
    color: var(--v18-muted);
    font-size: 14px;
    line-height: 1.8;
}

.home-page .service-card > a {
    color: var(--v18-blue);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

/* WHY CHOOSE JOVATECH */

.home-page .home-benefits {
    padding: 78px 0;
    background: var(--v18-light);
}

.home-page .home-benefits h2 {
    max-width: 700px;
}

.home-page .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.home-page .benefit-item {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
}

.home-page .benefit-item .benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    border-radius: 9px;
    color: var(--v18-blue);
    background: #edf4ff;
    font-size: 22px;
}

.home-page .benefit-item h3 {
    margin: 0 0 10px;
    color: var(--v18-navy);
    font-size: 18px;
    font-weight: 800;
}

.home-page .benefit-item p {
    margin: 0;
    color: var(--v18-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* TRAINING CARDS */

.home-page .course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-page .course-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(7, 26, 53, .04);
    transition: box-shadow .2s ease, transform .2s ease;
}

.home-page .course-card:hover {
    box-shadow: var(--v18-shadow);
    transform: translateY(-4px);
}

.home-page .course-art {
    position: relative;
    height: auto;
    overflow: hidden;
    background: #eaf0f8;
}

.home-page .course-art img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-page .course-art > span {
    position: absolute;
    bottom: 13px;
    left: 13px;
    padding: 7px 11px;
    border-radius: 5px;
    color: #fff;
    background: var(--v18-blue);
    font-size: 11px;
    font-weight: 750;
}

.home-page .course-body {
    padding: 22px;
}

.home-page .course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 13px;
    color: var(--v18-muted);
    font-size: 11px;
    font-weight: 650;
}

.home-page .course-body h3 {
    margin: 0 0 10px;
    color: var(--v18-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.home-page .course-body p {
    color: var(--v18-muted);
    font-size: 13px;
    line-height: 1.8;
}

.home-page .course-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.home-page .course-bottom .btn {
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
    background: var(--v18-blue);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.home-page .course-bottom .btn:hover {
    color: #fff;
    background: var(--v18-blue-dark);
}

.home-page .course-arrow {
    color: var(--v18-blue);
}

/* IMAGE AND CONTENT SECTIONS */

.home-page .v16-showcase {
    background: #fff;
}

.home-page .v16-action-card,
.home-page .split-image {
    overflow: hidden;
    border-radius: 10px;
}

.home-page .v16-action-card img,
.home-page .split-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .split-section {
    background: var(--v18-light);
}

.home-page .split {
    gap: 48px;
}

.home-page .split-image {
    min-height: 350px;
}

.home-page .split-copy h2 {
    margin-bottom: 17px;
}

.home-page .split-copy p {
    color: var(--v18-muted);
    font-size: 14px;
    line-height: 1.9;
}

.home-page .check-list {
    display: grid;
    gap: 13px;
    margin-top: 22px;
}

.home-page .check-list > div {
    color: var(--v18-navy);
    font-size: 14px;
    font-weight: 650;
}

/* KNOWLEDGE HUB AND BLOG */

.home-page .knowledge-section {
    padding: 80px 0;
    background: #fff;
}

.home-page .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-page .blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
}

.home-page .blog-art img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-page .blog-body {
    padding: 21px;
}

.home-page .blog-body h3 {
    color: var(--v18-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
}

.home-page .blog-body p {
    color: var(--v18-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* TESTIMONIALS */

.home-page .testimonial-wrap {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 45px;
}

.home-page .testimonial-wrap > div:first-child p {
    color: var(--v18-muted);
    line-height: 1.85;
}

.home-page .quote-list {
    display: grid;
    gap: 16px;
}

.home-page .quote-list blockquote {
    margin: 0;
    padding: 25px;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
}

.home-page .quote-list .stars {
    margin-bottom: 10px;
    color: #e6a528;
}

.home-page .quote-list blockquote p {
    color: #526176;
    font-size: 14px;
    line-height: 1.8;
}

.home-page .quote-list footer {
    color: var(--v18-navy);
    font-size: 13px;
    font-weight: 800;
}

.home-page .quote-list footer span {
    color: var(--v18-muted);
    font-weight: 400;
}

/* CONTACT PANEL AND EMPTY STATES */

.home-page .home-contact-panel {
    padding: 30px;
    border: 1px solid var(--v18-border);
    border-radius: 10px;
    background: #fff;
}

.home-page .home-contact-panel p {
    color: var(--v18-muted);
    line-height: 1.8;
}

.home-page .home-contact-details {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.home-page .home-contact-details a {
    color: var(--v18-blue);
    overflow-wrap: anywhere;
    font-weight: 650;
    text-decoration: none;
}

.home-page .empty-state {
    padding: 25px;
    border: 1px dashed #bdcadd;
    border-radius: 9px;
    color: var(--v18-muted);
    background: #f9fbfe;
    font-size: 14px;
    line-height: 1.8;
}

/* FINAL CALL TO ACTION */

.home-page .cta {
    padding: 68px 0;
    color: #fff;
    background: var(--v18-navy);
}

.home-page .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.home-page .cta .eyebrow {
    color: #9fc5ff;
}

.home-page .cta h2 {
    max-width: 650px;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 39px);
    font-weight: 800;
    line-height: 1.2;
}

.home-page .cta p {
    margin: 0;
    color: #d5dfed;
    line-height: 1.8;
}

.home-page .cta .hero-actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .cta .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 19px;
    border: 1px solid #fff;
    border-radius: 6px;
    color: var(--v18-navy);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.home-page .cta .hero-actions .btn:hover {
    color: #fff;
    background: var(--v18-blue);
    border-color: var(--v18-blue);
}

/* RESPONSIVE — TABLETS */

@media (max-width: 991px) {
    .home-page .v16-hero {
        padding: 65px 0 55px;
    }

    .home-page .v16-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-page .v16-hero-copy {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .home-page .v16-hero-copy h1,
    .home-page .v16-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-page .v16-hero .hero-actions,
    .home-page .v16-trust {
        justify-content: center;
    }

    .home-page .v16-hero-showcase {
        width: min(100%, 680px);
        margin: 0 auto;
    }

    .home-page .card-grid.three,
    .home-page .course-grid,
    .home-page .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .testimonial-wrap {
        grid-template-columns: 1fr;
    }

    .home-page .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* RESPONSIVE — MOBILE */

@media (max-width: 600px) {
    .home-page .v16-hero {
        padding: 48px 0 42px;
    }

    .home-page .v16-hero-grid {
        gap: 30px;
    }

    .home-page .v16-badge {
        justify-content: center;
        max-width: 100%;
        font-size: 9px;
        letter-spacing: .7px;
    }

    .home-page .v16-hero-copy h1 {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -1.2px;
    }

    .home-page .v16-hero-copy > p {
        font-size: 14px;
    }

    .home-page .v16-hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-page .v16-hero .hero-actions .btn {
        width: 100%;
    }

    .home-page .v16-trust {
        gap: 10px 14px;
    }

    .home-page .v16-trust span {
        font-size: 11px;
    }

    .home-page .v16-hero-frame {
        aspect-ratio: 1.12 / 1;
        border-radius: 9px;
    }

    .home-page .v16-slide-caption {
        padding: 38px 16px 16px;
    }

    .home-page .v16-slide-caption b {
        font-size: 16px;
    }

    .home-page .v16-slide-caption span {
        font-size: 11px;
    }

    .home-page .quick-contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-page .quick-contact-actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .home-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .stats-grid > * {
        padding: 15px 12px;
        border-right: 1px solid var(--v18-border);
        border-bottom: 1px solid var(--v18-border);
    }

    .home-page .stats-grid > *:nth-child(2n) {
        border-right: 0;
    }

    .home-page .stats-grid > *:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .home-page .section,
    .home-page .split-section,
    .home-page .v16-showcase,
    .home-page .knowledge-section {
        padding: 58px 0;
    }

    .home-page .section-head,
    .home-page .v16-showcase-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .home-page .section-head h2,
    .home-page .home-benefits h2,
    .home-page .v16-showcase-head h2,
    .home-page .split-copy h2,
    .home-page .knowledge-section h2,
    .home-page .testimonial-wrap h2,
    .home-page .cta h2 {
        font-size: 28px;
        letter-spacing: -.6px;
    }

    .home-page .card-grid.three,
    .home-page .course-grid,
    .home-page .blog-grid,
    .home-page .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-page .service-card,
    .home-page .benefit-item {
        padding: 23px;
    }

    .home-page .split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-page .split-image {
        min-height: 250px;
    }

    .home-page .home-benefits {
        padding: 58px 0;
    }

    .home-page .cta {
        padding: 53px 0;
    }

    .home-page .cta .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .home-page .cta .hero-actions .btn {
        width: 100%;
    }

    .home-page .home-contact-panel {
        padding: 22px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =====================================================
   JOVATECH PREMIUM THEME
   Cream + Forest Green + Navy Blue
   ===================================================== */

.home-page {
    --jova-cream: #F8F3E8;
    --jova-green: #244C3B;
    --jova-green-light: #E8EFE9;
    --jova-navy: #142B49;
    --jova-white: #FFFFFF;
    --jova-gold: #C9A66B;

    color: var(--jova-navy) !important;
    background: var(--jova-cream) !important;
}

/* Main hero */
.home-page .v16-hero {
    background: var(--jova-cream) !important;
    color: var(--jova-navy) !important;
}

.home-page .v16-hero-copy h1,
.home-page .v16-hero-copy h1 span {
    color: var(--jova-navy) !important;
}

.home-page .v16-hero-copy > p {
    color: #46584E !important;
}

.home-page .v16-badge {
    color: var(--jova-green) !important;
    background: var(--jova-green-light) !important;
    border-color: #C9D9CC !important;
}

/* Buttons */
.home-page .btn-primary,
.home-page .v16-hero .btn-primary {
    background: var(--jova-green) !important;
    border-color: var(--jova-green) !important;
    color: #FFFFFF !important;
}

.home-page .btn-primary:hover,
.home-page .v16-hero .btn-primary:hover {
    background: var(--jova-navy) !important;
    border-color: var(--jova-navy) !important;
}

.home-page .btn-ghost {
    color: var(--jova-navy) !important;
    border-color: var(--jova-green) !important;
}

/* Contact strip and statistics */
.home-page .quick-contact,
.home-page .stats {
    background: var(--jova-navy) !important;
    color: var(--jova-cream) !important;
}

.home-page .quick-contact h2,
.home-page .quick-contact p,
.home-page .stats strong,
.home-page .stats span {
    color: var(--jova-cream) !important;
}

/* General homepage sections */
.home-page .section,
.home-page .split-section,
.home-page .v16-showcase,
.home-page .knowledge-section {
    background: var(--jova-cream) !important;
}

.home-page .section-soft {
    background: var(--jova-green-light) !important;
}

/* Section headings */
.home-page .section-head h2,
.home-page .home-benefits h2,
.home-page .v16-showcase-head h2,
.home-page .split-copy h2,
.home-page .knowledge-section h2,
.home-page .testimonial-wrap h2 {
    color: var(--jova-navy) !important;
}

.home-page .eyebrow {
    color: var(--jova-green) !important;
}

/* Service, course and blog cards */
.home-page .service-card,
.home-page .course-card,
.home-page .blog-card,
.home-page .quote-list blockquote {
    background: var(--jova-white) !important;
    border-color: #E5E0D5 !important;
    box-shadow: 0 10px 28px rgba(20, 43, 73, .07) !important;
}

.home-page .service-card h3,
.home-page .course-body h3,
.home-page .blog-body h3 {
    color: var(--jova-navy) !important;
}

.home-page .service-card p,
.home-page .course-body p,
.home-page .blog-body p {
    color: #526052 !important;
}

.home-page .service-number,
.home-page .service-card .icon-box,
.home-page .benefit-item .benefit-icon {
    color: var(--jova-green) !important;
    background: var(--jova-green-light) !important;
}

/* Benefits */
.home-page .home-benefits {
    background: var(--jova-green-light) !important;
}

.home-page .benefit-item h3 {
    color: var(--jova-navy) !important;
}

/* Links and accents */
.home-page .text-link,
.home-page .service-card > a,
.home-page .home-contact-details a {
    color: var(--jova-green) !important;
}

.home-page .v16-trust span {
    color: var(--jova-green) !important;
}

/* Testimonials and contact */
.home-page .testimonial-wrap {
    background: var(--jova-cream) !important;
}

.home-page .home-contact-panel {
    background: var(--jova-white) !important;
    border-color: #E5E0D5 !important;
}

/* Final call-to-action */
.home-page .cta {
    background: var(--jova-navy) !important;
    color: var(--jova-cream) !important;
}

.home-page .cta h2,
.home-page .cta p,
.home-page .cta .eyebrow {
    color: var(--jova-cream) !important;
}

.home-page .cta .btn-primary {
    background: var(--jova-green) !important;
    color: #FFFFFF !important;
}

/* Accent details */
.home-page .quote-list .stars {
    color: var(--jova-gold) !important;
}

.home-page .empty-state {
    background: var(--jova-white) !important;
    border-color: #E5E0D5 !important;
}

/* Smooth colour transitions */
.home-page .service-card,
.home-page .course-card,
.home-page .blog-card,
.home-page .btn {
    transition: background .25s ease,
                color .25s ease,
                box-shadow .25s ease !important;
}


/* JOVATECH HOMEPAGE NAVIGATION COLOUR FINISH */

body:has(.home-page) .site-header {
    background: rgba(248, 243, 232, .97) !important;
    border-bottom: 1px solid #E5DFD1 !important;
}

body:has(.home-page) .site-header.scrolled {
    background: rgba(248, 243, 232, .98) !important;
}

body:has(.home-page) .main-nav > a,
body:has(.home-page) .nav-dropdown > button {
    color: #142B49 !important;
}

body:has(.home-page) .main-nav > a:hover,
body:has(.home-page) .nav-dropdown > button:hover {
    color: #244C3B !important;
}

body:has(.home-page) .main-nav > a.active,
body:has(.home-page) .main-nav > a[aria-current="page"] {
    color: #244C3B !important;
    background: #E8EFE9 !important;
}

body:has(.home-page) .nav-cta {
    background: #244C3B !important;
    color: #FFFFFF !important;
    border-color: #244C3B !important;
}

body:has(.home-page) .nav-cta:hover {
    background: #142B49 !important;
}

body:has(.home-page) .brand b {
    color: #142B49 !important;
}

body:has(.home-page) .brand small {
    color: #244C3B !important;
}

body:has(.home-page) .nav-dropdown .dropdown-menu {
    background: #F8F3E8 !important;
    border-color: #E5DFD1 !important;
}

body:has(.home-page) .dropdown-menu a:hover {
    background: #E8EFE9 !important;
    color: #244C3B !important;
}


/* FIX: APPLY NOW BUTTON TEXT VISIBILITY */
body:has(.home-page) a.nav-cta,
body:has(.home-page) .nav-cta,
body:has(.home-page) .navbar .nav-cta {
    background-color: #244C3B !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #244C3B !important;
    opacity: 1 !important;
}

body:has(.home-page) a.nav-cta:hover,
body:has(.home-page) .nav-cta:hover {
    background-color: #142B49 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* JOVATECH FOOTER BRAND VISIBILITY FIX */

body:has(.home-page) .footer .footer-brand b {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 800 !important;
}

body:has(.home-page) .footer .footer-brand small {
    color: #E5EBDD !important;
    -webkit-text-fill-color: #E5EBDD !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

body:has(.home-page) .footer .footer-brand {
    opacity: 1 !important;
}


/* JOVATECH SERVICE IMAGE DESIGN */
.service-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
    margin: 18px 0;
    background: #f3eee3;
}

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

.service-card:hover .service-image img {
    transform: scale(1.05);
}


/* =====================================================
   JOVATECH CORPORATE BUILDING HERO
   November 2026
   ===================================================== */

.home-page .v16-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 660px;
    padding: 0 !important;
    color: #ffffff !important;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 20, 40, 0.92) 0%,
            rgba(5, 20, 40, 0.78) 48%,
            rgba(5, 20, 40, 0.32) 100%
        ),
        url("../images/jovatech-corporate-building.png") !important;

    background-size: cover !important;
    background-position: center 55% !important;
    background-repeat: no-repeat !important;
}

.home-page .v16-hero-background {
    display: none !important;
}

.home-page .v16-hero-grid {
    display: flex;
    align-items: center;
    min-height: 610px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-page .v16-hero-copy {
    width: 100%;
    max-width: 780px;
    margin: 0;
    text-align: left;
}

.home-page .v16-badge {
    color: #d4f5ff !important;
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.10);
}

.home-page .v16-hero-copy h1,
.home-page .v16-hero-copy h1 span {
    color: #ffffff !important;
}

.home-page .v16-hero-copy h1 {
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.12;
    text-shadow: 0 3px 18px rgba(0,0,0,.25);
}

.home-page .v16-hero-copy h1 span {
    color: #8ee3c0 !important;
}

.home-page .v16-hero-copy > p {
    max-width: 650px;
    color: rgba(255,255,255,.90) !important;
    font-size: 17px;
    line-height: 1.85;
}

.home-page .v16-trust,
.home-page .v16-trust span {
    color: #ffffff !important;
}

.home-page .v16-hero .btn-ghost {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.65) !important;
    background: rgba(255,255,255,.10) !important;
}

.home-page .v16-hero .btn-ghost:hover {
    color: #142b49 !important;
    background: #ffffff !important;
}

.home-page .v16-marquee {
    border-top: 1px solid rgba(255,255,255,.20);
    background: rgba(5,20,40,.55);
}

.home-page .v16-marquee-track {
    color: rgba(255,255,255,.95);
}

/* TABLETS */
@media (max-width: 991px) {
    .home-page .v16-hero {
        min-height: 590px;
        background-position: 58% center !important;
    }

    .home-page .v16-hero-grid {
        min-height: 540px;
        padding-top: 85px;
        padding-bottom: 85px;
    }

    .home-page .v16-hero-copy {
        max-width: 720px;
        margin: 0;
        text-align: left;
    }

    .home-page .v16-hero-copy h1,
    .home-page .v16-hero-copy > p {
        margin-left: 0;
        margin-right: 0;
    }

    .home-page .v16-hero .hero-actions,
    .home-page .v16-trust {
        justify-content: flex-start;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .home-page .v16-hero {
        min-height: auto;
        background-position: 60% center !important;
    }

    .home-page .v16-hero-grid {
        min-height: 520px;
        padding-top: 75px;
        padding-bottom: 65px;
    }

    .home-page .v16-hero-copy {
        text-align: left;
    }

    .home-page .v16-badge {
        justify-content: flex-start;
        font-size: 9px;
        letter-spacing: .6px;
    }

    .home-page .v16-hero-copy h1 {
        font-size: clamp(36px, 9vw, 48px);
        letter-spacing: -1.3px;
    }

    .home-page .v16-hero-copy > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .home-page .v16-hero .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-page .v16-hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .home-page .v16-trust {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-page .v16-marquee-track {
        gap: 22px;
        font-size: 10px;
    }
}


/* JOVATECH HERO — FINAL READABILITY REFINEMENTS */

.home-page .v16-hero-copy {
    max-width: 1050px;
}

.home-page .v16-hero-copy h1 {
    font-size: clamp(42px, 4.4vw, 64px);
    line-height: 1.13;
}

.home-page .v16-hero-copy > p strong {
    color: #ffffff !important;
}

.home-page .v16-badge {
    color: #a8f0d2 !important;
    background: rgba(5, 20, 40, .72) !important;
    border: 1px solid rgba(168, 240, 210, .45) !important;
}

@media (max-width: 600px) {
    .home-page .v16-hero-copy {
        max-width: 100%;
    }

    .home-page .v16-hero-copy h1 {
        font-size: clamp(36px, 9vw, 46px);
    }
}


/* =====================================================
   JOVATECH — THREE BUILDING BACKGROUND SLIDESHOW
   Three images, 2-second intervals, smooth crossfade
   ===================================================== */

.home-page .v16-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #051428 !important;
    background-image: none !important;
}

/* Background slideshow layer */
.home-page .v16-building-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-page .v16-building-slideshow .building-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    opacity: 0;
    animation: jovaBuildingFade 6s ease-in-out infinite;
    will-change: opacity;
}

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -4s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -2s;
}

/* Dark overlay remains above all three photographs */
.home-page .v16-building-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 40, .92) 0%,
            rgba(5, 20, 40, .78) 48%,
            rgba(5, 20, 40, .32) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 20, 40, .30),
            transparent 45%
        );
}

/* Keep all hero content above the slideshow */
.home-page .v16-hero-grid,
.home-page .v16-marquee {
    position: relative;
    z-index: 2;
}

/* Six-second animation: each image occupies a two-second slot */
@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    29% {
        opacity: 1;
    }

    36% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Responsive image positioning */
@media (max-width: 600px) {
    .home-page .v16-building-slideshow .building-slide {
        object-position: 60% center;
    }

    .home-page .v16-building-overlay {
        background: linear-gradient(
            90deg,
            rgba(5, 20, 40, .88),
            rgba(5, 20, 40, .58)
        );
    }
}



/* JOVATECH — SEQUENTIAL THREE-BUILDING FADE */

.home-page .v16-building-slideshow .building-slide {
    animation-name: jovaBuildingFade;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -2s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -4s;
}

@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    29% {
        opacity: 1;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* JOVATECH — SMOOTH SEQUENTIAL BUILDING SLIDESHOW */

.home-page .v16-building-slideshow .building-slide {
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -2s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -4s;
}

@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }

    8.333% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33.333% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* JOVATECH — THREE BUILDINGS, FIVE-SECOND INTERVAL */

.home-page .v16-building-slideshow .building-slide {
    animation-name: jovaBuildingFade;
    animation-duration: 15s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -5s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -10s;
}

@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }

    3.333% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    33.333% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* JOVATECH — FIVE-IMAGE SLIDESHOW, FIVE-SECOND INTERVAL */

.home-page .v16-building-slideshow .building-slide {
    animation-name: jovaBuildingFade;
    animation-duration: 25s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Image sequence: one, two, three, four, five */

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -20s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -15s;
}

.home-page .v16-building-slideshow .building-slide-four {
    animation-delay: -10s;
}

.home-page .v16-building-slideshow .building-slide-five {
    animation-delay: -5s;
}

@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }

    2% {
        opacity: 1;
    }

    18% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


/* JOVATECH — FIVE IMAGES, FIVE-SECOND INTERVAL */

.home-page .v16-building-slideshow .building-slide {
    animation-name: jovaBuildingFade;
    animation-duration: 25s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.home-page .v16-building-slideshow .building-slide-one {
    animation-delay: 0s;
}

.home-page .v16-building-slideshow .building-slide-two {
    animation-delay: -5s;
}

.home-page .v16-building-slideshow .building-slide-three {
    animation-delay: -10s;
}

.home-page .v16-building-slideshow .building-slide-four {
    animation-delay: -15s;
}

.home-page .v16-building-slideshow .building-slide-five {
    animation-delay: -20s;
}

@keyframes jovaBuildingFade {
    0% {
        opacity: 0;
    }

    2% {
        opacity: 1;
    }

    18% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
