@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --white: #FFFFFF;
    --ice: #F3F7FB;
    --blue: #3C86B6;
    --blue-light: #6FAAD1;
    --blue-dark: #2C6A93;
    --navy: #0E0962;
    --navy-soft: #1B1680;
    --ink: #101233;
    --ink-soft: #5A5E7A;
    --line: #E4E9F1;
    --radius: 16px;
    --shadow: 0 16px 40px -12px rgba(14, 9, 98, .16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-top: 88px;
}

h1,
h2,
h3,
.display {
    font-family: 'Sora', sans-serif;
    margin: 0;
    letter-spacing: -.01em;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width:820px) {
    .wrap {
        padding: 0 20px;
    }
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    display: block;
    max-height: 44px;
    width: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width:820px) {
    .header-inner {
        padding: 14px 20px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand .mark {
    width: 56px;
    height: 56px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand .mark img,
.brand .mark a img {
    width: auto;
    max-width: 100%;
    height: 42px;
    max-height: 100%;
    object-fit: contain;
}

.brand .mark svg {
    width: 20px;
    height: 20px;
}

.brand .name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 16.5px;
    color: var(--navy);
    line-height: 1.15;
}

.brand .name small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: .08em;
    color: var(--blue);
    text-transform: uppercase;
}

nav.tabs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mobile-menu-panel {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1200;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav.tabs ul {
    display: flex;
    gap: 6px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.tabs li {
    list-style: none;
}

nav.tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14.5px;
    padding: 9px 16px;
    border-radius: 8px;
    transition: .15s;
    text-decoration: none;
}

nav.tabs .current-menu-item>a,
nav.tabs .current_page_item>a {
    background: var(--ice);
    color: var(--navy);
}

nav.tabs a:hover {
    color: var(--blue);
    background: var(--ice);
}

nav.tabs a:hover {
    color: var(--blue);
    background: var(--ice);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width:767px) {
    .header-inner {
        position: relative;
        z-index: 1200;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    nav.tabs {
        display: none !important;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-panel {
        display: block;
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        left: 20px;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 20px 50px rgba(14, 9, 98, 0.14);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.24s ease, transform 0.24s ease;
        z-index: 1300;
    }

    .mobile-menu-panel.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 6px;
        list-style: none;
        margin: 0 0 14px;
        padding: 0;
    }

    .mobile-nav a {
        display: block;
        padding: 11px 12px;
        color: var(--navy);
        text-decoration: none;
        border-radius: 10px;
        font-weight: 700;
        background: transparent;
    }

    .mobile-nav a:hover,
    .mobile-nav .current-menu-item a {
        background: var(--ice);
        color: var(--navy);
    }

    .mobile-quote-btn {
        width: 100%;
        justify-content: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: .18s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(60, 134, 182, .55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -8px rgba(60, 134, 182, .65);
}

.btn-outline {
    border: 1.5px solid var(--line);
    color: var(--navy);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-white {
    background: #fff;
    color: var(--navy);
}

.btn-white:hover {
    background: var(--ice);
}


.whatsapp-shape {
    background: #25D366;
    color: #fff;
    padding: 0;
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.7);
    cursor: pointer;
    animation: whatsapp-ring 2.4s ease-in-out infinite;
}

.whatsapp-shape svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: block;
    margin: 0 auto;
}

.whatsapp-shape .btn-text {
    display: none;
}

.whatsapp-shape:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 28px -12px rgba(37, 211, 102, 0.82);
    filter: saturate(1.06);
}

@keyframes whatsapp-ring {
    0%, 100% {
        transform: translateY(-2px) rotate(0deg) scale(1.04);
    }
    10% {
        transform: translateY(-2px) rotate(-4deg) scale(1.04);
    }
    20% {
        transform: translateY(-2px) rotate(4deg) scale(1.04);
    }
    30% {
        transform: translateY(-2px) rotate(-3deg) scale(1.04);
    }
    40% {
        transform: translateY(-2px) rotate(3deg) scale(1.04);
    }
    50% {
        transform: translateY(-2px) rotate(0deg) scale(1.04);
    }
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* ---------- Page sections ---------- */
.page {
    display: block;
}

.page.active {
    animation: fade .35s ease;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ---------- Hero (banner) ---------- */
.hero {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 0 0 80px; /* bottom padding for floating stats card */
    color: #fff;
}

.hero-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    min-height: 600px;
    overflow: visible;
}

@media (min-width: 901px) {
    .hero-layout {
        display: block;
    }

    .hero-visual-col {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .hero-content-col {
        display: none;
    }

    .hero-text-container {
        position: relative;
        z-index: 3;
        width: 42%;
        min-height: 600px;
        display: flex;
        align-items: center;
        padding: 50px 16px 90px max(32px, calc((100vw - 1200px) / 2 + 32px));
    }

    .hero-seam {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.hero-art {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner.png');
    background-size: cover;
    background-position: right top; /* align top-right of image with top-right of banner */
}

.hero-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent; /* show clear airplane image with no dark blue overlay */
    pointer-events: none;
}

.hero-bubble {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 8px solid #fff;
    box-shadow: 0 12px 36px rgba(14, 9, 98, 0.25);
    transition: transform 0.3s ease;
}

.hero-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (min-width: 901px) {
    .hero-bubble-top {
        width: 155px;
        height: 155px;
        top: 25%;
        left: 58.5%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    .hero-bubble-bottom {
        width: 120px;
        height: 120px;
        top: 41%;
        left: 51%;
        transform: translate(-50%, -50%);
        z-index: 11;
    }
}

/* Button & Arrow Styles matching reference image */
.hero .btn-white {
    background: #1d4ed8 !important; /* matches reference image bright blue button */
    color: #ffffff !important;
    border-radius: 100px;
    padding: 14px 28px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.25);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero .btn-white:hover {
    background: #1e40af !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.35);
}

.hero .btn-white svg {
    transition: transform 0.3s ease;
}

.hero .btn-white:hover svg {
    transform: translateX(4px);
}

.hero .btn-ghost-light {
    
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero .btn-ghost-light .btn-text {
    text-decoration: none;
}

.hero .btn-ghost-light:hover {
    color: #ffffff !important;
    background: #25D366 !important;
}

.hero .btn-ghost-light svg {
    transition: transform 0.3s ease;
}

.hero .btn-ghost-light:hover svg {
    transform: translateX(4px);
}

.btn-arrow-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* Floating Stats Bar */
.hero-stats-bar {
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 20;
    padding: 0 32px;
}

.stats-bar-inner {
    background: #ffffff;
    border-radius: 100px;
    padding: 24px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-shadow: 0 15px 45px rgba(14, 9, 98, 0.12);
    border: 3px solid rgba(143, 208, 240, 0.35);
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stats-icon {
    width: 48px;
    height: 48px;
    background: #EAF2F8;
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon svg {
    width: 20px;
    height: 20px;
}

.stats-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stats-num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    line-height: 1.1;
}

.stats-lbl {
    font-size: 11.5px;
    color: var(--ink-soft);
    line-height: 1.3;
}



@media (max-width:900px) {
    .hero {
        padding: 0 0 160px; /* add bottom padding to accommodate mobile stacked stats bar */
    }

    .hero-bg-svg {
        display: none;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-visual-col {
        position: relative;
        min-height: 320px;
        width: 100%;
        order: 1;
    }

    .hero-art {
        position: relative;
        min-height: 320px;
    }

    .hero-content-col {
        display: none;
    }

    .hero-text-container {
        position: relative;
        order: 2;
        z-index: 3;
        width: 100%;
        padding: 60px 24px 80px;
        background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, rgba(27, 22, 128, .96) 100%);
    }

    .hero-text-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../images/gallerywarehouse.jpg');
        background-size: cover;
        background-position: center;
        opacity: .10;
        filter: blur(3px);
        pointer-events: none;
    }

    .hero-seam {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 320px;
        z-index: 4;
        pointer-events: none;
    }

    .hero-seam-svg {
        display: none;
    }

    .hero-bubble-top {
        width: 90px;
        height: 90px;
        top: auto;
        bottom: -30px;
        left: 20%;
        transform: translateX(-50%);
        z-index: 10;
    }

    .hero-bubble-bottom {
        width: 75px;
        height: 75px;
        top: auto;
        bottom: -22px;
        left: 36%;
        transform: translateX(-50%);
        z-index: 11;
    }

    .hero-stats-bar {
        bottom: -120px;
        padding: 0 16px;
    }

    .stats-bar-inner {
        border-radius: 20px;
        padding: 20px;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stats-item {
        gap: 10px;
    }

    .stats-icon {
        width: 36px;
        height: 36px;
    }

    .stats-icon svg {
        width: 16px;
        height: 16px;
    }

    .stats-num {
        font-size: 16px;
    }

    .stats-lbl {
        font-size: 10px;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .20);
    color: #EAF2F8;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6FE3A6;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(34px, 4.2vw, 50px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.02em;
}

.hero h1 span {
    color: #8FD0F0;
    display: inline-block;
}

.hero p.lede {
    font-size: 16px;
    color: rgba(207, 224, 236, .92);
    max-width: 480px;
    margin: 20px 0 32px;
    line-height: 1.7;
}

.btn-row {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
}

.hero-card {
    position: absolute;
    bottom: 32px;
    right: 32px;
    left: auto;
    background: rgba(14, 9, 98, .62);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    padding: 16px 18px;
    backdrop-filter: blur(14px);
    max-width: 260px;
    min-height: auto;
    z-index: 4;
    box-shadow: 0 16px 40px rgba(14, 9, 98, .28);
}

.hero-card svg {
    width: 100%;
    height: auto;
}

.hero-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-banner-card.card-1 {
    top: 18px;
    left: 18px;
    transform: rotate(-4deg);
}

.hero-banner-card.card-2 {
    top: 30px;
    right: 24px;
    transform: rotate(5deg);
}

.hero-banner-card.card-3 {
    top: 140px;
    right: 10px;
    width: 92px;
    height: 92px;
    transform: rotate(-6deg);
}

.hero-banner-card.card-4 {
    top: 220px;
    left: 48%;
    transform: translateX(-50%) rotate(3deg);
}

.hero-banner-card.card-5 {
    bottom: 28px;
    left: 120px;
    width: 98px;
    height: 98px;
    transform: rotate(-2deg);
}

.hero-banner-card.card-6 {
    bottom: 30px;
    right: 48px;
    width: 88px;
    height: 88px;
    transform: rotate(4deg);
}

.floating-stat {
    position: absolute;
    left: 46%;
    bottom: 72px;
    transform: translateX(-62%);
    background: #fff;
    color: var(--navy);
    border-radius: 100px;
    padding: 14px 24px;
    box-shadow: 0 20px 50px rgba(14, 9, 98, .22);
    display: flex;
    gap: 14px;
    align-items: center;
    z-index: 7;
    border: 3px solid rgba(143, 208, 240, .45);
    white-space: nowrap;
}

@media (max-width:900px) {
    .hero-banner-cards {
        display: none;
    }

    .hero-card {
        display: none;
    }

    .floating-stat {
        left: 24px;
        bottom: auto;
        top: 296px;
        transform: none;
        border-radius: 14px;
        white-space: normal;
    }
}

.floating-stat .n {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--blue);
}

.floating-stat .l {
    font-size: 11.5px;
    color: var(--ink-soft);
    line-height: 1.3;
    max-width: 120px;
}

@media (max-width:560px) {
    .floating-stat {
        left: 16px;
        bottom: -20px;
        padding: 10px 16px;
    }
}

/* wave divider */
.wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px; /* overlap slightly to prevent 1px gap */
    line-height: 0;
    z-index: 15;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ---------- stats bar ---------- */
.stats {
    background: var(--white);
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}

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

.stats .item {
    text-align: center;
    padding: 0 14px;
    position: relative;
}

.stats .item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--line);
}

.stats .num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: var(--navy);
}

.stats .lbl {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px;
    font-weight: 500;
}

@media (max-width:700px) {
    .stats .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }

    .stats .item:nth-child(2)::after {
        display: none;
    }
}

/* ---------- section heading ---------- */
.sec-head {
    padding: 64px 0 30px;
    text-align: left;
}

.sec-head.center {
    text-align: center;
}

.sec-head .tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sec-head .tag::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.sec-head h2 {
    font-size: 30px;
    color: var(--navy);
    font-weight: 700;
}

.sec-head p {
    color: var(--ink-soft);
    max-width: 600px;
    margin-top: 12px;
    line-height: 1.65;
    font-size: 15px;
}

.sec-head.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- icon box cards ---------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width:900px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.icard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: .2s;
    position: relative;
}

.icard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.icard .icn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icard .icn svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.icard h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.icard p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.icard a.more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

/* ---------- about split ---------- */
.about {
    background: var(--ice);
    padding: 70px 0;
}

.about .wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 52px;
    align-items: center;
}

@media (max-width:900px) {
    .about .wrap {
        grid-template-columns: 1fr;
    }
}

.about-art {
    position: relative;
}

.about-art .panel {
    background: linear-gradient(160deg, var(--navy), var(--blue));
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.about-art .panel svg {
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -16px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-badge .n {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
}

.about-badge .l {
    font-size: 11px;
    color: var(--ink-soft);
    max-width: 100px;
    line-height: 1.3;
}

.checklist {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.checklist .tick {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checklist .tick svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy), var(--navy-soft) 60%, var(--blue));
    padding: 60px 0;
    color: #fff;
}

.cta-band .wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width:900px) {
    .cta-band .wrap {
        grid-template-columns: 1fr;
    }
}

.cta-band h2 {
    color: #fff;
    font-size: 26px;
}

.cta-band p {
    color: #CFE0EC;
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.6;
}

.formcard {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.formcard .grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width:560px) {
    .formcard .grid2 {
        grid-template-columns: 1fr;
    }
}

.formcard input,
.formcard textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    margin-top: 0;
}

.formcard input:focus,
.formcard textarea:focus {
    border-color: var(--blue);
}

.formcard label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 5px;
    display: block;
}

