.home-wide-wrap {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
}

.hero-area-modern {
    max-height: 580px;
    position: relative;
    overflow: hidden;
}

.hero-slider-modern,
.hero-slider-modern .hero-slide {
    height: 100%;
}

    .hero-slider-modern .hero-slide {
        background-size: cover;
        background-position: center center;
    }

/*.hero-overlay-modern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}*/

/*Moving to Bottom Right*/
.hero-overlay-modern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 0 1% 0;
}

.hero-modern-card {
    width: 450px;
    padding: 18px;
    border-radius: 32px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 60px rgba(0,0,0,0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .hero-modern-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -80px;
        top: -80px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,0.3), rgba(255,255,255,0));
    }

.hero-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.hero-modern-card h1 {
    font-size: clamp(15px, 4vw, 21px);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 12px;
    text-transform: none;
}

.hero-modern-card p {
    font-size: 12px;
    line-height: 1.85;
    color: rgba(255,255,255,0.94);
    margin-bottom: 12px;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-main-btn,
.hero-secondary-btn {
    min-width: 100px;
    border-radius: 999px;
    padding: 13px 16px;
    font-weight: 700;
    text-align: center;
    font-size: 10px;
}

.hero-secondary-btn {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
}

    .hero-secondary-btn:hover {
        background: #fff !important;
        color: #0e8eb0;
    }

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    z-index: 2;
    display: none;
}

    .hero-wave svg {
        display: block;
        width: 100%;
        height: 100px;
    }

    .hero-wave path {
        fill: #ffffff;
    }

.hero-area-modern .hero-arrow {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    font-size: 28px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

    .hero-area-modern .hero-arrow:hover {
        background: rgba(14,142,176,0.92);
    }

.hero-slider-modern .hero-slide {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

    .hero-slider-modern .hero-slide.active {
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
    }

.home-about-modern {
    padding-top: 40px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top left, rgba(14,142,176,0.08), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.about-modern-row {
    row-gap: 28px;
}

.about-modern-media,
.about-modern-panel {
    height: 100%;
}

.about-video-card,
.about-modern-panel {
    background: #fff;
    border: 1px solid rgba(226,232,240,0.95);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.08);
    overflow: hidden;
}

.about-video-card {
    padding: 18px;
}

.modern-video-frame {
    border-radius: 22px;
    overflow: hidden;
}

    .modern-video-frame img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
    }

.modern-play-btn {
    width: 78px !important;
    height: 78px !important;
    line-height: 78px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.35) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.about-modern-panel {
    padding: 36px;
}

.left-style {
    text-align: left !important;
    margin-bottom: 16px;
    padding: 0 !important;
}

    .left-style .title-bg {
        position: static;
        display: inline-block;
        font-size: 12px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        background: #e9f7fb;
        color: #0e8eb0;
        padding: 8px 14px;
        border-radius: 999px;
        margin-bottom: 14px;
    }


    .left-style h1 {
        text-transform: none;
        margin-bottom: 0;
    }

.about-lead {
    font-size: 18px;
    line-height: 1.9;
    color: #3f4d5d;
    margin-bottom: 18px;
}

.about-copy-block h2 {
    font-size: 28px;
    line-height: 1.35;
    text-transform: none;
    margin-bottom: 16px;
}

.about-copy-block p {
    color: #536172;
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-feature-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f7fbfd;
    border: 1px solid #e5eef4;
    color: #1f2937;
    font-weight: 600;
}

    .about-feature-card i {
        color: #0e8eb0;
        font-size: 18px;
    }

.home-certificates-modern {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf6fa 100%);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.certificate-card {
    height: 100%;
}

.certificate-card-link {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(226,232,240,0.9);
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .certificate-card-link:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 46px rgba(15,23,42,0.12);
    }

.certificate-thumb-wrap {
    height: 220px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff, #f6fafc);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .certificate-thumb-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

.certificate-body {
    padding: 24px;
}

    .certificate-body h3 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 10px;
        color: #1f2937;
        text-transform: none;
    }

    .certificate-body p {
        color: #5a6776;
        line-height: 1.8;
        margin-bottom: 16px;
        min-height: 74px;
    }

.certificate-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0e8eb0;
    font-weight: 700;
}

    .certificate-view::after {
        content: "\2192";
    }


