/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #111;
    background: #fff;
    overflow-x: hidden;
}

:root {
    --dark-green: #064b36;
    --green: #0b684b;
    --yellow: #f4d03f;

    --light-yellow: #fff8cf;
    --light-green: #e9f5ef;

    --black: #111;
    --white: #fff;

    --grey: #666;
    --light-grey: #f6f7f5;
    --border: #e6e6e6;
}

button,
a {
    transition: .25s ease;
}

button {
    font-family: inherit;
}

a {
    text-decoration: none;
}


/* =====================================================
   HEADER
===================================================== */

.top-header {
    background: #fff;
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.navbar {
    padding: 4px 0;
}

.nav-container {
    padding-left: 5%;
    padding-right: 5%;
}

.logo {
    color: var(--dark-green);

    font-size: 25px;
    font-weight: 800;

    letter-spacing: 1px;
}

.logo:hover {
    color: var(--green);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-btn,
.register-btn {
    border-radius: 7px;

    padding: 10px 18px;

    font-weight: 600;
}

.login-btn {
    background: transparent;

    color: var(--dark-green);

    border: 1px solid var(--dark-green);
}

.login-btn:hover {
    background: var(--dark-green);

    color: #fff;
}

.register-btn {
    background: var(--yellow);

    color: #111;

    border: 1px solid var(--yellow);
}

.register-btn:hover {
    background: var(--dark-green);

    border-color: var(--dark-green);

    color: #fff;
}


/* =====================================================
   COMMON SECTION SPACING
===================================================== */

section {
    padding: 38px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 24px;

    text-align: center;
}

.section-heading span {
    color: var(--green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin: 6px 0 8px;

    font-size: 36px;

    line-height: 1.2;

    font-weight: 700;
}

.section-heading h2 strong {
    color: var(--dark-green);
}

.section-heading p {
    color: var(--grey);

    line-height: 1.6;

    margin: 0;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    padding: 38px 0 18px;

    background:
        linear-gradient(
            135deg,
            #f8fbf8 0%,
            #fff 65%,
            #fffbea 100%
        );
}

.hero-row {
    min-height: auto;
}

.hero-content {
    padding-right: 20px;
}

.hero-label {
    display: inline-block;

    color: var(--green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 47px;

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 14px;
}

.hero-content h1 span {
    display: block;

    color: var(--dark-green);
}

.hero-content p {
    color: #5d5d5d;

    font-size: 15px;

    line-height: 1.7;

    max-width: 570px;

    margin-bottom: 18px;
}

.hero-buttons {
    display: flex;

    gap: 10px;
}

.primary-btn {
    border: none;

    padding: 12px 21px;

    border-radius: 7px;

    background: var(--dark-green);

    color: #fff;

    font-weight: 700;
}

.primary-btn:hover {
    background: #043a2a;

    transform: translateY(-2px);
}

.hero-trust {
    display: flex;

    gap: 30px;

    margin-top: 20px;
}

.hero-trust div {
    display: flex;

    flex-direction: column;

    border-left: 2px solid var(--yellow);

    padding-left: 10px;
}

.hero-trust strong {
    font-size: 16px;

    color: var(--dark-green);
}

.hero-trust span {
    font-size: 11px;

    color: #777;
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image-wrapper {
    position: relative;

    padding: 0 5px 0 15px;
}

.hero-image {
    position: relative;

    z-index: 2;

    display: block;

    width: 100%;

    height: 390px;

    object-fit: cover;
    object-position: center;

    border-radius: 16px;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, .13);
}


/* =====================================================
   HERO FLOATING CARDS
===================================================== */

.floating-card {
    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    background: #fff;

    padding: 11px 14px;

    border-radius: 9px;

    box-shadow:
        0 10px 28px
        rgba(0, 0, 0, .13);
}

.floating-card strong {
    display: block;

    font-size: 12px;
}

.floating-card small {
    color: #777;

    font-size: 9px;
}

.card-one {
    left: 0;

    top: 55px;
}

.card-two {
    right: 0;

    bottom: 45px;
}

.floating-icon {
    width: 40px;

    height: 40px;

    min-width: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;
}

.yellow-bg {
    background: var(--light-yellow);

    color: #806d00;
}

.green-bg {
    background: var(--light-green);

    color: var(--dark-green);
}


/* =====================================================
   CATEGORIES SECTION
===================================================== */

.categories-section {
    background: #fff;

    /*
       Reduced space directly below hero
    */
    padding-top: 18px;

    padding-bottom: 42px;
}

.categories-section .section-heading {
    margin-bottom: 26px;
}


/* =====================================================
   12 CATEGORY GRID

   Desktop:
   3 cards per row
   12 items = 4 rows
===================================================== */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 28px;

    row-gap: 30px;
}


/* =====================================================
   CATEGORY CARD
===================================================== */

.category-card {
    width: 100%;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: var(--green);

    box-shadow:
        0 12px 28px
        rgba(0, 0, 0, .07);
}


/* =====================================================
   CATEGORY IMAGE

   Smaller image
   + space around image
===================================================== */

.category-image {
    position: relative;

    width: calc(100% - 24px);

    height: 155px;

    margin:
        12px 12px 0;

    overflow: hidden;

    border-radius: 10px;

    background: #f3f5f4;
}

.category-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 10px;

    transition:
        transform .35s ease;
}

.category-card:hover
.category-image img {
    transform: scale(1.045);
}


/* =====================================================
   CATEGORY NUMBER
===================================================== */

.category-number {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 2;

    background: var(--yellow);

    color: #111;

    font-size: 10px;
    font-weight: 800;

    padding: 5px 9px;

    border-radius: 5px;

    box-shadow:
        0 3px 8px
        rgba(0, 0, 0, .08);
}


/* =====================================================
   CATEGORY CONTENT
===================================================== */

.category-content {
    padding:
        14px 18px 18px;
}

.category-content > i {
    width: 40px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 9px;

    border-radius: 8px;

    background: var(--light-green);

    color: var(--dark-green);

    font-size: 18px;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.category-card:hover
.category-content > i {
    background: var(--dark-green);

    color: #fff;

    transform: translateY(-2px);
}

.category-content h3 {
    margin: 0 0 5px;

    color: #111;

    font-size: 17px;
    line-height: 1.3;

    font-weight: 700;

    transition:
        color .25s ease;
}

.category-card:hover
.category-content h3 {
    color: var(--dark-green);
}

.category-content p {
    margin: 0;

    color: var(--grey);

    font-size: 12px;

    line-height: 1.55;
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits-section {
    background: #fff;

    padding-top: 34px;

    padding-bottom: 42px;
}

.benefits-section .section-heading {
    margin-bottom: 24px;
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.benefit-card {
    padding: 20px 18px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #fff;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.benefit-card:hover {
    border-color: var(--green);

    transform: translateY(-4px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, .06);
}

.benefit-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 19px;

    margin-bottom: 12px;
}

.benefit-card h4 {
    font-size: 16px;

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 0;
}

.benefit-card p {
    color: var(--grey);

    font-size: 12px;

    line-height: 1.6;

    margin:
        6px 0 0;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111;

    color: #fff;

    padding:
        40px 0 18px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.4fr;

    gap: 38px;
}

.footer h3 {
    color: var(--yellow);

    font-size: 22px;

    font-weight: 800;
}

.footer h5 {
    font-size: 14px;

    margin-bottom: 12px;
}

.footer p {
    color: #aaa;

    font-size: 13px;

    line-height: 1.7;
}

.footer a {
    display: block;

    color: #aaa;

    font-size: 12px;

    margin-bottom: 8px;
}

.footer a:hover {
    color: var(--yellow);
}


/* =====================================================
   FOOTER SOCIAL
===================================================== */

.social-icons {
    display: flex;

    gap: 10px;

    margin-top: 14px;
}

.social-icons a {
    width: 34px;
    height: 34px;

    border: 1px solid #444;

    border-radius: 7px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff;

    margin: 0;
}

.social-icons a:hover {
    background: var(--yellow);

    color: #111;

    border-color: var(--yellow);
}


/* =====================================================
   FOOTER BUTTON
===================================================== */

.footer-btn {
    background: var(--yellow);

    color: #111;

    border: none;

    border-radius: 6px;

    padding: 10px 15px;

    font-size: 12px;

    font-weight: 700;
}

.footer-btn:hover {
    background: #fff;

    color: var(--dark-green);
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer hr {
    border-color: #333;

    margin:
        26px 0 16px;
}

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    font-size: 11px;

    color: #777;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a {
    margin: 0;
}


/* =====================================================
   RESPONSIVE
   1100PX
===================================================== */

@media (max-width: 1100px) {

    .category-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        column-gap: 22px;

        row-gap: 26px;
    }


    .category-image {
        height: 150px;
    }


    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    section {
        padding:
            36px 0;
    }


    /* HERO */

    .hero-section {
        padding-top: 32px;

        padding-bottom: 16px;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-image {
        height: 360px;
    }


    /* CATEGORIES */

    .categories-section {
        padding-top: 18px;

        padding-bottom: 38px;
    }

    .categories-section
    .section-heading {
        margin-bottom: 24px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 22px;

        row-gap: 24px;
    }

    .category-image {
        width:
            calc(100% - 24px);

        height: 165px;

        margin:
            12px 12px 0;
    }


    /* BENEFITS */

    .benefits-section {
        padding-top: 30px;

        padding-bottom: 38px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .nav-container {
        padding-left: 3%;

        padding-right: 3%;
    }

    .nav-buttons {
        gap: 4px;
    }

    .login-btn,
    .register-btn {
        padding: 8px 11px;

        font-size: 11px;
    }


    /* GENERAL */

    section {
        padding:
            30px 0;
    }

    .section-heading {
        margin-bottom: 20px;
    }


    /* HERO */

    .hero-section {
        padding-top: 26px;

        padding-bottom: 14px;
    }

    .hero-content {
        padding-right: 0;

        margin-bottom: 18px;
    }

    .hero-content h1 {
        font-size: 34px;

        margin-bottom: 12px;
    }

    .hero-content p {
        margin-bottom: 16px;
    }

    .hero-trust {
        gap: 18px;

        margin-top: 17px;
    }

    .hero-image-wrapper {
        padding: 0;
    }

    .hero-image {
        height: 300px;
    }

    .floating-card {
        transform: scale(.85);
    }

    .card-one {
        left: -8px;
    }

    .card-two {
        right: -8px;
    }


    /* CATEGORIES */

    .categories-section {
        padding-top: 14px;

        padding-bottom: 32px;
    }

    .categories-section
    .section-heading {
        margin-bottom: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .category-image {
        width:
            calc(100% - 20px);

        height: 190px;

        margin:
            10px 10px 0;
    }

    .category-content {
        padding:
            14px 16px 17px;
    }


    /* BENEFITS */

    .benefits-section {
        padding-top: 26px;

        padding-bottom: 34px;
    }

    .benefits-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* FOOTER */

    .footer {
        padding-top: 34px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 500px) {

    section {
        padding:
            26px 0;
    }


    /* HERO */

    .hero-section {
        padding-top: 22px;

        padding-bottom: 12px;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .hero-trust {
        gap: 15px;

        margin-top: 15px;
    }

    .hero-image {
        height: 270px;
    }

    .floating-card {
        transform: scale(.78);
    }


    /* CATEGORY */

    .categories-section {
        padding-top: 12px;

        padding-bottom: 28px;
    }

    .category-grid {
        gap: 18px;
    }

    .category-image {
        height: 170px;
    }

    .category-content h3 {
        font-size: 16px;
    }


    /* BENEFITS */

    .benefits-section {
        padding-top: 24px;

        padding-bottom: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
    }


    /* HEADING */

    .section-heading h2 {
        font-size: 29px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}