/* =========================================================
   MEDLIFY AWARDS SECTION
========================================================= */

.awards-section {

    width: 100%;

    background: #ffffff;

    color: #090909;

    overflow: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


.awards-container {

    width: min(1380px, calc(100% - 80px));

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.awards-hero {

    min-height: 555px;

    display: grid;

    grid-template-columns: 39% 61%;

    align-items: center;

    padding: 38px 0 25px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.awards-hero-content {

    position: relative;

    z-index: 10;

    padding-left: 10px;
}


.awards-eyebrow {

    display: block;

    color: #ed1c24;

    font-size: 15px;

    font-weight: 800;

    margin-bottom: 10px;
}


.awards-eyebrow-line {

    width: 38px;

    height: 4px;

    background: #ed1c24;

    border-radius: 10px;

    margin-bottom: 28px;
}


.awards-hero-content h2 {

    margin: 0;

    color: #080808;

    font-size: clamp(50px, 5.1vw, 50px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 900;
}


.awards-hero-content h1 span {

    color: #ed1c24;
}


.awards-doodle {

    color: #ed1c24;

    font-size: 25px;

    font-weight: 900;

    letter-spacing: -5px;

    margin: 16px 0 15px;

    transform: scaleX(1.3);

    transform-origin: left;
}


.awards-hero-content p {

    max-width: 420px;

    margin: 0 0 24px;

    color: #333333;

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   HERO BUTTON
========================================================= */

.awards-work-btn {

    width: 230px;

    height: 50px;

    padding: 0 7px 0 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 30px;

    background: #ed1c24;

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;

    font-weight: 800;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.awards-work-btn i {

    width: 37px;

    height: 37px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    color: #ed1c24;

    transition:
        transform .3s ease;
}


.awards-work-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(237,28,36,.22);
}


.awards-work-btn:hover i {

    transform: rotate(-45deg);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.awards-hero-visual {

    position: relative;

    height: 500px;

    display: flex;

    align-items: flex-end;

    justify-content: center;
}


/* Yellow circle */

.awards-yellow-circle {

    position: absolute;

    width: 245px;

    height: 245px;

    border-radius: 50%;

    background: #ffd000;

    top: 48px;

    right: 115px;

    z-index: 0;
}


/* Arch */

.awards-arch {

    position: absolute;

    width: 590px;

    height: 430px;

    border: 12px solid #d4d1cc;

    border-bottom: 0;

    border-radius: 310px 310px 0 0;

    left: 50%;

    top: 20px;

    transform: translateX(-50%);

    background: #e9e7e3;

    opacity: .95;

    z-index: 1;
}


/* Black shelf */

.awards-hero-visual::after {

    content: "";

    position: absolute;

    z-index: 2;

    width: 680px;

    height: 42px;

    left: 50%;

    bottom: 20px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            #333333,
            #111111
        );

    border-radius: 3px;

    box-shadow:
        0 10px 15px rgba(0,0,0,.15);
}


/* =========================================================
   TROPHIES
========================================================= */

.award-trophy {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1);
}


.award-trophy img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;
}


.trophy-one {

    width: 150px;

    height: 220px;

    left: 8%;

    bottom: 48px;
}


.trophy-two {

    width: 150px;

    height: 230px;

    left: 28%;

    bottom: 47px;
}


.trophy-three {

    width: 145px;

    height: 225px;

    left: 48%;

    bottom: 46px;
}


.trophy-four {

    width: 155px;

    height: 230px;

    left: 67%;

    bottom: 46px;
}


.trophy-five {

    width: 100px;

    height: 180px;

    right: -1%;

    bottom: 45px;
}


.award-trophy:hover {

    transform:
        translateY(-10px)
        rotate(-1deg);
}


/* =========================================================
   DECORATIVE ELEMENTS
========================================================= */

.award-doodle {

    position: absolute;

    z-index: 6;

    color: #111111;

    font-size: 30px;

    pointer-events: none;
}


.doodle-star {

    right: 5%;

    top: 52%;
}


.doodle-spark {

    left: 4%;

    top: 25%;

    font-size: 22px;
}


.doodle-cloud {

    left: 0;

    bottom: 120px;

    font-size: 45px;
}


/* =========================================================
   STATISTICS
========================================================= */

.awards-stats {

    position: relative;

    z-index: 10;

    width: 100%;

    min-height: 145px;

    padding: 24px 30px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    align-items: center;

    background: #111111;

    border-radius: 20px;

    box-sizing: border-box;
}


.award-stat {

    min-height: 90px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0 25px;

    border-right: 1px solid rgba(255,255,255,.3);
}


.award-stat:last-child {

    border-right: none;
}


.award-stat-icon {

    flex: 0 0 auto;

    width: 72px;

    height: 72px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.2);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ed1c24;

    font-size: 28px;

    background:
        radial-gradient(
            circle,
            #222222,
            #111111
        );
}


.award-stat-content strong {

    display: block;

    color: #ed1c24;

    font-size: 38px;

    line-height: 1;

    font-weight: 900;
}


.award-stat-content h3 {

    margin: 3px 0 6px;

    color: #ffffff;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 800;
}


.award-stat-content p {

    margin: 0;

    color: #cfcfcf;

    font-size: 12px;

    line-height: 1.45;
}


/* =========================================================
   RECENT AWARDS
========================================================= */

.recent-awards {

    padding: 22px 0 55px;
}


.recent-awards-heading {

    text-align: center;

    margin-bottom: 22px;
}


.recent-awards-heading h2 {

    margin: 0;

    font-size: 26px;

    line-height: 1.2;

    font-weight: 900;
}


.recent-awards-heading span {

    display: block;

    width: 25px;

    height: 3px;

    background: #ed1c24;

    margin: 8px auto 0;

    border-radius: 5px;
}


/* =========================================================
   AWARD CARDS
========================================================= */

.awards-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 16px;
}


.award-card {

    position: relative;

    min-width: 0;

    height: 174px;

    padding: 12px;

    display: grid;

    grid-template-columns: 48% 52%;

    align-items: center;

    background: #ffffff;

    border-radius: 13px;

    text-decoration: none;

    box-shadow:
        0 4px 18px rgba(0,0,0,.09);

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.award-card::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 4px;

    background: #ed1c24;

    transform:
        scaleX(.25);

    transform-origin: left;

    transition:
        transform .35s ease;
}


.award-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.13);
}


