/* Design: html-design/index.html */
/* =========================================================
   MAIN HERO
========================================================= */

.realis-hero-section {
    position: relative;
    width: 100%;
    min-height: 720px;

    display: flex;
    align-items: center;

    background: #0e4552;

    overflow: hidden;

    padding: 90px 0;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.realis-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.realis-hero-glow-one {
    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    background: rgba(213,231,237,.08);

    filter: blur(10px);
}

.realis-hero-glow-two {
    width: 380px;
    height: 380px;

    bottom: -220px;
    left: -150px;

    background: rgba(213,231,237,.06);
}


/* =========================================================
   TEXT CONTENT
========================================================= */

.realis-hero-content {
    position: relative;
    z-index: 5;
}


.realis-hero-kicker {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    color: #d5e7ed;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;

    margin-bottom: 20px;
}

.realis-hero-kicker::before {
    content: "";

    width: 35px;
    height: 2px;

    background: #d5e7ed;
}


.realis-hero-content h1 {
    max-width: 650px;

    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(46px, 5vw, 72px);

    font-weight: 800;

    line-height: 1.04;

    letter-spacing: -2.5px;
}

.realis-hero-content h1 span {
    color: #d5e7ed;
}


.realis-hero-text {
    max-width: 570px;

    margin: 0 0 32px;

    color: rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.realis-hero-buttons {
    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


.realis-hero-btn {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 23px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: all .35s ease;
}


/* Primary */

.realis-hero-btn-primary {
    background: #d5e7ed;

    color: #0e4552;
}

.realis-hero-btn-primary:hover {
    background: #ffffff;

    color: #0e4552;

    transform: translateY(-3px);
}


.realis-hero-btn-primary i {
    transition: transform .3s ease;
}

.realis-hero-btn-primary:hover i {
    transform: translate(3px,-3px);
}


/* Outline */

.realis-hero-btn-outline {
    border: 1px solid rgba(213,231,237,.45);

    color: #d5e7ed;

    background: transparent;
}

.realis-hero-btn-outline:hover {
    background: rgba(213,231,237,.1);

    border-color: #d5e7ed;

    color: #ffffff;

    transform: translateY(-3px);
}


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

.realis-hero-stats {
    display: flex;

    align-items: center;

    gap: 35px;

    margin-top: 48px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.14);
}


.realis-hero-stat {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.realis-hero-stat strong {
    color: #d5e7ed;

    font-size: 17px;

    font-weight: 800;
}

.realis-hero-stat span {
    color: rgba(255,255,255,.52);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .7px;

    text-transform: uppercase;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.realis-hero-visual {
    position: relative;

    width: 100%;

    height: 560px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   BACK MAGAZINE CARD
========================================================= */

.realis-hero-back-card {
    position: absolute;

    width: 315px;
    height: 420px;

    right: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(213,231,237,.08);

    border: 1px solid rgba(213,231,237,.15);

    transform: rotate(8deg);

    color: rgba(213,231,237,.2);

    font-size: 55px;

    font-weight: 900;

    letter-spacing: -3px;
}


/* =========================================================
   MAIN MAGAZINE
========================================================= */

.realis-hero-magazine {
    position: relative;

    z-index: 3;

    width: 330px;
    height: 470px;

    overflow: hidden;

    border-radius: 14px;

    background: #d5e7ed;

    box-shadow:
        0 35px 70px rgba(0,0,0,.35),
        0 10px 25px rgba(0,0,0,.15);

    transform: rotate(-5deg);

    transition: transform .5s ease;
}


.realis-hero-magazine:hover {
    transform: rotate(0deg) translateY(-8px);
}


.realis-hero-magazine img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition: transform .6s ease;
}

.realis-hero-magazine:hover img {
    transform: scale(1.04);
}


/* =========================================================
   MAGAZINE OVERLAY
========================================================= */

.realis-hero-magazine-overlay {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 22px;

    padding: 15px;

    background: rgba(14,69,82,.88);

    backdrop-filter: blur(8px);

    border-radius: 10px;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.realis-hero-magazine-overlay span {
    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 1px;
}

.realis-hero-magazine-overlay small {
    color: #d5e7ed;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   FLOATING CARD
========================================================= */

.realis-hero-floating-card {
    position: absolute;

    z-index: 5;

    left: 5px;
    bottom: 55px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 13px 17px;

    background: #ffffff;

    border-radius: 11px;

    box-shadow: 0 15px 35px rgba(0,0,0,.2);

    animation: realisHeroFloat 4s ease-in-out infinite;
}


.realis-hero-floating-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #d5e7ed;

    color: #0e4552;

    font-size: 16px;
}


.realis-hero-floating-card strong {
    display: block;

    color: #0e4552;

    font-size: 12px;

    font-weight: 800;
}

.realis-hero-floating-card span {
    display: block;

    color: #6d7c80;

    font-size: 10px;
}


@keyframes realisHeroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* =========================================================
   DECORATIVE CIRCLE
========================================================= */

.realis-hero-circle {
    position: absolute;

    z-index: 1;

    width: 430px;
    height: 430px;

    right: -40px;
    top: 45px;

    border: 1px solid rgba(213,231,237,.15);

    border-radius: 50%;
}

.realis-hero-circle::before {
    content: "";

    position: absolute;

    inset: 35px;

    border: 1px solid rgba(213,231,237,.08);

    border-radius: 50%;
}


/* =========================================================
   TABLET
   IMAGE FIRST
========================================================= */

@media (max-width: 991.98px) {

    .realis-hero-section {
        min-height: auto;

        padding: 65px 0 70px;
    }


    /* Main row */

    .realis-hero-section .row {
        display: flex;

        flex-direction: column;

        gap: 10px !important;
    }


    /* IMAGE FIRST */

    .realis-hero-image-column {
        order: 1;

        width: 100%;
    }


    /* TEXT SECOND */

    .realis-hero-text-column {
        order: 2;

        width: 100%;
    }


    /* Visual */

    .realis-hero-visual {
        height: 520px;

        margin: 0 auto 10px;
    }


    /* Text */

    .realis-hero-content {
        text-align: center;
    }


    .realis-hero-kicker {
        justify-content: center;
    }


    .realis-hero-content h1,
    .realis-hero-text {
        margin-left: auto;
        margin-right: auto;
    }


    .realis-hero-buttons {
        justify-content: center;
    }


    .realis-hero-stats {
        justify-content: center;
    }

}


/* =========================================================
   MOBILE
   IMAGE ON TOP
========================================================= */

@media (max-width: 767.98px) {

    .realis-hero-section {
        padding: 35px 0 55px;
    }


    .realis-hero-section .row {
        gap: 0 !important;
    }


    /* Image */

    .realis-hero-image-column {
        margin-bottom: 5px;
    }


    .realis-hero-visual {
        height: 450px;

        margin-top: 0;
        margin-bottom: 0;
    }


    /* Magazine */

    .realis-hero-magazine {
        width: 265px;

        height: 385px;
    }


    /* Back Card */

    .realis-hero-back-card {
        width: 250px;

        height: 350px;

        right: 35px;
    }


    /* Floating Card */

    .realis-hero-floating-card {
        left: 0;

        bottom: 25px;
    }


    /* Circle */

    .realis-hero-circle {
        width: 330px;

        height: 330px;

        right: -45px;

        top: 70px;
    }


    /* Content */

    .realis-hero-content {
        padding-top: 5px;
    }


    .realis-hero-content h1 {
        font-size: 43px;

        line-height: 1.08;

        letter-spacing: -1.5px;

        margin-bottom: 20px;
    }


    .realis-hero-text {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 25px;
    }


    /* Buttons */

    .realis-hero-buttons {
        flex-direction: column;

        width: 100%;

        gap: 10px;
    }


    .realis-hero-btn {
        width: 100%;
    }


    /* Stats */

    .realis-hero-stats {
        justify-content: center;

        gap: 18px;

        flex-wrap: wrap;

        margin-top: 35px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .realis-hero-section {
        padding: 25px 0 45px;
    }


    .realis-hero-visual {
        height: 400px;
    }


    .realis-hero-magazine {
        width: 225px;

        height: 325px;
    }


    .realis-hero-back-card {
        width: 215px;

        height: 295px;

        right: 22px;
    }


    .realis-hero-content h1 {
        font-size: 37px;

        letter-spacing: -1.2px;
    }


    .realis-hero-kicker {
        font-size: 10px;

        letter-spacing: 1.8px;
    }


    .realis-hero-kicker::before {
        width: 25px;
    }


    .realis-hero-text {
        font-size: 13px;
    }


    .realis-hero-stats {
        gap: 12px;

        margin-top: 30px;
    }


    .realis-hero-stat strong {
        font-size: 14px;
    }


    .realis-hero-stat span {
        font-size: 8px;
    }


    .realis-hero-floating-card {
        padding: 10px 12px;
    }


    .realis-hero-floating-icon {
        width: 32px;

        height: 32px;

        font-size: 14px;
    }


    .realis-hero-floating-card strong {
        font-size: 11px;
    }


    .realis-hero-floating-card span {
        font-size: 9px;
    }

}
