/* =========================================================
   RATE MY WORKTERM — HOMEPAGE
   Replaces the existing homepage CSS
========================================================= */

:root {
    --blue: #1557e8;
    --blue-light: #eaf2ff;
    --text: #10182b;
    --muted: #526078;
    --border: #e1e7f0;
}


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

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;

    background-image: url("/static/theme/assets/img/hero.WebP");
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    padding: 55px 0 120px;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align:center;
    width:100%;
    transform: translateY(15px);
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2.5px;
    margin: 0 auto 10px;
    max-width: 860px;
}

.hero-title span {
    display: inline-block;

    color: var(--blue);

    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;

    position: relative;
}



/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 560px;
    margin: 0 auto 20px;
    font-size: clamp(0.9rem, 1.5vw, 1.075rem);
    line-height: 1.72;
    font-weight: 450;
    letter-spacing:0.25px;
}


/* =========================================================
   SEARCH
========================================================= */

.hero-search {
    width: 100%;
    max-width: 885px;

    margin: 0 auto;

    padding: 11px;

    background: #ffffff;

    border: 1px solid #e1e6ef;
    border-radius: 22px;

    box-shadow:
        0 12px 35px rgba(30, 55, 90, .10),
        0 3px 10px rgba(30, 55, 90, .04);
}

.hero-search .input-group {
    min-height: 62px;
}

.hero-search .input-group-text {
    border: 0;
    background: transparent;

    padding-left: 25px;
    padding-right: 10px;

    color: #111827;
}

.hero-search .input-group-text i {
    font-size: 1.7rem !important;
}

.hero-search input {
    border: 0;
    outline: 0;
    box-shadow: none !important;

    color: #26344d;

    font-size: 1.05rem;
    font-weight: 500;

    padding-left: 8px;
}

.hero-search input::placeholder {
    color: #526078;
    opacity: 1;
}

.hero-search input:focus {
    box-shadow: none !important;
}

.search-button {
    min-width: 195px;

    border: 0 !important;
    border-radius: 15px !important;

    background: var(--blue) !important;
    color: white !important;

    padding: 14px 28px;

    font-size: 1.05rem;
    font-weight: 700;

    box-shadow: none !important;

    transition: .2s ease;
}

.search-button:hover {
    background: #0d46c9 !important;
    transform: translateY(-1px);
}


/* =========================================================
   EXPLORE LINK
========================================================= */

.explore-option {
    margin-top: 25px !important;

    color: #27344d;
    font-size: 1rem;
    font-weight: 600;
}

.explore-option .text-white-50 {
    color: #526078 !important;
}

.explore-link {
    color: var(--blue) !important;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}

.explore-link:hover {
    color: #0d46c9 !important;
}


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

.stats-section {
    position: relative;
    margin-top: -55px;
    z-index: 5;
}

.stats-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow:
        0 20px 60px rgba(30, 55, 90, .10),
        0 4px 16px rgba(30, 55, 90, .05);
}

.stats-card .row {
    align-items: center;
}

.stats-card .col-6,
.stats-card .col-lg-3 {
    position: relative;
    text-align: center;
}

/* Separators */
@media (min-width: 992px) {
    .stats-card .col-lg-3:not(:last-child)::after {
        content: "";
        position: absolute;
        width: 1px;
        height: 60px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(
            to bottom,
            transparent,
            #dce2eb 30%,
            #dce2eb 70%,
            transparent
        );
    }
}

/* =========================================================
   STAT ICONS
========================================================= */

.stats-card .col-lg-3::before {
    content: "";
    display: flex;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: "bootstrap-icons";
    font-size: 1.4rem;
}

.stats-card .col-lg-3:nth-child(1)::before {
    content: "\f876";
    background: #e4edff;
    color: #1557e8;
}

.stats-card .col-lg-3:nth-child(2)::before {
    content: "\f459";
    background: #e3f8ed;
    color: #159957;
}

.stats-card .col-lg-3:nth-child(3)::before {
    content: "\f1cb";
    background: #fff0d1;
    color: #efa800;
}

.stats-card .col-lg-3:nth-child(4)::before {
    content: "\f6fd";
    background: #ffe3eb;
    color: #e6295b;
}

/* =========================================================
   STAT TEXT
========================================================= */

