:root {
    --blue: #0000F5;
    --yellow: #ffaa00;
    --orange: #ff8800;
    --grey: #ececec;
    
    --primary: var(--blue);

    --cta-text: var(--yellow);
    --cta-button-bg: var(--yellow);
    --cta-button-bg-hover: var(--orange);

    --qb-wrapper-bg: #f5f5f5;
    --qb-bg: var(--qb-wrapper-bg);
    --qb-title: inherit;
}

html,body {
    font-family: 'Inter', sans-serif;
}

strong {
    font-weight: 700;
}

video {
    width: 100%;
}

.text-cta {
    color: var(--cta-text) !important;
}

.section-title {
    font-family: 'Roboto Slab', sans-serif;
}
.section-title-lg {
    font-size: clamp(1.25rem, 4vw, 2.5rem);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    /*width: 100%;*/
    padding: 0.75rem 1.5em;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    background-color: var(--cta-button-bg);
    border-radius: 0.5rem;
    /*box-shadow: 0 3px 1px rgba(0,0,0,0.125);*/
    /*text-shadow: 0 1px rgba(255,255,255,0.75);*/
    transition: 100ms ease-in-out;
    animation: pulse 1.8s infinite both;
}
.cta-button:hover {
    color: #fff;
    background-color: var(--cta-button-bg-hover);
    box-shadow: 0 6px 8px rgba(0,0,0,0.25);
    text-shadow: none;
    transform: scale(1.05) translateY(-4px);
    animation: 0;
}
.cta-button:active {
    box-shadow: none;
    transform: translateY(0);
}
@media (min-width: 768px) {
    .cta-button {
        padding: 1rem 1.5em;
        font-size: 1.5rem;
    }
}
.cta-button-primary {
    color: white !important;
    background-color: var(--blue) !important;
}

/* Header */
header {
    border: 0;
    background: #fff;
}
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
}
header .container {
    max-width: 992px;
}
.top-header {
    padding: 1rem;
    color: #fff;
    font-size: 1.125rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 700;
    line-height: normal;
    background-color: var(--blue);
}
.top-header .five-stars {
    display: inline-block;
    margin-top: 0.25rem;
    height: 0.75rem;
    vertical-align: baseline;
}
@media (min-width: 576px) {
    .top-header .five-stars {
        position: relative;
        top: -2px;
        margin-top: 0;
        margin-left: 0.25rem;
        height: 1rem;
    }
}
.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.branding,
.header-cta {
    max-width: 45%;
    flex: 1;
}
.branding > a {
    display: inline-block;
    max-width: 240px;
}
.header-cta .cta-button {
    /*display: block;*/
    /*width: 100%;*/
    padding: 0.5rem 1.5rem;
    color: #fff;
    font-size: 0.875rem;
    animation: pulse 1.8s infinite both;
}
@media (min-width: 576px) {
    .header-cta .cta-button {
        padding: 0.75rem 1rem;
    }
}
@media (min-width: 768px) {
    .header-cta .cta-button {
        padding: 1rem;
        font-size: 1.25rem;
    }
}

/* Main */
.content {
    max-width: 1040px;
    margin: auto;
}

/* Headline */
.headline {
    padding: 2rem 0;
    background-color: var(--grey);
}
.headline h1 {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: clamp(1.25rem, 4vw, 2.5rem);
    line-height: 1.2;
}
.headline h1 span {
    color: var(--cta-text);
}
@media (min-width: 992px) {
    .headline {
        padding: 2rem;
    }
}
.headline .video-container,
.headline .media-container {
    padding: 0;
    background: #fff;
}
.video-banner {
    padding: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    background: var(--primary);
}

/* Icon list */
.icon-list {
    display: grid;
    grid-template-columns: 1fr;
}
.icon-list_item {
    display: flex;
    align-items: center;
    margin-bottom: 0.625rem;
}
.icon-list_item .bullet {
    height: 24px;
    width: auto;
    margin-right: 0.625rem;
}
.icon-list_item .text {
    margin: 0;
}
@media (min-width: 576px) {
    .icon-list {
        grid-template-columns: 1fr 1fr;
    }
}


