/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #171717;
    background: #ffffff;
    overflow-x: hidden;
}

:root {
    --green: #087f5b;
    --dark-green: #064e3b;
    --yellow: #f5c400;
    --light-yellow: #fff5c7;
    --light-green: #e5f5ef;
    --black: #111111;
    --grey: #666666;
    --border: #e8e8e8;
}


/* =====================================================
   HEADER
===================================================== */

.top-header {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.navbar {
    padding: 22px 0;
}

.nav-container {
    max-width: 1400px;
}

.logo {
    color: var(--dark-green);
    font-size: 30px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn,
.register-btn {
    border: none;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-btn {
    background: transparent;
    color: var(--black);
}

.register-btn {
    background: var(--yellow);
    color: #111;
}

.register-btn:hover {
    background: #e8b800;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    padding: 65px 0 75px;
    background: #f8faf9;
}

.hero-content {
    padding-right: 30px;
}

.hero-label {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.08;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-content h1 span {
    color: var(--green);
    display: block;
}

.hero-content p {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
    max-width: 590px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 14px 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background: var(--green);
    color: white;
}

.primary-btn:hover {
    background: var(--dark-green);
}

.secondary-btn {
    background: white;
    color: #111;
    border: 1px solid #ddd;
}

.hero-trust {
    display: flex;
    gap: 38px;
    margin-top: 32px;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    font-size: 17px;
    color: var(--dark-green);
}

.hero-trust span {
    color: #777;
    font-size: 13px;
    margin-top: 3px;
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image-wrapper {
    position: relative;
    margin-left: 25px;
}

.hero-image {
    width: 100%;
    height: 455px;
    object-fit: cover;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--yellow);
    right: -18px;
    top: -18px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    z-index: 5;
    background: white;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-width: 220px;
}

.card-one {
    left: -25px;
    bottom: 70px;
}

.card-two {
    right: -20px;
    bottom: 25px;
}

.floating-card strong {
    display: block;
    font-size: 13px;
}

.floating-card small {
    color: #777;
    font-size: 11px;
}

.floating-icon {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
}

.yellow-bg {
    background: var(--light-yellow);
    color: #b58b00;
}

.green-bg {
    background: var(--light-green);
    color: var(--green);
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.section-heading span {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.2;
    margin: 12px 0;
    font-weight: 700;
}

.section-heading h2 strong {
    color: var(--green);
}

.section-heading p {
    color: #777;
    line-height: 1.6;
}


/* =====================================================
   HOW TO WORK
===================================================== */

.how-work-section {
    padding: 65px 0;
    background: #ffffff;
}

.how-work-wrapper {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 55px;
    max-width: 1150px;
    margin: auto;
    align-items: start;
}


/* LEFT SIDE */

.steps-menu {
    position: sticky;
    top: 25px;
}

.step-menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 14px;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: 0.25s ease;
    margin-bottom: 5px;
}

.step-menu-item:hover {
    background: #f8faf9;
}

.step-menu-item.active {
    background: var(--light-green);
    border-left-color: var(--green);
}

.step-menu-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    color: var(--green);
    font-size: 19px;
}

.step-menu-item.active .step-menu-icon {
    background: var(--green);
    color: white;
}

.step-menu-text {
    flex: 1;
}

.step-menu-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.step-menu-text span {
    display: block;
    color: #888;
    font-size: 11px;
}

.step-menu-item .arrow {
    color: #aaa;
    font-size: 14px;
}

.step-menu-item.active .arrow {
    color: var(--green);
}


/* RIGHT SCROLLING CONTENT */

.steps-content {
    height: 650px;
    overflow-y: auto;
    padding-right: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.steps-content::-webkit-scrollbar {
    display: none;
}

.step-content-card {
    min-height: 650px;
    padding: 15px 20px 70px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
}

.step-content-card:last-child {
    border-bottom: none;
}

.step-content-card > span {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.step-content-card h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
}

.step-content-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 22px;
}

.step-content-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.step-content-card li {
    margin-bottom: 12px;
    color: #444;
    font-size: 14px;
}

.step-content-card li i {
    color: var(--green);
    margin-right: 9px;
}

.content-btn {
    width: fit-content;
    background: var(--yellow);
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

.content-btn i {
    margin-left: 7px;
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits-section {
    padding: 65px 0;
    background: #f8faf9;
}

.benefit-card {
    height: 100%;
    background: white;
    padding: 28px 22px;
    border: 1px solid #eeeeee;
    transition: 0.25s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 23px;
}

.benefit-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 55px 0;
}

.cta-box {
    background: var(--dark-green);
    color: white;
    padding: 42px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-box > div {
    max-width: 750px;
}

.cta-box span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-box h2 {
    font-size: 30px;
    margin: 10px 0;
}

.cta-box h2 strong {
    color: var(--yellow);
}

.cta-box p {
    color: #d8e7e2;
    margin: 0;
    line-height: 1.6;
}

.cta-button {
    flex-shrink: 0;
    background: var(--yellow);
    color: #111;
    border: none;
    padding: 14px 22px;
    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111;
    color: white;
    padding: 55px 0 20px;
}

.footer h3 {
    color: var(--yellow);
    font-size: 25px;
    font-weight: 800;
}

.footer h5 {
    font-size: 15px;
    margin-bottom: 18px;
}

.footer p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.7;
}

.footer a {
    display: block;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--yellow);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: white;
    margin: 0;
}

.footer-btn {
    border: none;
    background: var(--yellow);
    color: #111;
    padding: 11px 17px;
    font-weight: 700;
}

.footer hr {
    border-color: #333;
    margin: 35px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #777;
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    margin: 0;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .hero-section {
        padding: 45px 0 55px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 45px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image-wrapper {
        margin-left: 0;
    }

    .how-work-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .steps-menu {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-content {
        height: 600px;
    }

    .step-content-card {
        min-height: 600px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 767px) {

    .navbar {
        padding: 16px 0;
    }

    .logo {
        font-size: 24px;
    }

    .login-btn,
    .register-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image {
        height: 350px;
    }

    .floating-card {
        min-width: 185px;
        padding: 10px;
    }

    .card-one {
        left: 10px;
    }

    .card-two {
        right: 10px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .steps-menu {
        grid-template-columns: 1fr;
    }

    .steps-content {
        height: 550px;
        padding-right: 5px;
    }

    .step-content-card {
        min-height: 550px;
    }

    .step-content-card h3 {
        font-size: 28px;
    }

    .hero-trust {
        gap: 18px;
    }

    .cta-box {
        padding: 30px 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}