.formcard .field {
    margin-bottom: 12px;
}

.formcard button {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

/* ---------- services page ---------- */
.banner {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    color: #fff;
    padding: 56px 0 60px;
    position: relative;
}

.banner .crumb {
    font-size: 13px;
    color: #CFE0EC;
    margin-bottom: 10px;
}

.banner .crumb b {
    color: #fff;
}

.banner h1 {
    font-size: 34px;
    font-weight: 700;
}

.banner p {
    color: #CFE0EC;
    margin-top: 10px;
    max-width: 560px;
    line-height: 1.6;
    font-size: 15px;
}

.service-row {
    display: grid;
    grid-template-columns: .42fr .58fr;
    gap: 44px;
    align-items: center;
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row.rev {
    grid-template-columns: .58fr .42fr;
}

.service-row.rev .srow-art {
    order: 2;
}

@media (max-width:820px) {

    .service-row,
    .service-row.rev {
        grid-template-columns: 1fr;
    }

    .service-row.rev .srow-art {
        order: 0;
    }
}

.srow-art {
    background: var(--ice);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.srow-art svg {
    width: 60%;
}

.srow-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.srow-num {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--blue);
    letter-spacing: .06em;
    margin-bottom: 10px;
}

.service-row h3 {
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-row p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 14px;
}

.pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background: var(--ice);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 100px;
    border: 1px solid var(--line);
}

/* ---------- contact page ---------- */
.hq-card {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    color: #fff;
    border-radius: 20px;
    padding: 32px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
    margin-top: -84px;
    position: relative;
    z-index: 5;
}

@media (max-width:1024px) {
    .hq-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width:820px) {
    .hq-card {
        margin-top: 26px;
        padding: 24px 18px;
    }
}

.hq-card h3 {
    color: #fff;
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 700;
}

.hq-card .rows {
    font-size: 14.5px;
    color: #DCEAF2;
    line-height: 2;
}

.hq-card .rows a:hover {
    color: #fff;
    text-decoration: underline;
}

.hq-card .qr-wrap {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hq-card .qr-box {
    background: #fff;
    border-radius: 22px;
    padding: 14px 10px;
    text-align: center;
    width: 96px;
    min-width: 96px;
}

@media (max-width:768px) {
    .hq-card .qr-wrap {
        justify-content: center;
    }

    .hq-card .qr-box {
        width: 108px;
        min-width: 108px;
    }
}

.hq-card .qr-box a {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.hq-card .qr-box .qr {
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
}

.hq-card .qr-box .qr canvas,
.hq-card .qr-box .qr img,
.tag-card .qr-row .qr canvas,
.tag-card .qr-row .qr img {
    display: block;
    max-width: 100%;
    height: auto;
}

.hq-card .qr-box span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
}

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

@media (max-width:1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:680px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.tag-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    border-top: 4px solid var(--blue);
    transition: .2s;
}

.tag-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.tag-card .role {
    display: inline-block;
    background: var(--ice);
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.tag-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.tag-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--ice);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tag-card .rows {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.85;
}

.tag-card .rows a:hover {
    color: var(--blue);
}

.tag-card .qr-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

@media (max-width:768px) {
    .tag-card .qr-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.tag-card .qr-row .qr {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    flex-shrink: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width:680px) {
    .tag-card .qr-row .qr {
        width: 78px;
        height: 78px;
    }
}

.tag-card .qr-row .qr-note {
    font-size: 11.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.tag-card .qr-row .qr-note b {
    color: var(--navy);
    display: block;
    font-size: 12px;
}

.note-banner {
    background: var(--ice);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 16px 20px;
    font-size: 13.5px;
    border-radius: 12px;
    margin-top: 28px;
    line-height: 1.65;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

@media (max-width:768px) {
    .note-banner {
        flex-direction: column;
    }
}

.note-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    stroke: var(--blue);
}

.note-banner b {
    color: var(--navy);
}

/* ---------- gallery page ---------- */
.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-row button {
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: 100px;
    transition: .15s;
}

.filter-row button.active {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    border-color: transparent;
}

.page-content.wrap {
    padding: 60px 0 80px;
}

.page-header {
    margin-bottom: 28px;
    padding: 24px 26px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(14, 9, 98, .08);
    box-shadow: 0 20px 45px rgba(14, 9, 98, .08);
}

.page-header h1 {
    font-size: clamp(2.4rem, 2.1rem + 1vw, 3rem);
    color: var(--navy);
    line-height: 1.05;
    margin: 0;
}

.page-detail-card {
    max-width: 920px;
    margin: 40px auto 90px;
    display: grid;
    gap: 28px;
}

.page-hero-card {
    background: #fff;
    border: 1px solid rgba(14, 9, 98, .08);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(14, 9, 98, .12);
    overflow: hidden;
}

.page-header {
    margin: 0;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(14, 9, 98, .08);
}

.page-header h1 {
    font-size: clamp(2.4rem, 2.1rem + 1vw, 3rem);
    color: var(--navy);
    line-height: 1.05;
}

.page-featured-image {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}

.page-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.page-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px 36px;
    box-shadow: var(--shadow);
    color: var(--ink-soft);
    line-height: 1.85;
    font-size: 16px;
}

.page-body p {
    margin-bottom: 24px;
}

.page-body h2,
.page-body h3,
.page-body h4 {
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 16px;
}

.page-body a {
    color: var(--blue);
}

@media (max-width:820px) {
    .page-content.wrap {
        padding: 40px 0 60px;
    }

    .page-detail-card {
        gap: 22px;
    }

    .page-body {
        padding: 24px 22px;
    }
}

@media (max-width:820px) {
    .page-content.wrap {
        padding: 40px 0 60px;
    }

    .page-body {
        padding: 24px 22px;
    }
}

.filter-row button:hover:not(.active) {
    border-color: var(--blue);
    color: var(--blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}

@media (max-width:820px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.g-tile {
    background: linear-gradient(150deg, var(--navy), var(--blue));
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    display: block;
    box-shadow: 0 14px 32px rgba(14, 9, 98, .14);
    transition: transform .22s ease, box-shadow .22s ease;
}

.g-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(14, 9, 98, .12));
    z-index: 1;
    pointer-events: none;
}

.g-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(14, 9, 98, .22);
}

.g-tile a {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
}

.g-tile svg {
    width: 42%;
    opacity: .92;
}

.g-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .32s ease;
}

.g-tile:hover img {
    transform: scale(1.06);
}

.g-tile .cap {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(14, 9, 98, .14), rgba(14, 9, 98, .78));
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: 12px;
    z-index: 2;
}