/* Icon list for headline */
.headline .icon-list {
    padding: 1rem 1.2rem;
}
.headline .icon-list_item {
    font-size: 1.25rem;
}
@media (min-width: 576px) {
    .headline .icon-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 768px) {
    .headline .icon-list {
        padding: 1.25rem 2rem;
    }
}

/* Section: How it Works */
.hiw {
    background: var(--grey);
    padding-bottom: 1rem;
}
.hiw_title {
    max-width: 420px;
    margin: 0 auto 1rem;
    font-size: 2em;
    font-size: 1.875em;
    font-size: clamp(1.875em, 2vw, 2.5em);
    font-weight: 700;
    text-align: center;
}
.hiw_text {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1.125rem;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.4;
}
.hiw_content {
    max-width: 920px;
    margin: 0 auto;
}
.hiw_content .item {
    position: relative;
    max-width: 95%;
    margin: 0 auto 2rem;
    padding: 2.75rem 1rem 1rem;
    background: #fff;
    box-shadow: 0 0 29px 2px rgba(36,48,59,0.25)
}
.hiw_content .item-label {
    position: absolute;
    top: 0;
    right: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100px;
    color: #fff;
    font-weight: 700;
    background: var(--primary);
}
.hiw_content .item-title {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-size: clamp(1.2em, 4vw, 1.5em);
    font-weight: 700;
}
.hiw_content .item-title::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' fill='%230000f5' viewBox='0 0 512 512' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' xmlns:v='https://vecta.io/nano'%3E%3Cpath d='M370.578 219.036L254.512 102.971c-10.497-10.497-10.497-27.542 0-38.038l18.056-18.056c10.497-10.497 27.541-10.497 38.038 0l166.855 166.856c.907.699 1.779 1.464 2.611 2.295l18.056 18.056c5.288 5.289 7.912 12.238 7.871 19.176.041 6.938-2.584 13.889-7.871 19.176l-18.056 18.056c-.831.831-1.704 1.597-2.611 2.296L311.354 458.896c-10.497 10.497-27.541 10.497-38.037 0l-18.056-18.055c-10.497-10.498-10.497-27.542 0-38.038l104.437-104.438h-326.8C18.052 298.365 6 286.313 6 271.468v-25.535c0-14.845 12.053-26.897 26.897-26.897h337.68z'/%3E%3C/svg%3E");
    display: block;
    width: 0.875em;
    height: 0.95em;
    margin-right: 0.5rem;
}
.hiw_content .item-text {
    width: 100%;
    padding: 1.25rem 1.5rem;
}
.hiw_content .cta-link {
    margin-top: 1.5rem;
    text-align: right;
}
@media (min-width: 992px) {
    .hiw {
        background: transparent;
        border: 3px solid var(--primary);
    }
    .hiw_title {
        color: var(--primary);
        background: #fff;
        margin: -0.725em auto 1rem;
    }
    .hiw_content .item {
        display: flex;
        max-width: 920px;
        padding: 0.875rem 0 0.875rem 0.875rem;
    }
    .hiw_content .item-text {
        padding: 30px 40px;
    }
    .hiw_content video {
        max-width: 392px;
    }
}

/* Section: Guild Quality */
.guild-quality-content .title {
    display: flex;
    align-items: center;
}
.guild-quality-content h2 {
    width: 100%;
    font-size: 1.875em;
    line-height: 1.1;
}

/* Quizbox */
.quizbox-wrapper {
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    text-align: center;
    background-color: var(--qb-wrapper-bg);
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}
.quizbox-content {
    text-align: left;
}
.quizbox-title {
    color: var(--qb-title);
    font-size: 1.2rem;
    font-size: clamp(1.2rem, 2vw, 2.25rem);
    font-weight: 700;
    text-transform: capitalize;
}
.quizbox-content {
    padding: 1rem;
    background-color: var(--qb-bg);
    border-radius: 0.25rem;
}
.error-message {
    color: var(--bs-danger);
}