.stat-number {
    font-size: 1.85rem;
    line-height: 1;
    font-weight: 900;
    color: #10182b;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stat-label {
    color: #526078;
    font-size: .85rem;
    font-weight: 600;
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-padding {
    padding: 105px 0;
}

.section-label {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    color: #10182b;
    font-size: 1.8rem; /* 36px */
    font-weight: 800;
    line-height: 1.2;
}

/* =========================================================
   FEATURES
========================================================= */

.feature-card {
    height: 100%;

    padding: 35px 30px;

    background: #ffffff;

    border: 1.5px solid #e3e8f0;
    border-radius: 20px;

    transition: all .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    border-color: #cbdcff;

    box-shadow:
        0 18px 45px rgba(30, 55, 90, .10);
}

.feature-icon {
    width: 58px;
    height: 58px;

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

    border-radius: 16px;

    background: #eaf1ff;
    color: var(--blue);

    font-size: 1.4rem;

    margin-bottom: 24px;
}

.feature-card h4 {
    color: #10182b;

    font-weight: 750;

    margin-bottom: 12px;
}

.feature-card p {
    color: #617087;

    line-height: 1.7;

    margin-bottom: 0;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.steps-section {
    background: #f5f8fc;
}

.step-card {
    position: relative;

    padding: 25px;

    background: #ffffff;

    border: 2px solid #d5dce8;
    border-radius: 18px;

    height: 100%;
}

.step-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3f7ff0, #5f9af8);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(21, 87, 232, .35);
}

.step-card h5 {
    color: #10182b;
    font-weight: 750;
}

.step-card p {
    color: #617087;
    line-height: 1.65;
    font-size:0.8rem;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 90px 0 105px;
    background: #ffffff;
}

.cta-card {
    position: relative;
    overflow: hidden;

    border-radius: 28px;
    padding: 65px 30px;

    background: #f5f8ff;
    border: 0.1px solid #444444;

    color: #10182b;

    box-shadow:
        0 18px 50px rgba(30, 55, 90, .08);
}


.cta-card > * {
    position: relative;
    z-index: 2;
}

.cta-card > i {
    display: inline-flex;

    width: 68px;
    height: 68px;

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

    border-radius: 50%;

    background: #eaf2ff;
    color: #1557e8;

    font-size: 1.8rem !important;
}

.cta-card h2 {
    margin-top: 22px !important;

    color: #10182b;

    font-weight: 800;
    letter-spacing: -1px;
}

.cta-card p {
    max-width: 600px;

    margin: 15px auto 30px;

    color: #526078;

    line-height: 1.7;
}

.cta-card .btn-light {
    background: #1557e8;
    color: #ffffff;

    font-weight: 700;

    border: 0;
    border-radius: 12px;

    padding: 13px 22px;

    transition: .2s ease;
}

.cta-card .btn-light:hover {
    background: #0d46c9;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .home-hero {
        min-height: 600px;
        padding: 55px 0 100px;
    }

    .stats-card {
        padding: 22px 20px;
    }

    .stats-card .col-6:nth-child(1)::after,
    .stats-card .col-6:nth-child(2)::after {
        content: "";
        position: absolute;

        width: 1px;
        height: 75px;

        right: 0;
        top: 50%;

        transform: translateY(-50%);

        background: #dce2eb;
    }
}