/* Certificate carousel */
.certificate-carousel {
    margin-top: 10px;
}

    .certificate-carousel .owl-stage {
        display: flex;
    }

    .certificate-carousel .owl-item {
        display: flex;
        height: auto;
    }

    .certificate-carousel .certificate-item {
        width: 100%;
        height: 100%;
        padding: 4px 10px 10px;
    }

    .certificate-carousel .certificate-card {
        height: 100%;
    }

    .certificate-carousel .certificate-card-link {
        height: 100%;
    }

    .certificate-carousel .owl-nav {
        margin-top: 26px;
        text-align: center;
    }

        .certificate-carousel .owl-nav button.owl-prev,
        .certificate-carousel .owl-nav button.owl-next {
            width: 48px;
            height: 48px;
            border-radius: 50% !important;
            border: 1px solid #dbe5ec !important;
            background: #fff !important;
            color: #0e8eb0 !important;
            font-size: 24px !important;
            line-height: 48px !important;
            margin: 0 6px;
            box-shadow: 0 10px 24px rgba(15,23,42,0.08);
            transition: all .25s ease;
        }

            .certificate-carousel .owl-nav button.owl-prev:hover,
            .certificate-carousel .owl-nav button.owl-next:hover {
                background: #0e8eb0 !important;
                color: #fff !important;
                border-color: #0e8eb0 !important;
            }

    .certificate-carousel .owl-dots {
        margin-top: 18px;
        text-align: center;
    }

        .certificate-carousel .owl-dots .owl-dot span {
            width: 10px;
            height: 10px;
            margin: 5px;
            background: #c9d8e2;
            display: block;
            border-radius: 999px;
            transition: all .25s ease;
        }

        .certificate-carousel .owl-dots .owl-dot.active span,
        .certificate-carousel .owl-dots .owl-dot:hover span {
            width: 28px;
            background: #0e8eb0;
        }


/* disable old grid only for certificates */
.certificate-grid {
    display: block;
}

.certificate-carousel .owl-stage-outer {
    padding: 8px 6px 18px;
    margin: -8px -6px -18px;
}

.certificate-carousel .owl-item {
    overflow: visible;
}

.certificate-carousel .certificate-item {
    width: 100%;
    height: 100%;
    padding: 12px 12px 18px;
}

.certificate-card-link {
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

    .certificate-card-link:hover {
        transform: translateY(-6px);
        box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
    }

.journey-stats-modern {
    padding: 95px 0;
}

.journey-mini-label {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eaf8fc;
    color: #0e8eb0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.journey-stats-modern .journey-stats-header h2 {
    text-transform: none;
    font-size: clamp(30px, 4vw, 52px);
}

.journey-stats-modern .journey-stats-grid {
    gap: 22px;
    max-width: none;
}

.journey-stats-modern .journey-stat-card {
    position: relative;
    min-height: 300px;
    border-radius: 28px;
    padding: 34px 28px;
    background: rgba(255,255,255,0.52);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 18px 42px rgba(15,23,42,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .journey-stats-modern .journey-stat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 48px rgba(15,23,42,0.13);
    }

.journey-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14,142,176,0.12);
    color: #0e8eb0;
    font-size: 24px;
    margin-bottom: 20px;
}

.home-partners-modern {
    padding-top: 50px;
    padding-bottom: 100px;
    background: #fff;
}

