/**
 * We Root To Rise — Home Hero
 * Ported from we_root_to_rise-design with LogicLearn theme variables.
 */

@font-face {
    font-family: "Tan Songbird";
    src: url("../fonts/wrtr/TAN-SONGBIRD.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cinzel";
    src: url("../fonts/wrtr/Cinzel-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gabarito";
    src: url("../fonts/wrtr/Gabarito-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

.wrtr-hero {
    --wrtr-primary: var(--theme, #2D3F26);
    --wrtr-secondary: var(--theme-2, #C66A4E);
    --wrtr-tertiary: var(--theme-3, #C0AC87);
    --wrtr-off-white: #F2EEE4;
    --wrtr-grey: #888888;
    --wrtr-white: #FFFFFF;
    --wrtr-font-display: "Tan Songbird", Georgia, serif;
    --wrtr-font-heading: "Cinzel", "Times New Roman", serif;
    --wrtr-font-body: "Gabarito", "Century Gothic", sans-serif;

    position: relative;
    min-height: 100vh;
    overflow: hidden;
    font-family: var(--wrtr-font-body);
    background: var(--wrtr-off-white);
}

.wrtr-hero h1,
.wrtr-hero h2,
.wrtr-hero h3,
.wrtr-hero h4,
.wrtr-hero p,
.wrtr-hero a {
    font-family: inherit;
}

.wrtr-hero .wow {
    visibility: visible;
}

.wrtr-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* transform: scaleX(-1); */
}

.wrtr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(474.32deg, #F2EEE4 14%, rgba(242, 238, 228, 0.85) 32%, rgba(242, 237, 228, 0) 48%);
    z-index: 1;
    pointer-events: none;
}

.wrtr-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 7rem 1.25rem 3.5rem;
}

@media (min-width: 640px) {
    .wrtr-hero-container {
        padding: 8rem 2rem 4rem;
    }
}

@media (min-width: 1024px) {
    .wrtr-hero-container {
        padding: 9rem 3rem 5rem;
    }
}

@media (min-width: 1280px) {
    .wrtr-hero-container {
        padding-bottom: 6rem;
    }
}

.wrtr-hero-content {
    width: 100%;
    max-width: 620px;
}

@media (min-width: 1024px) {
    .wrtr-hero-content {
        max-width: 680px;
    }
}

.wrtr-hero-title {
    font-family: var(--wrtr-font-display);
    color: var(--wrtr-tertiary);
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 1rem;
    font-weight: 400;
}

@media (min-width: 640px) {
    .wrtr-hero-title {
        font-size: 1.125rem;
    }
}

.wrtr-hero-intro {
    color: var(--wrtr-grey);
    font-size: 16px;
    line-height: 1.25;
    margin: 0.5rem 0 1.25rem;
}

@media (min-width: 640px) {
    .wrtr-hero-intro {
        font-size: 24px;
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .wrtr-hero-intro {
        margin-bottom: 2.25rem;
    }
}

.wrtr-hero-intro .text-primary,
.wrtr-hero .text-primary {
    color: var(--wrtr-primary) !important;
}

.wrtr-hero-lines {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0.5rem;
}

.wrtr-hero-line {
    display: flex;
    justify-content: space-between;
    max-width: 200px;
}

.wrtr-hero-line:nth-child(2) {
    max-width: 180px;
}

.wrtr-hero-line:nth-child(3) {
    max-width: 350px;
}

.wrtr-hero-line:nth-child(4) {
    max-width: 260px;
}

@media (min-width: 768px) {
    .wrtr-hero-line {
        max-width: 300px;
    }

    .wrtr-hero-line:nth-child(2) {
        max-width: 294px;
    }

    .wrtr-hero-line:nth-child(3) {
        max-width: 503px;
    }

    .wrtr-hero-line:nth-child(4) {
        max-width: 410px;
    }
}

.wrtr-hero-word {
    font-family: var(--wrtr-font-heading);
    color: var(--wrtr-primary);
    font-weight: 700;
    line-height: 0.9;
    font-size: 30px;
    letter-spacing: -0.04em;
}

@media (min-width: 640px) {
    .wrtr-hero-word {
        font-size: 50px;
    }
}

.wrtr-hero-phrase {
    font-family: var(--wrtr-font-body);
    color: var(--wrtr-grey);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.02em;
    align-self: center;
}

@media (min-width: 640px) {
    .wrtr-hero-phrase {
        font-size: 24px;
    }
}

.wrtr-hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.75rem 0;
}

@media (min-width: 640px) {
    .wrtr-hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
        margin: 2.25rem 0;
    }
}

@media (min-width: 1024px) {
    .wrtr-hero-features {
        gap: 1.75rem;
        margin: 2.75rem 0;
    }
}

.wrtr-hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.wrtr-hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 9999px;
    background: #E0DACB;
}

@media (min-width: 640px) {
    .wrtr-hero-feature-icon {
        width: 76px;
        height: 76px;
    }
}

@media (min-width: 1024px) {
    .wrtr-hero-feature-icon {
        width: 84px;
        height: 84px;
    }
}

.wrtr-hero-feature-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

@media (min-width: 640px) {
    .wrtr-hero-feature-icon img {
        width: 38px;
        height: 38px;
    }
}

@media (min-width: 1024px) {
    .wrtr-hero-feature-icon img {
        width: 42px;
        height: 42px;
    }
}

.wrtr-hero-feature-text {
    margin-top: 0.5rem;
}

.wrtr-hero-feature-title {
    font-family: var(--wrtr-font-heading);
    color: var(--wrtr-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin: 0 0 0.35rem;
}

@media (min-width: 640px) {
    .wrtr-hero-feature-title {
        font-size: 24px;
    }
}

.wrtr-hero-feature-desc {
    color: var(--wrtr-grey);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}

.wrtr-hero-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .wrtr-hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
}

.wrtr-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--wrtr-font-body);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 150ms ease, color 300ms ease, border-color 300ms ease, background-color 400ms ease;
}

@media (min-width: 640px) {
    .wrtr-btn {
        width: auto;
        font-size: 16px;
        padding: 1rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .wrtr-btn {
        font-size: 18px;
        padding: 18px 35px;
    }
}

.wrtr-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    background-color: var(--wrtr-secondary);
    transition: width 500ms cubic-bezier(0, 0, 0.2, 1), height 500ms cubic-bezier(0, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.wrtr-btn:hover::before {
    width: 14em;
    height: 14em;
}

.wrtr-btn:hover {
    color: #FFFFFF !important;
    border-color: var(--wrtr-secondary);
}

.wrtr-btn:active {
    transform: scale(0.97);
}

.wrtr-btn-label {
    position: relative;
    z-index: 2;
}

.wrtr-btn-secondary {
    background-color: var(--wrtr-primary);
    color: var(--wrtr-white) !important;
    border-color: var(--wrtr-primary);
}

.wrtr-btn-primary {
    background-color: var(--wrtr-off-white);
    color: var(--wrtr-primary) !important;
    border-color: var(--wrtr-primary);
}

.wrtr-btn-secondary:hover,
.wrtr-btn-primary:hover {
    background-color: var(--wrtr-secondary);
    color: #FFFFFF !important;
    border-color: var(--wrtr-secondary);
}