/* ---------- footer ---------- */
footer {
    background: var(--navy);
    color: #B9C4E0;
    padding: 50px 0 24px;
}

footer .fgrid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width:820px) {
    footer .fgrid {
        grid-template-columns: 1fr 1fr;
    }
}

footer h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 700;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    font-size: 13.5px;
}

footer ul a:hover {
    color: #fff;
}

footer .bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- floating widgets ---------- */
.floaters {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 70;
}


.fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(14, 9, 98, .28);
    border: none;
}

.fab-wa {
    background: #22C35E;
    color: #fff;
}

.fab-chat {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    font-size: 20px;
}

.chatbox {
    width: 308px;
    max-height: 430px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 46px rgba(14, 9, 98, .28);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 6px;
}

.chatbox.open {
    display: flex;
}

.chatbox .chead {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    color: #fff;
    padding: 14px 16px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbox .chead button {
    background: none;
    border: none;
    color: #DCEAF2;
    font-size: 16px;
}

.chatbox .cbody {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13.5px;
}

.chatbox .msg {
    padding: 9px 12px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.5;
}

.chatbox .msg.bot {
    background: var(--ice);
    color: var(--ink);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chatbox .msg.user {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbox .quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
}

.chatbox .quick button {
    font-size: 11.5px;
    border: 1px solid var(--line);
    background: var(--ice);
    padding: 7px 11px;
    border-radius: 100px;
    color: var(--navy);
    font-weight: 600;
}

.chatbox .quick button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ---------- WPForms: Modern form wrapper (exact-match button + inputs) ---------- */
.modern-form {
    width: 100%;
    max-width: 560px;
    margin: 24px auto;
    background: #ffffff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 24px 45px rgba(18, 24, 60, .1);
    border: 1px solid rgba(226, 233, 241, .95);
}

.modern-form .wpforms-container {
    background: transparent;
    padding: 0;
}

.modern-form .wpforms-form {
    display: grid;
    gap: 18px;
}

/* clean wrappers */
.modern-form .wpforms-field {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.modern-form label.wpforms-field-label {
    display: block;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 13px;
}

/* input style matching screenshot: light gray rounded inputs with subtle inner shadow */
.modern-form .wpforms-field input[type="text"],
.modern-form .wpforms-field input[type="email"],
.modern-form .wpforms-field input[type="tel"],
.modern-form .wpforms-field input[type="number"],
.modern-form .wpforms-field textarea,
.modern-form .wpforms-field select {
    width: 100%;
    border: 1px solid rgba(226, 233, 241, .9);
    background: #f8faff;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    color: var(--ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    transition: box-shadow .15s, border-color .15s;
}

.modern-form .wpforms-field textarea {
    min-height: 110px;
    resize: vertical;
}

.modern-form .wpforms-field input::placeholder,
.modern-form .wpforms-field textarea::placeholder {
    color: rgba(14, 20, 60, .28);
}

.modern-form .wpforms-field input:focus,
.modern-form .wpforms-field textarea:focus,
.modern-form .wpforms-field select:focus {
    outline: none;
    border-color: rgba(6, 68, 163, 0.95);
    box-shadow: 0 10px 30px rgba(10, 110, 255, .06);
}

.modern-form .wpforms-field .wpforms-field-hint {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 6px;
}

/* field rows: single column on mobile, two columns on desktop */
.modern-form .wpforms-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.modern-form .wpforms-field-row>.wpforms-field {
    min-width: 0;
}

@media (min-width:820px) {
    .modern-form .wpforms-field-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   WPForms Modern Submit Button
================================ */

.modern-form .wpforms-submit-container {
    margin-top: 25px;
}

.modern-form .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 0 24px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(90deg, #032357 0%, #0b43bd 100%);

    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .1px;

    cursor: pointer;
    overflow: hidden;

    box-shadow: 0 14px 32px rgba(12, 75, 194, .18);

    transition: transform .2s ease, box-shadow .2s ease;
}

.modern-form .wpforms-submit::before,
.modern-form .wpforms-submit::after {
    display: none;
}

/* Hover */
.modern-form .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(12, 75, 194, .22);
}

/* Click */
.modern-form .wpforms-submit:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 90, 255, .20);
}

/* Focus */
.modern-form .wpforms-submit:focus {
    outline: none;
}

.modern-form .wpforms-submit:focus-visible {
    outline: 3px solid rgba(27, 134, 255, .25);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width:768px) {

    .modern-form .wpforms-submit {

        width: 100%;
        height: 50px;

        padding-left: 66px;

        font-size: 15px;
    }

    .modern-form .wpforms-submit::before {
        width: 38px;
        height: 38px;
    }

    .modern-form .wpforms-submit::after {
        left: 22px;
        width: 15px;
        height: 15px;
    }
}
/* --------------------------------------------------------------*/

/* 
/* ==========================================
   Hero Content Entrance Animation (Pure CSS)
   ========================================== */

/* 1. Animation for the Eyebrow (Slide in from Left) */
@keyframes eyebrowSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px); /* Starts shifted to the left */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* Ends in natural position */
  }
}