.award-card:hover::after {

    transform: scaleX(1);
}


/* Card image */

.award-card-image {

    width: 100%;

    height: 130px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.award-card-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;
}


/* Card content */

.award-card-info {

    min-width: 0;

    padding-left: 7px;
}


.award-card-info h3 {

    margin: 0 0 12px;

    color: #111111;

    font-size: 12px;

    line-height: 1.25;

    font-weight: 900;
}


.award-card-info p {

    margin: 0 0 10px;

    color: #444444;

    font-size: 10px;

    line-height: 1.35;
}


.award-card-info strong {

    color: #ed1c24;

    font-size: 13px;
}


/* Arrow */

.award-card-arrow {

    position: absolute;

    z-index: 5;

    right: 10px;

    bottom: 9px;

    width: 29px;

    height: 29px;

    border: 1px solid #cccccc;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #111111;

    font-size: 11px;

    text-decoration: none;

    background: #ffffff;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.award-card:hover .award-card-arrow {

    background: #ed1c24;

    color: #ffffff;

    border-color: #ed1c24;

    transform: translateX(2px);
}


/* =========================================================
   VIEW ALL
========================================================= */

.view-all-awards {

    width: 100%;

    margin-top: 18px;

    display: flex;

    align-items: center;

    gap: 22px;
}


.view-all-awards > span {

    flex: 1;

    height: 1px;

    background: #d7d7d7;

    position: relative;
}