@media (max-width: 767.98px) {

    .home-hero {
        min-height: 85svh;

        padding: 50px 0 105px;
    }

    .home-hero::after {
        width: 230px;
        height: 230px;

        right: -100px;
        top: -100px;
    }

    .hero-description {
        padding: 0 15px;
    }

    .hero-search {
        border-radius: 18px;
    }

    .hero-search .input-group {
        flex-wrap: wrap;
        min-height: auto;
    }

    .hero-search .input-group-text {
        padding-left: 15px;
    }

    .hero-search input {
        min-width: 0;
    }

    .search-button {
        width: 100%;
        margin-top: 8px;
    }

    .stats-section {
        margin-top: -55px;
    }

    .stats-card {
        padding: 25px 10px;
    }

    .stats-card .col-6 {
        padding: 15px 5px;
    }

    .stats-card .col-lg-3::before {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: .85rem;
    }

    .section-padding {
        padding: 75px 0;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-card {
        padding: 60px 25px;
    }
}


@media (max-width: 575.98px) {

    .stats-card .col-6:nth-child(1)::after,
    .stats-card .col-6:nth-child(2)::after {
        display: none;
    }

    .stats-card .col-6:nth-child(1),
    .stats-card .col-6:nth-child(2) {
        border-bottom: 1px solid #e3e8f0;
        padding-bottom: 25px;
    }
}

/* =========================================================
   FOOTER
========================================================= */

.home-footer {
    background-color: #e8edf4;
    border-top: 1px solid #e8edf4;
    color: #10182b;
    padding: 40px 0 32px;

    border-top: 1px solid #e8edf4;
}




/* =========================
   BRAND
========================= */

.footer-brand {
    color: #10182b;

    font-size: 1.45rem;
    font-weight: 800;

    letter-spacing: -0.8px;

    margin-bottom: 10px !important;
}

.footer-brand span {
    color: #1557e8;
}


/* =========================
   DESCRIPTION
========================= */

.footer-description {
    max-width: 460px;

    margin: 0;

    color: #66738a;

    font-size: .95rem;
    line-height: 1.7;
}


/* =========================
   BOTTOM SECTION
========================= */

.footer-bottom {
    width: 100%;

    border-top: 1px solid #e5e9f0;

    margin-top: 24px;

    padding-top: 20px;

    color: #8994a6;

    font-size: .85rem;
}


/* =========================
   PRIVACY / TERMS
========================= */

.footer-bottom .footer-link {
    color: #66738a;

    text-decoration: none;

    font-size: .85rem;

    margin-bottom: 0;

    transition: color .2s ease;
}

.footer-bottom .footer-link:hover {
    color: #1557e8;
}


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

@media (max-width: 767.98px) {

    .home-footer {
        padding: 36px 0 20px;
    }

    .footer-bottom {
        margin-top: 40px;

        text-align: center;
    }

    .footer-bottom > div {
        margin-top: 5px;
    }
}





.step-card {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e4e9f1;
    border-radius: 18px;
    height: auto;
}

.steps-section .row {
    align-items: flex-start;
}


/* =========================================================
   MOBILE OVERRIDES
========================================================= */

@media (max-width: 767.98px) {

    /* HERO */
    .home-hero {
        padding: 45px 0 90px;
    }

    .hero-search {
        padding: 6px;
        border-radius: 16px;
    }

    .hero-search input {
        font-size: .9rem;
    }

    .hero-search .input-group-text i {
        font-size: 1.25rem !important;
    }

    .search-button {
        min-height: 46px;
        padding: 10px 18px;
        font-size: .9rem;
    }
    
    .hero-description {
        line-height: 1.6;
        margin-bottom: 28px;
        padding: 0 10px;
    }


    /* SEARCH */
    .hero-search {
        padding: 8px;
        border-radius: 16px;
    }

    .hero-search .input-group {
        min-height: auto;
    }

    .hero-search .input-group-text {
        padding-left: 12px;
        padding-right: 6px;
    }

    .hero-search .input-group-text i {
        font-size: 1.35rem !important;
    }

    .hero-search input {
        font-size: .95rem;
    }

    .search-button {
        width: 100%;
        min-width: 0;
        margin-top: 7px;
        padding: 12px 20px;
        font-size: .95rem;
    }

    .explore-option {
        font-size: .9rem;
        margin-top: 20px !important;
    }


    /* STATS */
    .stats-section {
        margin-top: -45px;
    }

    .stats-card {
        padding: 18px 8px;
        border-radius: 18px;
    }

    .stats-card .col-6 {
        padding: 12px 5px;
    }

    .stats-card .col-lg-3::before {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.45rem;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: .78rem;
    }


    /* GENERAL SECTIONS */
    .section-padding {
        padding: 60px 0;
    }

    .section-label {
        font-size: .68rem;
        letter-spacing: 1.6px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }


    /* FEATURE CARDS */
    .feature-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .feature-card h4 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: .95rem;
        line-height: 1.6;
    }


    /* HOW IT WORKS */
    .step-card {
        padding: 22px;
        border-radius: 16px;
    }

    .step-number {
        width: 46px;
        height: 46px;
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .step-card h5 {
        font-size: 1.05rem;
    }

    .step-card p {
        font-size: .9rem;
        line-height: 1.6;
    }


    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 50px 22px;
        border-radius: 22px;
    }

    .cta-card > i {
        width: 58px;
        height: 58px;
        font-size: 1.5rem !important;
    }

    .cta-card h2 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .cta-card p {
        font-size: .95rem;
        line-height: 1.6;
    }

    .cta-card .btn-light {
        font-size: .95rem;
        padding: 11px 18px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 575.98px) {

    .hero-description {
        font-size: .9rem;
    }

    .stats-card {
        padding: 16px 5px;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: .75rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .cta-card h2 {
        font-size: 1.7rem;
    }
    
}