/* 2. Animation for the Text & Buttons (Reveal Upwards) */
@keyframes heroTextRevealUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Starts slightly lower */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Ends in natural position */
  }
}

/* 3. Initial state to prevent visual flashing before animation starts */
.hero-content .eyebrow,
.hero-content h1,
.hero-content .lede,
.hero-content .btn-row {
  opacity: 0;
  animation-fill-mode: forwards; /* Ensures elements stay visible after animating */
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); /* Elegant deceleration */
}

/* 4. Sequence Timing & Triggers */

/* Step 1: Eyebrow slides from left */
.hero-content .eyebrow {
  animation-name: eyebrowSlideInLeft;
  animation-duration: 0.8s;
  animation-delay: 0.2s;
}

/* Step 2: Heading reveals up */
.hero-content h1 {
  animation-name: heroTextRevealUp;
  animation-duration: 0.9s;
  animation-delay: 0.5s; /* Begins right as the eyebrow finishes its slide */
}

/* Step 3: Paragraph text reveals up */
.hero-content .lede {
  animation-name: heroTextRevealUp;
  animation-duration: 0.8s;
  animation-delay: 0.7s;
}

/* Step 4: Buttons reveal up */
.hero-content .btn-row {
  animation-name: heroTextRevealUp;
  animation-duration: 0.8s;
  animation-delay: 0.9s;
}