.view-all-awards > span::after {

    content: "";

    position: absolute;

    top: -2px;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: #ed1c24;
}


.view-all-awards > span:first-child::after {

    right: 0;
}


.view-all-awards > span:last-child::after {

    left: 0;
}


.view-all-awards a {

    width: 215px;

    height: 42px;

    padding: 0 8px 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: 1px solid #222222;

    border-radius: 30px;

    color: #111111;

    text-decoration: none;

    transition:
        background .3s ease,
        color .3s ease;
}


.view-all-awards a i {

    width: 29px;

    height: 29px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        transform .3s ease;
}


.view-all-awards a:hover {

    background: #ed1c24;

    color: #ffffff;

    border-color: #ed1c24;
}


.view-all-awards a:hover i {

    transform: translateX(4px);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.awards-hero-content,
.awards-hero-visual,
.awards-stats,
.recent-awards-heading,
.award-card {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22,1,.36,1);
}


.awards-section.is-visible
.awards-hero-content {

    opacity: 1;

    transform: translateY(0);
}


.awards-section.is-visible
.awards-hero-visual {

    opacity: 1;

    transform: translateY(0);

    transition-delay: .15s;
}


.awards-section.is-visible
.awards-stats {

    opacity: 1;

    transform: translateY(0);

    transition-delay: .25s;
}


.awards-section.is-visible
.recent-awards-heading {

    opacity: 1;

    transform: translateY(0);

    transition-delay: .35s;
}


.awards-section.is-visible
.award-card {

    opacity: 1;

    transform: translateY(0);
}


.awards-section.is-visible
.award-card:nth-child(1) {
    transition-delay: .40s;
}


.awards-section.is-visible
.award-card:nth-child(2) {
    transition-delay: .48s;
}


.awards-section.is-visible
.award-card:nth-child(3) {
    transition-delay: .56s;
}


.awards-section.is-visible
.award-card:nth-child(4) {
    transition-delay: .64s;
}


.awards-section.is-visible
.award-card:nth-child(5) {
    transition-delay: .72s;
}


