/* ===== HERO ANIMATED GRADIENT BACKGROUND ===== */
@keyframes hero-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes hero-orb-float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.08);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes hero-orb-float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(-35px, 25px) scale(1.1);
    }

    75% {
        transform: translate(20px, -30px) scale(0.92);
    }
}

@keyframes hero-orb-float-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, 35px) scale(1.05);
    }
}

@keyframes hero-grain-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes hero-line-pulse {

    0%,
    100% {
        opacity: 0.18;
    }

    50% {
        opacity: 0.38;
    }
}

@keyframes hero-shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(300%) rotate(30deg);
    }
}

.hero-wrap {
    position: relative;
    overflow: hidden;
    /* Animated multi-stop gradient — blue family + white */
    background: linear-gradient(-45deg,
        #e8f4fd,
        #ffffff,
        #d0eaff,
        #ffffff,
        #bde0fe,
        #eaf5ff,
        #ffffff,
        #cce8ff);
    background-size: 400% 400%;
    animation: hero-gradient-shift 14s ease infinite;
    /*padding: 64px 0 56px;*/
    padding: 44px 0 36px;
    min-height: calc(100vh - 75px - 110px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Soft radial orbs */
.hero-wrap::before,
.hero-wrap::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Large top-left orb */
.hero-wrap::before {
    width: 680px;
    height: 680px;
    top: -180px;
    left: -160px;
    background: radial-gradient(circle, rgba(26, 124, 212, 0.13) 0%, rgba(90, 171, 245, 0.06) 50%, transparent 75%);
    animation: hero-orb-float-1 18s ease-in-out infinite;
}

/* Bottom-right orb */
.hero-wrap::after {
    width: 520px;
    height: 520px;
    bottom: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(189, 224, 254, 0.45) 0%, rgba(26, 124, 212, 0.08) 55%, transparent 75%);
    animation: hero-orb-float-2 22s ease-in-out infinite;
}

/* Extra floating orbs via injected divs */
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-orb-1 {
    width: 320px;
    height: 320px;
    top: 30%;
    right: 15%;
    background: radial-gradient(circle, rgba(90, 171, 245, 0.12) 0%, transparent 70%);
    animation: hero-orb-float-3 15s ease-in-out infinite;
}

.hero-bg-orb-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 35%;
    background: radial-gradient(circle, rgba(26, 124, 212, 0.09) 0%, transparent 70%);
    animation: hero-orb-float-1 20s ease-in-out infinite reverse;
}

/* Subtle diagonal grid lines */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
    linear-gradient(rgba(26, 124, 212, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 124, 212, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: hero-line-pulse 6s ease-in-out infinite;
}

/* Light shimmer sweep */
.hero-bg-shimmer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-shimmer::after {
    content: '';
    position: absolute;
    top: -60%;
    left: 0;
    width: 35%;
    height: 220%;
    background: linear-gradient(105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 70%);
    animation: hero-shimmer 9s ease-in-out infinite;
    animation-delay: 2s;
}

/* All child content sits above bg layers */
.hero-wrap>*:not(.hero-bg-orb):not(.hero-bg-grid):not(.hero-bg-shimmer) {
    position: relative;
    z-index: 1;
}

/* Owl items need z-index too */
.hero-wrap .owl-stage-outer,
.hero-wrap .owl-nav,
.hero-wrap .owl-dots {
    position: relative;
    z-index: 1;
}

.hero-wrap .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.hero-grid-left-img {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
}   

.hero-grid-right-img {
    display: grid;
    grid-template-columns: 1.10fr 0.90fr;
    gap: 30px;
    align-items: center;
}



.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--b2);
    color: var(--b4);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 4px;
    margin-bottom: 22px;
}

.hero-badge-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34c759;
    display: inline-block;
}

.hero-title {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--b4);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-mid);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--b3);
    color: var(--white);
    border: none;
    padding: 13px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hero-actions .btn-primary:hover {
    background: var(--b4);
}