.partners-carousel-modern .partner-card-modern {
    height: 150px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    /*box-shadow: 0 12px 30px rgba(15,23,42,0.06);*/
    background: linear-gradient(180deg, #f9fbfd 0%, #f9fbfd 100%);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .partners-carousel-modern .partner-card-modern:hover {
        transform: translateY(-4px);
        /*box-shadow: 0 18px 34px rgba(15,23,42,0.1);*/
    }

.partners-carousel-modern .single-partner img {
    max-height: 82px;
    opacity: 0.82;
}

.home-certificates-modern .section-title,
.home-partners-modern .section-title,
.journey-stats-modern .journey-stats-header,
.home-about-modern .section-title {
    margin-bottom: 34px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    .home-certificates-modern .section-title h1,
    .home-partners-modern .section-title h1 {
        text-transform: none;
    }

@media (max-width: 1199px) {
    .home-wide-wrap {
        width: min(100%, calc(100% - 30px));
    }

    .hero-shell {
        padding: 0 0 22px 0;
    }

    .hero-modern-card {
        max-width: 620px;
    }

    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .hero-area-modern {
        height: 620px !important;
    }

    .hero-overlay-modern {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .hero-shell {
        padding: 0 0 20px 0;
    }

    .hero-modern-card {
        max-width: 100%;
        padding: 30px;
        margin: 0;
    }

    .hero-area-modern .hero-arrow {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 24px;
    }

    .about-feature-grid,
    .certificate-grid,
    .journey-stats-modern .journey-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .journey-stats-modern .journey-stats-grid {
        gap: 18px;
    }

    .home-about-modern,
    .home-certificates-modern,
    .journey-stats-modern,
    .home-partners-modern {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .about-modern-panel {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-area-modern {
        height: auto !important;
        min-height: 560px;
    }

    .hero-slider-modern,
    .hero-slider-modern .hero-slide {
        min-height: 560px;
    }

    .hero-overlay-modern {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .hero-shell {
        padding: 0 0 16px 0;
    }

    .hero-modern-card {
        padding: 24px;
        border-radius: 24px;
        margin: 0;
    }

        .hero-modern-card h1 {
            font-size: 30px;
        }

        .hero-modern-card p {
            font-size: 15px;
            line-height: 1.75;
        }

    .hero-main-btn,
    .hero-secondary-btn {
        width: 100%;
        min-width: 0;
    }

    .hero-area-modern .hero-arrow {
        display: none;
    }

    .hero-wave svg {
        height: 62px;
    }

    .about-modern-panel {
        padding: 24px;
    }

    .about-copy-block h2 {
        font-size: 24px;
    }

    .about-feature-grid,
    .certificate-grid {
        grid-template-columns: 1fr;
    }

    .certificate-thumb-wrap {
        height: 180px;
    }

    .journey-stats-modern .journey-stats-grid {
        grid-template-columns: 1fr;
    }

    .journey-stats-modern .journey-stat-card {
        min-height: 240px;
    }

    .partners-carousel-modern .partner-card-modern {
        height: 130px;
    }

    .home-about-modern .section-title h1,
    .home-certificates-modern .section-title h1,
    .home-partners-modern .section-title h1,
    .journey-stats-modern .journey-stats-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .home-wide-wrap {
        width: calc(100% - 20px);
    }

    .hero-area-modern {
        min-height: 520px;
    }

    .hero-slider-modern,
    .hero-slider-modern .hero-slide {
        min-height: 520px;
    }

    .hero-shell {
        padding: 0 0 14px 0;
    }

    .hero-modern-card {
        padding: 20px;
        margin: 0;
    }

    .hero-kicker {
        font-size: 11px;
    }

    .hero-modern-card h1 {
        font-size: 26px;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .certificate-body {
        padding: 18px;
    }

        .certificate-body h3 {
            font-size: 18px;
        }

    .partners-carousel-modern .partner-card-modern {
        height: 120px;
        padding: 18px;
    }

    .partners-carousel-modern .single-partner img {
        max-height: 64px;
    }
}


.about-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 16px;
    margin: 0 0 14px 0;
    border-radius: 999px;
    background: #e9f7fb;
    color: #0e8eb0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.about-heading {
    margin: 0;
    color: #0e8eb0;
    text-transform: none;
}

.about-lead {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #3f4d5d;
    margin-bottom: 18px;
}

.about-modern-panel-full {
    width: 100%;
}

.about-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 34px;
    align-items: start;
}

.about-copy-col {
    min-width: 0;
}

.about-copy-block h2 {
    font-size: 28px;
    line-height: 1.35;
    text-transform: none;
    margin-bottom: 16px;
}

.about-copy-block p {
    color: #536172;
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-action-row {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-main-btn,
.about-video-btn {
    min-width: 190px;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-video-btn {
    background: #fff;
    border: 1px solid #dbe7ee;
    color: #0e8eb0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

    .about-video-btn:hover {
        background: #0e8eb0;
        border-color: #0e8eb0;
        color: #fff;
    }

@media (max-width: 991px) {
    .about-copy-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .about-action-row {
        flex-direction: column;
    }

    .about-main-btn,
    .about-video-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ======================================
   Modern Client Testimonials
   ====================================== */
.client-testimonials {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

    .client-testimonials .section-title {
        margin-bottom: 35px;
    }

        .client-testimonials .section-title h1 {
            margin-bottom: 12px;
        }

        .client-testimonials .section-title p {
            max-width: 720px;
            margin: 0 auto;
            color: #6b7280;
        }

    .client-testimonials .testimonial-slider {
        margin-top: 10px;
    }

    .client-testimonials .testimonial-card {
        padding: 12px;
    }

    .client-testimonials .testimonial-card-inner {
        background: #ffffff;
        border: 1px solid #e8eef2;
        border-radius: 24px;
        padding: 32px 28px;
        box-shadow: 0 2px 2px rgba(15, 23, 42, 0.08);
        height: 100%;
        min-height: 340px;
        position: relative;
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }

        .client-testimonials .testimonial-card-inner:hover {
            transform: translateY(-6px);
            box-shadow: 0 4px 4px rgba(15, 23, 42, 0.12);
            border-color: rgba(14, 142, 176, 0.20);
        }

    .client-testimonials .testimonial-quote-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        background: rgba(14, 142, 176, 0.10);
        color: #0e8eb0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-bottom: 18px;
    }

    .client-testimonials .testimonial-stars {
        margin-bottom: 18px;
        color: #f5b301;
        font-size: 15px;
        letter-spacing: 2px;
    }

    .client-testimonials .testimonial-text {
        color: #374151;
        font-size: 15px;
        line-height: 1.9;
        margin-bottom: 26px;
        min-height: 130px;
    }

    .client-testimonials .testimonial-author {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-top: auto;
    }

    .client-testimonials .testimonial-author-image img {
        width: 74px;
        /*height: 64px;*/
        border-radius: 50%;
        object-fit: cover !important;
        border: 3px solid #eef7fa;
        background: #f3f4f6;
    }

    .client-testimonials .testimonial-author-info h4 {
        margin: 0 0 4px;
        font-size: 18px;
        color: #111827;
        font-weight: 700;
    }

    .client-testimonials .testimonial-author-info p {
        margin: 0;
        color: #6b7280;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Owl controls */
    .client-testimonials .owl-dots {
        text-align: center;
        margin-top: 18px;
    }

        .client-testimonials .owl-dots .owl-dot span {
            width: 10px;
            height: 10px;
            margin: 5px;
            background: #cbd5e1;
            display: block;
            border-radius: 50%;
            transition: all .25s ease;
        }

        .client-testimonials .owl-dots .owl-dot.active span,
        .client-testimonials .owl-dots .owl-dot:hover span {
            background: #0e8eb0;
            transform: scale(1.15);
        }

    .client-testimonials .owl-nav {
        margin-top: 10px;
    }

        .client-testimonials .owl-nav button.owl-prev,
        .client-testimonials .owl-nav button.owl-next {
            width: 46px;
            height: 46px;
            border-radius: 50% !important;
            border: 1px solid #dbe5ea !important;
            background: #fff !important;
            color: #0f172a !important;
            font-size: 18px !important;
            transition: all .25s ease;
        }

            .client-testimonials .owl-nav button.owl-prev:hover,
            .client-testimonials .owl-nav button.owl-next:hover {
                background: #0e8eb0 !important;
                border-color: #0e8eb0 !important;
                color: #fff !important;
            }

@media (max-width: 991px) {
    .client-testimonials {
        padding: 70px 0;
    }

        .client-testimonials .testimonial-card-inner {
            min-height: auto;
            padding: 26px 22px;
        }

        .client-testimonials .testimonial-text {
            min-height: auto;
        }
}

@media (max-width: 575px) {
    .client-testimonials .testimonial-author {
        align-items: flex-start;
    }

    .client-testimonials .testimonial-author-image img {
        width: 56px;
        height: 56px;
    }

    .client-testimonials .testimonial-author-info h4 {
        font-size: 16px;
    }
}


/*@media (min-width: 992px) {
    .hero-shell {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hero-modern-card {
        margin-left: auto;
        margin-right: 0;
    }
}*/
/*Moving to bottom right*/
@media (min-width: 992px) {
    .hero-shell {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding: 0 0 1% 0;
    }

    .hero-modern-card {
        margin-left: auto;
        margin-right: 0;
    }
}