/* Form steps */
.form-step {
    display: none;
    opacity: 0;
}
.form-step.active-step {
    display: block;
    opacity: 1;
    animation: fadeIn 750ms;
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
.survey-content button, 
.survey-content .btn { 
    min-width: 110px !important; 
}
.survey-content button[type="submit"] {
    min-width: 140px !important;
}

/* Answer buttons */
.quizbox .answer-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 0.3rem;
    cursor: pointer;
    transition: 200ms ease-in-out;
}
.quizbox .answer-button.icon-inline {
    padding: 0.5rem 1rem;
}
.quizbox .answer-button.button-inline:not(.icon-inline) {
    justify-content: center;
}
.quizbox .answer-button:hover {
    background-image: var(--qb-button-hover-bg);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translate3d(0,0,0) scale3d(1.075,1.075,1) rotate(0deg);
    z-index: 10;
}
.quizbox .answer-button:active {
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: none;
    transform: none;
}
.quizbox .answer-button .label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    line-height: normal;
}
.quizbox .answer-button .label-image {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
}
.quizbox .answer-button.icon-inline .label-image {
    width: 32px;
    height: 32px;
}
.quizbox .answer-button .label-image img {
    width: 100%;
    height: auto;
}
.quizbox .answer-button .label-image + .label {
    margin-left: 1rem;
    text-align: left;
}
@media (min-width: 576px) {
    .quizbox .answer-button .label {
        font-size: 1.125rem;
    }
}
@media (min-width: 768px) {
    .quizbox .answer-button:not(.button-inline) {
        justify-content: center;
    }
    .quizbox .answer-button:not(.button-inline) .label-image {
        flex: 0 0 48px;
    }
    .quizbox .answer-button:not(.button-inline) {
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
    .quizbox .answer-button:not(.button-inline) .label-image + .label {
        margin-left: 0;
        font-size: 0.75rem;
        text-align: center;
    }
}

/* Partner brands */
.partner_brands {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.partner_brands .logo {
    width: 45%;
    padding: 0.5rem;
}
@media (min-width: 768px) {
    .partner_brands .logo {
        width: 20%;
    }
}

/* ========================== */
/* Media                      */
/* ========================== */
/* Slider */
.carousel-item img {
    height: auto;
}
[class^="carousel-control-"],
[class^="carousel-control-"]:hover {
    opacity: 1;
}
[class^="carousel-control-"] .cta-button {
    width: 100%;
    padding: 0.625rem;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .carousel-control-prev {
        left: -2rem;
    }
    .carousel-control-next {
        right: -2rem;
    }
}

/* Video */
.media .video-container {
    padding: 1.5rem;
    background: var(--primary);
}
@media (min-width: 992px) {
    .video-container {
        padding: 2rem;
    }
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-bottom: calc(var(--aspect-ratio, .5625) * 100%);
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Reviews/Testimonials */
.review-card {
    box-shadow: 0 0 29px 2px rgba(36,48,59,0.25)
}
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.review-header-right,
.review-header-left {
    display: flex;
    align-items: center;
}
.review-header-right {
    max-width: 300px;
}
.review-author-image {
    width: 64px;
    margin-right: 1rem;
}
.review-author-meta {
    font-size: 18px;
    font-weight: 700;
}
.review-score {
    display: block;
    max-width: 96px;
}
.best-company,
.verified-customer {
    width: 100%;
    max-width: 120px;
}
.best-company.mobile {
    max-width: 150px;
}
@media (min-width: 768px) {
    .best-company.mobile {
        display: none;
    }
}

/* Image block */
.image-content-block {
    font-size: 1.125rem;
    text-align: center;
}
.image-content-block img {
    display: block;
    width: 100%;
    height: auto;
}
.image-content-block h3 {
    font-size: 1.4rem;
    font-weight: 900;
    padding-left: 0.25em;
    padding-left: 0.25em;
}
.ezsteps-image {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.cta-bar {
    padding: 1.2rem;
    font-size: clamp(1.2em, 4vw, 1.875em);
    text-align: center;
    background: var(--primary);
}
.cta-bar > a {
    display: block;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.cta-bar > a:hover {
    color: var(--cta-text);
}
.cta-bar + footer {
    margin-top: 0;
}