.awards-section.is-visible
.award-card:nth-child(6) {
    transition-delay: .80s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .awards-container {

        width: calc(100% - 45px);
    }


    .awards-hero {

        grid-template-columns: 42% 58%;
    }


    .awards-hero-content h1 {

        font-size: 54px;
    }


    .awards-hero-content p {

        font-size: 13px;
    }


    .awards-arch {

        width: 470px;

        height: 370px;
    }


    .awards-hero-visual::after {

        width: 550px;
    }


    .trophy-one {

        width: 115px;
    }


    .trophy-two {

        width: 115px;
    }


    .trophy-three {

        width: 115px;
    }


    .trophy-four {

        width: 120px;
    }


    .trophy-five {

        width: 80px;
    }


    .award-stat {

        padding: 0 12px;

        gap: 10px;
    }


    .award-stat-icon {

        width: 58px;

        height: 58px;

        font-size: 22px;
    }


    .award-stat-content strong {

        font-size: 30px;
    }


    .awards-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .awards-container {

        width: calc(100% - 24px);
    }


    /* HERO */

    .awards-hero {

        display: flex;

        flex-direction: column;

        min-height: auto;

        padding: 40px 5px 25px;

        align-items: stretch;
    }


    .awards-hero-content {

        padding: 0 8px;

        order: 1;
    }


    .awards-eyebrow {

        font-size: 12px;
    }


    .awards-eyebrow-line {

        margin-bottom: 20px;
    }


    .awards-hero-content h1 {

        font-size: clamp(42px, 12vw, 60px);

        letter-spacing: -2px;
    }


    .awards-doodle {

        margin: 12px 0;
    }


    .awards-hero-content p {

        max-width: 100%;

        font-size: 13px;

        line-height: 1.55;

        margin-bottom: 20px;
    }


    .awards-work-btn {

        width: 205px;

        height: 45px;

        font-size: 13px;
    }


    /* HERO VISUAL */

    .awards-hero-visual {

        order: 2;

        width: 100%;

        height: 340px;

        margin-top: 25px;
    }


    .awards-arch {

        width: 90%;

        height: 260px;

        border-width: 8px;

        top: 15px;
    }


    .awards-yellow-circle {

        width: 150px;

        height: 150px;

        right: 5%;

        top: 35px;
    }


    .awards-hero-visual::after {

        width: 95%;

        height: 30px;

        bottom: 20px;
    }


    .award-trophy img {

        object-fit: contain;
    }


    .trophy-one {

        width: 75px;

        height: 130px;

        left: 6%;

        bottom: 40px;
    }


    .trophy-two {

        width: 78px;

        height: 135px;

        left: 25%;

        bottom: 39px;
    }


    .trophy-three {

        width: 78px;

        height: 135px;

        left: 44%;

        bottom: 39px;
    }


    .trophy-four {

        width: 82px;

        height: 135px;

        left: 64%;

        bottom: 39px;
    }


    .trophy-five {

        width: 60px;

        height: 110px;

        right: 0;

        bottom: 40px;
    }


    /* STATS */

    .awards-stats {

        grid-template-columns:
            1fr 1fr;

        padding: 18px 10px;

        border-radius: 16px;

        gap: 15px 0;
    }


    .award-stat {

        min-height: 95px;

        padding: 8px 10px;

        gap: 10px;

        border-right: none;

    }


    .award-stat:nth-child(odd) {

        border-right:
            1px solid rgba(255,255,255,.25);
    }


    .award-stat-icon {

        width: 45px;

        height: 45px;

        font-size: 17px;
    }


    .award-stat-content strong {

        font-size: 25px;
    }


    .award-stat-content h3 {

        font-size: 11px;
    }


    .award-stat-content p {

        font-size: 9px;
    }


    /* RECENT */

    .recent-awards {

        padding-top: 28px;

        padding-bottom: 35px;
    }


    .recent-awards-heading h2 {

        font-size: 22px;
    }


    /* CARDS */

    .awards-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }


    .award-card {

        height: 165px;

        padding: 8px;

        grid-template-columns:
            44% 56%;

        border-radius: 11px;
    }


    .award-card-image {

        height: 115px;
    }


    .award-card-info {

        padding-left: 4px;
    }


    .award-card-info h3 {

        font-size: 10px;

        margin-bottom: 8px;
    }


    .award-card-info p {

        font-size: 8px;

        margin-bottom: 7px;
    }


    .award-card-info strong {

        font-size: 11px;
    }


    .award-card-arrow {

        width: 25px;

        height: 25px;

        right: 7px;

        bottom: 7px;

        font-size: 9px;
    }


    /* VIEW ALL */

    .view-all-awards {

        gap: 10px;

        margin-top: 20px;
    }


    .view-all-awards a {

        width: 175px;

        height: 39px;

        font-size: 12px;

        padding-left: 15px;
    }


    .view-all-awards a i {

        width: 27px;

        height: 27px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .awards-hero-content h1 {

        font-size: 42px;
    }


    .awards-hero-visual {

        height: 300px;
    }


    .awards-arch {

        height: 225px;
    }


    .trophy-one {

        width: 62px;
    }


    .trophy-two {

        width: 65px;
    }


    .trophy-three {

        width: 65px;
    }


    .trophy-four {

        width: 68px;
    }


    .trophy-five {

        width: 50px;
    }


    .award-stat-content strong {

        font-size: 22px;
    }


    .award-stat-content h3 {

        font-size: 10px;
    }


    .award-stat-content p {

        font-size: 8px;
    }


    .award-card {

        height: 150px;
    }


    .award-card-image {

        height: 100px;
    }


    .award-card-info h3 {

        font-size: 9px;
    }

}