.hero-actions .btn-secondary {
    background: var(--white);
    color: var(--b4);
    border: 1.5px solid var(--b2);
    padding: 13px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hero-actions .btn-secondary:hover {
    color: #fff;
    background-color: #86b7fe;
    border-color: #86b7fe;
}

/* hero portrait */
.hero-portrait-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.hero-portrait {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 13px solid var(--b2);
    overflow: hidden;
    box-shadow: 0 24px 48px -16px rgba(26, 124, 212, .35);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-portrait--cutout {
    background: linear-gradient(160deg, rgba(189, 224, 254, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
    box-shadow: 0 24px 48px -16px rgba(26, 124, 212, .25);
}

.hero-portrait--cutout img {
    object-fit: contain;
    padding: 28px;
}

.hero-wrap .slide-centered-visual {
    margin-bottom: 20px;
    line-height: 0;
}

.hero-wrap .slide-centered-visual img {
    display: block;
    width: auto;
    height: auto;
    max-width: 320px;
    max-height: 220px;
    object-fit: contain;
}

.hero-float-card {
    /*font-family: var(--font-secondary);*/
    position: absolute;
    background: var(--white);
    border: 1px solid var(--b2);
    border-radius: 5px;
    padding: 14px 20px;
    box-shadow: 0 12px 28px -10px rgba(26, 124, 212, .25);
    font-size: 13px;
    line-height: 1.4;
    z-index: 99;
}

.hero-float-card strong {
    font-size: 22px;
    color: var(--b4);
    display: block;
}

.hero-float-card span {
    color: var(--text-light);
    font-weight: 500;
}

.hero-float-top-left {
    top: 6%;
    left: -6%;
}

.hero-float-bottom-right {
    bottom: 8%;
    right: -2%;
}

.hero-float-top-right {
    top: 6%;
    right: 6%;
}

.hero-float-bottom-left {
    bottom: 8%;
    left: -2%;
}


/* ===== HERO SLIDER ANIMATION SYSTEM ===== */

/* All animated content starts hidden */
.hero-wrap .slide-content [data-anim] {
    opacity: 0;
    visibility: hidden;
}

.hero-wrap .slide-centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero-wrap .slide-centered .hero-eyebrow-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-wrap .slide-centered .eyebrow-line-bar {
    width: 48px;
    height: 2px;
    background: var(--b3);
    display: inline-block;
}

.hero-wrap .slide-centered .eyebrow-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--b4);
}

.hero-wrap .slide-centered .hero-title {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-wrap .slide-centered .hero-title-xl {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-wrap .slide-centered .hero-title-xl span {
    color: var(--b4);
}

.hero-wrap .slide-centered .hero-desc {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    /* max-width: 520px; */
    margin-bottom: 32px;
    max-width: unset;
}

.hero-wrap .slide-centered .hero-actions {
    justify-content: center;
}

.hero-wrap .slide-centered .stat-chips {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-wrap .stat-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--b2);
    border-radius: 40px;
    padding: 10px 20px;
    box-shadow: 0 4px 16px -6px rgba(26, 124, 212, .15);
}

.hero-wrap .stat-chip strong {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 22px;
    font-weight: 800;
    color: var(--b4);
}

.hero-wrap .stat-chip span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}


/* ===== HERO SLIDER - OWL NAV ARROWS ===== */
.hero-wrap .owl-nav button.owl-prev,
.hero-wrap .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid var(--b2) !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px -6px rgba(26, 124, 212, .3);
    transition: background .2s, border-color .2s;
    z-index: 10;
    outline: none;
}

.hero-wrap .owl-nav button.owl-prev {
    left: 16px;
}

.hero-wrap .owl-nav button.owl-next {
    right: 16px;
}

.hero-wrap .owl-nav button:hover {
    background: var(--b4) !important;
    border-color: var(--b4) !important;
}

.hero-wrap i.owl-direction {
    font-size: 1.3em;
    color: var(--b4);
    font-style: normal;
    line-height: 1;
    transition: color .2s;
}

.hero-wrap .owl-nav button:hover i.owl-direction {
    color: #fff;
}

.hero-wrap .owl-dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex !important;
    justify-content: center;
    gap: 8px;
}

.hero-wrap .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: var(--b2) !important;
    border-radius: 20px !important;
    transition: width .3s, background .3s !important;
    margin: 0 !important;
}

.hero-wrap .owl-dot.active span {
    width: 26px !important;
    background: var(--b4) !important;
}





@media (max-width: 880px) {

    .hero-grid{
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 64px;
    }

    .hero-portrait-wrap {
        order: -1;
        min-height: 280px;
    }

    .hero-title {
        font-size: 38px;
    }                  
}

@media (max-width:600px) {

    .hero-float-top-left,
    .hero-float-top-right,
    .hero-float-bottom-right,
    .hero-float-bottom-left {
        position: static;
        margin-top: 16px;
        display: inline-block;
    }           

}





/* ===== checklist for slider (SLIDE 3): ===== */
.hero-wrap .slide-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-wrap .slide-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 500;
}

.hero-wrap .slide-checklist li svg {
    width: 18px;
    height: 18px;
    stroke: var(--b4);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}