/*__________________________________________________stats card ________________________________*/

/* ==================================================
   RESCUE HERO STATS BAR ANIMATION (Pure CSS)
   ================================================== */

/* 1. Clear keyframes with robust fallbacks */
@keyframes statsPopInSafe {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Target the items explicitly using fallback values */
.stats-item {
  opacity: 0;
  animation: statsPopInSafe 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 3. Safe, rapid staggering delays starting right after hero load */
.stats-item:nth-child(1) { animation-delay: 1.0s; }
.stats-item:nth-child(2) { animation-delay: 1.15s; }
.stats-item:nth-child(3) { animation-delay: 1.3s; }
.stats-item:nth-child(4) { animation-delay: 1.45s; }



/* ==================================================
   ELEGANT SLIDING VISUAL ANCHOR (Pure CSS)
   ================================================== */

/* 1. Setup the numbers to allow a clean bottom border line */
.stats-item .stats-num {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

/* 2. Create the hidden accent line under the numbers */
.stats-item .stats-num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ffffff; /* Smooth clean accent line */
  transform: scaleX(0); /* Starts completely hidden collapsed */
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 3. Hover Trigger: Slide the line out smoothly */
.stats-item:hover {
  cursor: pointer !important;
  background-color: rgba(255, 255, 255, 0.05) !important; /* Gentle card highlight */
}

.stats-item:hover .stats-num::after {
  transform: scaleX(1); /* Unrolls the line to full width */
}

/* 4. Softly breathe the icon */
.stats-item:hover .stats-icon svg {
  transform: translateY(-2px) !important;
  transition: transform 0.3s ease !important;
}




/* -----------------------------------------###############################___________________________________*/

/* ==================================================
   PRECISION POSITION-LOCKED SCROLL ANIMATION
   ================================================== */

/* 1. Base locked hidden state - ignores initial page-load ticks */
.sec-head.center.reveal-hidden {
  opacity: 0 !important;
  transform: translateY(40px) !important;
}

/* 2. Transition profile engine declaration */
.sec-head.center {
  transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 1.1s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: transform, opacity;
}

/* 3. Target active state - plays cleanly when scrolled directly into perspective */
.sec-head.center.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/*===================================================service cards==========================================*/

/* ==================================================
   DYNAMIC MULTI-DIRECTIONAL ENTRANCE & FLOATING HOVER
   ================================================== */

/* --- 1. SET UP THE FOUR INDIVIDUAL ENTRANCE DIRECTIONS --- */

/* Card 1: Slides out from the Left */
@keyframes flyInLeft {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Card 2: Drops down from the Top */
@keyframes flyInTop {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card 3: Rises up from the Bottom */
@keyframes flyInBottom {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card 4: Slides out from the Right */
@keyframes flyInRight {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* --- 2. INITIAL STATE LOCK --- */
.grid-4 .icard {
  opacity: 0;
  will-change: transform, opacity;
  /* Smooth exit transition back to normal when unhovering */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.4s ease, 
              border-color 0.4s ease, 
              box-shadow 0.4s ease !important;
}

/* --- 3. TRIGGER DISSIMILAR ENTRANCES ON SCROLL --- */

/* Card 1 (Freight Forwarding) - Flies from Left */
.sec-head.center.reveal-active + .grid-4 .icard:nth-child(1) {
  animation: flyInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  animation-delay: 0.1s;
}

/* Card 2 (Holding Members) - Drops from Top */
.sec-head.center.reveal-active + .grid-4 .icard:nth-child(2) {
  animation: flyInTop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  animation-delay: 0.25s;
}

/* Card 3 (Marine) - Rises from Bottom */
.sec-head.center.reveal-active + .grid-4 .icard:nth-child(3) {
  animation: flyInBottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  animation-delay: 0.4s;
}

/* Card 4 (NVOCC) - Flies from Right */
.sec-head.center.reveal-active + .grid-4 .icard:nth-child(4) {
  animation: flyInRight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  animation-delay: 0.55s;
}

/* --- 4. HIGH-MOTION MOUSE HOVER EFFECTS --- */

/* Card 1: Lifts & Tilts Left */
.grid-4 .icard:nth-child(1):hover {
  transform: translateY(-10px) rotate(-1deg) scale(1.02) !important;
}

/* Card 2: Lifts Straight Up Extra High */
.grid-4 .icard:nth-child(2):hover {
  transform: translateY(-14px) scale(1.02) !important;
}

/* Card 3: Lifts & Squashes Slightly (Heavy Floating Feel) */
.grid-4 .icard:nth-child(3):hover {
  transform: translateY(-8px) scale(1.03) !important;
}

/* Card 4: Lifts & Tilts Right */
.grid-4 .icard:nth-child(4):hover {
  transform: translateY(-10px) rotate(1deg) scale(1.02) !important;
}

/* Global Highlights Shared on Card Hover */
.grid-4 .icard:hover {
  cursor: pointer !important;
  background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Inner elements react kinetically */
.grid-4 .icard:hover .icn svg {
  transform: scale(1.15) rotate(5deg) !important;
  transition: transform 0.3s ease !important;
}

.grid-4 .icard:hover .more {
  transform: translateX(6px) !important;
  color: #ffffff !important;
  transition: transform 0.2s ease !important;
}

/*___________________________________________shshzwan flip --------------------------*/
/* ==========================================================================
   UPGRADED 3D FLIP CONTAINER & TEXT UNROLL ANIMATION (Pure CSS)
   ========================================================================== */

/* --- 1. THE 3D FLIP ENGINE (Allows Custom Front/Back Styles Later) --- */

/* Parent Wrapper Perspective Configuration */
.about-art {
  perspective: 1500px !important;
  position: relative;
  cursor: pointer;
  overflow: visible !important;
}

/* Base Card structure - holds the 3D space fields */
.about-art .panel {
  transform-style: preserve-3d !important;
  transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Trigger horizontal spin on hover */
.about-art:hover .panel {
  transform: rotateY(180deg) !important;
}

/* Establish standard rules for both Front and Back sides */
.about-art .panel svg,
.about-art .panel::after {
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* --- THE REVERSE SIDE OF THE CARD --- */
/* Customize this block later if you want to drop a background image or specific icon code! */
.about-art .panel::after {
   background-image: url('http://www.kwsline.com/wp-content/uploads/2026/07/galleryocean.jpg') !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b1528, #050a12); /* High-end dark metallic finish */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  
  /* Rotates this graphic away by default so it shows up only when turned around */
  transform: rotateY(180deg) !important;
}
 */
/* ==========================================================================
   SCROLL-LOCKED SUITE WITH CORRESPONDING INTERACTIVE STATES (Pure CSS)
   ========================================================================== */


/* --------------------------------------------------------------------------
   PART 1: HERO CONTAINER (Instant Page Load Sequence)
   -------------------------------------------------------------------------- */

@keyframes eyebrowSlideInLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroTextRevealUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .lede,
.hero-content .btn-row {
  opacity: 0;
  animation-fill-mode: forwards !important;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero-content .eyebrow { animation-name: eyebrowSlideInLeft; animation-duration: 0.8s; animation-delay: 0.2s; }
.hero-content h1       { animation-name: heroTextRevealUp; animation-duration: 0.9s; animation-delay: 0.5s; }
.hero-content .lede     { animation-name: heroTextRevealUp; animation-duration: 0.8s; animation-delay: 0.7s; }
.hero-content .btn-row  { animation-name: heroTextRevealUp; animation-duration: 0.8s; animation-delay: 0.9s; }


/* --------------------------------------------------------------------------
   PART 2: HERO STATS BAR (Scroll Trigger + Underline Hover Anchor)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   PART 1: HERO CONTAINER (Linked to Infinite Scroll Trigger)
   -------------------------------------------------------------------------- */

@keyframes eyebrowSlideInLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes heroTextRevealUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Initially hide all components until the hero element receives .reveal-active */
.hero-content .eyebrow,
.hero-content h1,
.hero-content .lede,
.hero-content .btn-row {
  opacity: 0;
  will-change: transform, opacity;
  /* Smooth exit parameters for going backward */
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-out !important;
}

/* Fire individual animations sequentially only when hero-content has .reveal-active */
.hero-content.reveal-active .eyebrow { 
  animation: eyebrowSlideInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
  animation-delay: 0.1s; 
}
.hero-content.reveal-active h1 { 
  animation: heroTextRevealUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
  animation-delay: 0.3s; 
}
.hero-content.reveal-active .lede { 
  animation: heroTextRevealUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
  animation-delay: 0.45s; 
}
.hero-content.reveal-active .btn-row { 
  animation: heroTextRevealUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards; 
  animation-delay: 0.6s; 
}



/* --------------------------------------------------------------------------
   PART 3: KEY SERVICES HEADING (Scroll Trigger)
   -------------------------------------------------------------------------- */

.sec-head.center {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 1.1s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: transform, opacity;
}
.sec-head.center.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* --------------------------------------------------------------------------
   PART 4: FOUR MOVABLE SERVICE CARDS (Scroll Trigger + Kinetic Multi-Tilt Hover)
   -------------------------------------------------------------------------- */

@keyframes flyInLeft   { 0% { opacity: 0; transform: translateX(-60px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes flyInTop    { 0% { opacity: 0; transform: translateY(-50px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes flyInBottom { 0% { opacity: 0; transform: translateY(50px);  } 100% { opacity: 1; transform: translateY(0); } }
@keyframes flyInRight  { 0% { opacity: 0; transform: translateX(60px);  } 100% { opacity: 1; transform: translateX(0); } }

.grid-4 .icard {
  opacity: 0;
  will-change: transform, opacity;
  /* Premium balance curve to make sliding away look as smooth as flying in */
  transition: opacity 0.5s ease-in-out, 
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.4s ease, 
              border-color 0.4s ease, 
              box-shadow 0.4s ease !important;
}


/* Fire individual flight directions only when parent .grid-4 grid container becomes .reveal-active */
.grid-4.reveal-active .icard:nth-child(1) { animation: flyInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards; animation-delay: 0.1s; }
.grid-4.reveal-active .icard:nth-child(2) { animation: flyInTop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards; animation-delay: 0.25s; }
.grid-4.reveal-active .icard:nth-child(3) { animation: flyInBottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards; animation-delay: 0.4s; }
.grid-4.reveal-active .icard:nth-child(4) { animation: flyInRight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards; animation-delay: 0.55s; }

/* Active Movable Hover Responses */
.grid-4 .icard:nth-child(1):hover { transform: translateY(-10px) rotate(-1deg) scale(1.02) !important; }
.grid-4 .icard:nth-child(2):hover { transform: translateY(-14px) scale(1.02) !important; }
.grid-4 .icard:nth-child(3):hover { transform: translateY(-8px) scale(1.03) !important; }
.grid-4 .icard:nth-child(4):hover { transform: translateY(-10px) rotate(1deg) scale(1.02) !important; }

.grid-4 .icard:hover {
  cursor: pointer !important; background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.3) !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}
.grid-4 .icard:hover .icn svg { transform: scale(1.15) rotate(5deg) !important; transition: transform 0.3s ease !important; }
.grid-4 .icard:hover .more    { transform: translateX(6px) !important; color: #ffffff !important; transition: transform 0.2s ease !important; }


/* --- 2. RIGHT-SIDE TEXT REVEAL UNROLL SEQUENCING --- */

/* ==========================================================================
   SELF-CONTAINED ABOUT TEXT BLOCK ANIMATION (Pure CSS Only)
   ========================================================================== */

/* 1. Define the elegant fade-in and slide-up motion */
@keyframes independentTextReveal {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* 2. Target the block by finding the wrapper parent container */
.wrap > div:has(.tag):has(.checklist) > *,
.wrap > div:has(.tag):has(.checklist) .checklist li {
  opacity: 0; /* Keeps everything hidden until its exact animation cue */
  animation-name: independentTextReveal;
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1); /* Premium decelerating ease */
  animation-fill-mode: forwards; /* Locks the visible state after animating */
}

/* 3. Staggered Delays for a Beautiful Cascading Flow */

/* Step 1: The "Who We Are" tag */
.wrap > div:has(.tag):has(.checklist) .tag { 
  animation-delay: 0.2s; 
}

/* Step 2: The Main Heading */
.wrap > div:has(.tag):has(.checklist) h2 { 
  animation-duration: 0.8s;
  animation-delay: 0.4s; 
}

/* Step 3: The Paragraph Description */
.wrap > div:has(.tag):has(.checklist) p { 
  animation-delay: 0.6s; 
}

/* Step 4: The Checklist Points unrolling one after the other */
.wrap > div:has(.tag):has(.checklist) .checklist li:nth-child(1) { animation-delay: 0.75s; }
.wrap > div:has(.tag):has(.checklist) .checklist li:nth-child(2) { animation-delay: 0.90s; }
.wrap > div:has(.tag):has(.checklist) .checklist li:nth-child(3) { animation-delay: 1.05s; }
.wrap > div:has(.tag):has(.checklist) .checklist li:nth-child(4) { animation-delay: 1.20s; }




-------------


/* ==========================================================================
   SELF-CONTAINED ABOUT TEXT BLOCK (Infinite Scroll-Locked Trigger)
   ========================================================================== */

/* 1. Define the upward unrolling slide keyframe */
@keyframes independentTextReveal {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* 2. Base structural hidden layout - sets the layout exit ease back to normal */
.wrap > div:has(.tag):has(.checklist) > *,
.wrap > div:has(.tag):has(.checklist) .checklist li {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-out !important;
}

/* 3. Assign cascading entries ONLY when this specific block gains .reveal-active on scroll */

/* Step 1: The "Who We Are" tag */
.wrap > div:has(.tag):has(.checklist).reveal-active .tag { 
  animation: independentTextReveal 0.6s ease-out forwards;
  animation-delay: 0.1s; 
}

/* Step 2: The Main Heading */
.wrap > div:has(.tag):has(.checklist).reveal-active h2 { 
  animation: independentTextReveal 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.25s; 
}

/* Step 3: The Paragraph Description */
.wrap > div:has(.tag):has(.checklist).reveal-active p { 
  animation: independentTextReveal 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.4s; 
}

/* Step 4: The Checklist Points unrolling one by one */
.wrap > div:has(.tag):has(.checklist).reveal-active .checklist li:nth-child(1) { animation: independentTextReveal 0.5s ease forwards; animation-delay: 0.55s; }
.wrap > div:has(.tag):has(.checklist).reveal-active .checklist li:nth-child(2) { animation: independentTextReveal 0.5s ease forwards; animation-delay: 0.70s; }
.wrap > div:has(.tag):has(.checklist).reveal-active .checklist li:nth-child(3) { animation: independentTextReveal 0.5s ease forwards; animation-delay: 0.85s; }
.wrap > div:has(.tag):has(.checklist).reveal-active .checklist li:nth-child(4) { animation: independentTextReveal 0.5s ease forwards; animation-delay: 1.00s; }


----------------------------------------------------------------------------
/*-----------------CTA--------------*/
/* =========================================
   CTA BAND SCROLL ANIMATION
   ========================================= */

.cta-band.animate {
    animation: ctaFadeUp 0.8s ease-out both;
}

.cta-band.animate .wrap > div:first-child {
    animation: ctaSlideLeft 0.8s ease-out 0.15s both;
}

.cta-band.animate .modern-form {
    animation: ctaSlideRight 0.8s ease-out 0.3s both;
}

.cta-band.animate .tag {
    animation: ctaFadeIn 0.6s ease-out 0.25s both;
}

.cta-band.animate h2 {
    animation: ctaFadeUp 0.7s ease-out 0.35s both;
}

.cta-band.animate p {
    animation: ctaFadeUp 0.7s ease-out 0.45s both;
}


/* Form fields appear one by one */

.cta-band.animate .wpforms-field {
    animation: ctaFadeUp 0.5s ease-out both;
}

.cta-band.animate .wpforms-field:nth-child(1) {
    animation-delay: 0.4s;
}

.cta-band.animate .wpforms-field:nth-child(2) {
    animation-delay: 0.5s;
}

.cta-band.animate .wpforms-field:nth-child(3) {
    animation-delay: 0.6s;
}

.cta-band.animate .wpforms-field:nth-child(4) {
    animation-delay: 0.7s;
}


/* Request Quote button */

.cta-band.animate .wpforms-submit {
    animation: ctaButtonIn 0.6s ease-out 0.8s both;
}


/* Button hover */

.cta-band .wpforms-submit {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-band .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


/* =========================================
   KEYFRAMES
   ========================================= */

@keyframes ctaFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctaSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ctaSlideRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ctaFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ctaButtonIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .cta-band,
    .cta-band * {
        animation: none !important;
        transition: none !important;
    }
}


/*------------------------------HEO Updates */

/* =========================================
   HERO PREMIUM SCROLL ANIMATION
   ========================================= */

/* Initial states */

.hero-text-container {
    opacity: 0;
}

.hero-art {
    transform: scale(1.08);
    opacity: 0;
}

.hero-seam {
    opacity: 0;
}

.hero-bubble-top {
    transform: translateX(40px) translateY(-20px) scale(0.92);
}

.hero-bubble-bottom {
    transform: translateX(40px) translateY(20px) scale(0.92);
}

.hero-stats-bar {
    opacity: 0;
    transform: translateY(35px);
}


/* =========================================
   ACTIVE STATE
   ========================================= */

.hero-layout.hero-animate .hero-text-container {
    animation: heroTextIn 1s cubic-bezier(.22, .61, .36, 1) forwards;
}


/* Background image */

.hero-layout.hero-animate .hero-art {
    animation: heroImageIn 1.4s cubic-bezier(.22, .61, .36, 1) forwards;
}


/* Seam */

.hero-layout.hero-animate .hero-seam {
    animation: heroSeamFade 0.8s ease-out 0.6s forwards;
}


/* Top bubble */

.hero-layout.hero-animate .hero-bubble-top {
    animation: heroBubbleTop 0.9s cubic-bezier(.22, .61, .36, 1) 0.65s forwards;
}


/* Bottom bubble */

.hero-layout.hero-animate .hero-bubble-bottom {
    animation: heroBubbleBottom 0.9s cubic-bezier(.22, .61, .36, 1) 0.8s forwards;
}


/* Stats card */

.hero-layout.hero-animate .hero-stats-bar {
    animation: heroStatsIn 0.8s cubic-bezier(.22, .61, .36, 1) 1s forwards;
}


/* =========================================
   HERO CONTENT STAGGER
   ========================================= */

.hero-layout.hero-animate .eyebrow {
    animation: heroElementIn 0.65s ease-out 0.25s both;
}

.hero-layout.hero-animate h1 {
    animation: heroElementIn 0.75s ease-out 0.4s both;
}

.hero-layout.hero-animate .lede {
    animation: heroElementIn 0.75s ease-out 0.55s both;
}

.hero-layout.hero-animate .btn-row {
    animation: heroElementIn 0.7s ease-out 0.7s both;
}


/* =========================================
   STATS STAGGER
   ========================================= */

.hero-layout.hero-animate .stats-item {
    animation: statsItemIn 0.6s ease-out both;
}

.hero-layout.hero-animate .stats-item:nth-child(1) {
    animation-delay: 1.15s;
}

.hero-layout.hero-animate .stats-item:nth-child(2) {
    animation-delay: 1.25s;
}

.hero-layout.hero-animate .stats-item:nth-child(3) {
    animation-delay: 1.35s;
}

.hero-layout.hero-animate .stats-item:nth-child(4) {
    animation-delay: 1.45s;
}


/* =========================================
   SUBTLE BUTTON HOVER
   ========================================= */

.hero-layout .btn {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-layout .btn:hover {
    transform: translateY(-3px);
}


/* =========================================
   SUBTLE CONTINUOUS IMAGE MOVEMENT
   ========================================= */

.hero-layout.hero-animate .hero-art {
    animation:
        heroImageIn 1.4s cubic-bezier(.22, .61, .36, 1) forwards,
        heroImageFloat 8s ease-in-out 1.5s infinite alternate;
}


/* =========================================
   KEYFRAMES
   ========================================= */

@keyframes heroTextIn {

    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes heroElementIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes heroImageIn {

    from {
        opacity: 0;
        transform: scale(1.08);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes heroImageFloat {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.025);
    }

}


@keyframes heroSeamFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes heroBubbleTop {

    from {
        opacity: 0;
        transform: translateX(40px) translateY(-20px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }

}


@keyframes heroBubbleBottom {

    from {
        opacity: 0;
        transform: translateX(40px) translateY(20px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }

}


@keyframes heroStatsIn {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes statsItemIn {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-layout,
    .hero-layout *,
    .hero-layout .hero-art {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

}