/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Inter", sans-serif;
    color: #111;
    background: #fff;
}

: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;
}

.main-nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav-list > li > a {
    color: var(--dark-green);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.main-nav-list > li > a:hover {
    color: var(--green);
}

.main-nav-list .dropdown-toggle::after {
    margin-left: 6px;
}

.main-nav-list .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 30px rgba(6, 75, 54, .12);
    padding: 6px;
}

.main-nav-list .dropdown-item {
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 14px;
}

.main-nav-list .dropdown-item:hover,
.main-nav-list .dropdown-item:focus {
    background: #eef7f2;
    color: var(--dark-green);
}

@media (max-width: 991px) {
    .main-nav-list {
        display: none;
    }
}

.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 {
    padding: 70px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading span {
    color: var(--green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-heading h2 {
    margin: 8px 0 12px;

    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.7;

    margin: 0;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    padding: 55px 0 60px;

    background:
        linear-gradient(
            135deg,
            #f8fbf8 0%,
            #fff 65%,
            #fffbea 100%
        );
}

.hero-row {
    min-height: 470px;
}

.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: 13px;
}

.hero-content h1 {
    font-size: 47px;

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 18px;
}

.hero-content h1 span {
    display: block;

    color: var(--dark-green);
}

.hero-content p {
    color: #5d5d5d;

    font-size: 15px;

    line-height: 1.75;

    max-width: 570px;

    margin-bottom: 25px;
}

.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: 28px;
}

.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: 425px;

    object-fit: cover;

    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .13);
}

.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
===================================================== */

.categories-section {
    background: #fff;

    padding-top: 70px;

    padding-bottom: 75px;
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =====================================================
   CATEGORY CARD
===================================================== */

.category-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 13px;

    overflow: hidden;

    cursor: pointer;

    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-5px);

    border-color: var(--green);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .07);
}


/* =====================================================
   CATEGORY IMAGE
===================================================== */

.category-image {
    position: relative;

    height: 190px;

    overflow: hidden;
}

.category-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .35s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.04);
}

.category-number {
    position: absolute;

    top: 13px;

    left: 13px;

    background: var(--yellow);

    color: #111;

    font-size: 10px;

    font-weight: 800;

    padding: 6px 10px;

    border-radius: 5px;
}


/* =====================================================
   CATEGORY CONTENT
===================================================== */

.category-content {
    padding: 19px 20px 21px;
}

.category-content > i {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    margin-bottom: 12px;

    border-radius: 8px;

    background: var(--light-green);

    color: var(--dark-green);

    font-size: 18px;

    transition: .25s ease;
}

.category-card:hover .category-content > i {
    background: var(--dark-green);

    color: #fff;
}

.category-content h3 {
    font-size: 18px;

    line-height: 1.3;

    font-weight: 700;

    margin-bottom: 7px;

    color: #111;

    transition: .25s ease;
}

.category-card:hover .category-content h3 {
    color: var(--dark-green);
}

.category-content p {
    color: var(--grey);

    font-size: 12px;

    line-height: 1.6;

    margin: 0;
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits-section {
    background: #fff;

    padding-top: 65px;

    padding-bottom: 75px;
}

.benefits-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.benefit-card {
    padding: 25px 20px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #fff;

    transition: .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: 17px;
}

.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.65;

    margin: 8px 0 0;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111;

    color: #fff;

    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.4fr;

    gap: 45px;
}

.footer h3 {
    color: var(--yellow);

    font-size: 22px;

    font-weight: 800;
}

.footer h5 {
    font-size: 14px;

    margin-bottom: 15px;
}

.footer p {
    color: #aaa;

    font-size: 13px;

    line-height: 1.7;
}

.footer a {
    display: block;

    color: #aaa;

    font-size: 12px;

    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--yellow);
}

.social-icons {
    display: flex;

    gap: 10px;

    margin-top: 18px;
}

.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-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;
}

.footer hr {
    border-color: #333;

    margin: 35px 0 18px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-size: 11px;

    color: #777;
}

.footer-bottom div {
    display: flex;

    gap: 20px;
}

.footer-bottom a {
    margin: 0;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 991px) {

    section {
        padding: 55px 0;
    }

    .hero-content {
        margin-bottom: 35px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-image {
        height: 380px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@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;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-image {
        height: 300px;
    }

    .floating-card {
        transform: scale(.85);
    }

    .card-one {
        left: -8px;
    }

    .card-two {
        right: -8px;
    }

    .hero-trust {
        gap: 18px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 210px;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}


@media (max-width: 500px) {

    .hero-content h1 {
        font-size: 31px;
    }

    .hero-trust {
        gap: 15px;
    }

    .hero-image {
        height: 270px;
    }

    .floating-card {
        transform: scale(.78);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 29px;
    }

}