.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #385948;
    --bs-btn-border-color: #385948;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2f493b;
    --bs-btn-hover-border-color: #2f493b;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2f493b;
    --bs-btn-active-border-color: #2f493b;
}

.btn-outline-primary {
    --bs-btn-color: #385948;
    --bs-btn-border-color: #385948;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #385948;
    --bs-btn-hover-border-color: #385948;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #385948;
    --bs-btn-active-border-color: #385948;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #385948;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #385948;
    --bs-gradient: none;
}

.btn-ghost.underline{
    border-bottom: 2px solid #385948;
    transition: all 0.3s ease-in-out;
}
.btn-ghost.underline:hover{
    color: #385948;
    border-bottom-color: #385948;
}


/* =========================================================
   BANNER
   ========================================================= */

.banner-carousel {
    --banner-height: 700px;

    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Category banner */
.banner-carousel.banner-category {
    --banner-height: 450px;
}


/* =========================================================
   SWIPER / SLIDE
   ========================================================= */

.banner-carousel .swiper-wrapper,
.banner-carousel .swiper-slide {
    width: 100%;
    height: var(--banner-height);
}

.banner-carousel .swiper-slide {
    position: relative;
    overflow: hidden;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.banner-carousel .banner-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    z-index: 1;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.banner-carousel .slide-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 2;
}


/* =========================================================
   CONTENT
   ========================================================= */

.banner-carousel .slide-content {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0 8%;

    z-index: 5;

    pointer-events: none;
}

/*
 * Important:
 * The Bootstrap row fills the complete banner height.
 * align-items-center in the HTML therefore vertically centers
 * the content inside the 450px category banner.
 */
.banner-carousel .slide-content .container-fluid {
    width: 100%;
    height: 100%;
}

.banner-carousel .slide-content .row {
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 5;
}


/* Allow buttons/images to receive mouse/touch events */
.banner-carousel .slide-content a,
.banner-carousel .slide-content button,
.banner-carousel .slide-content img {
    pointer-events: auto;
}


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

.banner-carousel .slide-title {
    margin: 0 0 20px;

    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 700;
}

.banner-carousel .slide-subtitle {
    max-width: 650px;

    margin: 0 0 25px;

    font-size: 18px;
    line-height: 1.6;
}

.banner-carousel .slide-actions {
    margin-top: 25px;
}


/* =========================================================
   CATEGORY BANNER TEXT
   ========================================================= */

.banner-carousel.banner-category .slide-title {
    font-size: clamp(32px, 4vw, 52px);
}

.banner-carousel.banner-category .slide-subtitle {
    font-size: 17px;
}


/* =========================================================
   FOREGROUND IMAGE
   ========================================================= */

.banner-carousel .slide-fg-img {
    position: relative;

    z-index: 6;

    display: inline-block;

    max-width: 100%;
    max-height: calc(var(--banner-height) - 40px);

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.banner-prev,
.banner-next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 50px;
    height: 50px;

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

    background: rgba(0, 0, 0, 0.5);

    color: #fff;

    cursor: pointer;

    transition: all 0.3s ease;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.banner-prev i,
.banner-next i {
    font-size: 24px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.banner-carousel .swiper-pagination {
    z-index: 20;
}

.banner-carousel .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    background: color-mix(
            in srgb,
            white,
            transparent 30%
    );

    opacity: 1;

    transition: all 0.2s ease;
}

.banner-carousel
.swiper-pagination
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 24px;

    background: var(--accent-color);

    border-radius: 4px;
}


/* =========================================================
   KEN BURNS
   ========================================================= */

.banner-carousel .banner-slide.zoom-in {
    animation: bannerZoomIn 8s ease-out forwards;
}

.banner-carousel .banner-slide.zoom-out {
    animation: bannerZoomOut 8s ease-out forwards;
}

.banner-carousel .banner-slide.pan-left {
    animation: bannerPanLeft 8s ease-out forwards;
}

.banner-carousel .banner-slide.pan-right {
    animation: bannerPanRight 8s ease-out forwards;
}


@keyframes bannerZoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes bannerZoomOut {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

@keyframes bannerPanLeft {
    from {
        transform: scale(1.05) translateX(0);
    }

    to {
        transform: scale(1.05) translateX(-2%);
    }
}

@keyframes bannerPanRight {
    from {
        transform: scale(1.05) translateX(-2%);
    }

    to {
        transform: scale(1.05) translateX(0);
    }
}


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

@media (max-width: 767.98px) {

    .banner-carousel {
        --banner-height: 400px;
    }

    .banner-carousel.banner-category {
        --banner-height: 260px;
    }

    .banner-carousel .slide-content {
        padding: 0 20px;
    }

    .banner-carousel .slide-title {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .banner-carousel .slide-subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .banner-carousel .slide-actions {
        margin-top: 15px;
    }

    .banner-carousel .slide-fg-img {
        max-width: 90%;
        max-height: calc(var(--banner-height) - 30px);
    }

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
    }

    .banner-prev {
        left: 10px;
    }

    .banner-next {
        right: 10px;
    }

    .banner-prev i,
    .banner-next i {
        font-size: 18px;
    }
}


.gaon-section {
    background: #f2f4e8;
    padding: 70px 0 70px;
}

.gaon-wrapper {
    /* max-width: 1180px;
    margin: auto; */
}

/* Left content */
.gaon-intro {
    width: 400px;
    flex-shrink: 0;
}

.gaon-title {
    font-family: var(--heading-font);
    /* font-size: 20px; */
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 8px;
}

.gaon-description {
    /* font-size: 10px; */
    /* line-height: 1.45; */
    color: #444;
    margin-bottom: 13px;
}

.gaon-btn {
    /* display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #72826c;
    border-radius: 4px;
    padding: 5px 10px;
    color: #344332;
    text-decoration: none;
    font-size: 10px;
    background: transparent; */
}

.gaon-btn:hover {
    background: #344332;
    color: #fff;
}

/* Process */
.gaon-process {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-width: 0;
}

.gaon-step {
    position: relative;
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.gaon-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 7px;
    border-radius: 50%;
    overflow: hidden;
}

.gaon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gaon-step-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.gaon-step-number span{
    color: rgb(38 37 37);
}

.gaon-step-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

.gaon-step-description {
    font-size: 16px;
    line-height: 1.3;
    color: #666;
    /* max-width: 105px; */
    margin: auto;
}

/* Arrows */
.gaon-arrow {
    position: absolute;
    right: -2px;
    top: 80px;
    transform: translateX(50%);
    font-size: 30px;
    line-height: 1;
    color: #222;
    z-index: 2;
}

/* Responsive */
@media (max-width: 991.98px) {
    .gaon-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gaon-intro {
        width: 190px;
    }

    .gaon-image {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 767.98px) {
    .gaon-section {
        padding: 30px 0;
    }

    .gaon-wrapper {
        display: block !important;
    }

    .gaon-intro {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .gaon-process {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }

    .gaon-arrow {
        display: none;
    }

    .gaon-step {
        min-width: 0;
    }

    .gaon-image {
        width: 80px;
        height: 80px;
    }

    .gaon-step-number {
        font-size: 11px;
    }

    .gaon-step-title {
        font-size: 10px;
    }

    .gaon-step-description {
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .gaon-process {
        grid-template-columns: 1fr;
    }
}


.blog-item{
    width: 100%;
    border-radius: 5px;
    /* cursor: pointer; */
    transition: all 0.3s ease-in-out;
    border: 1px solid #e5e5e5;
    background-color: #fff;
}

.blog-item .blog-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.blog-content{
    padding: 5px;
}
.blog-content .blog-title{
    font-size: 16px;
    font-weight: bold;
    color: #385948;
    margin-bottom: 3px;
    padding-bottom: 0px;
}

.blog-content .blog-excerpt{
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.impact-item{
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; */
    /* width: 100%; */
}


.inline-list li + li {
    border-left: 1px solid #ddd;
}
.inline-list li {
    padding: 0 16px;
    overflow-wrap: break-word;
}

.impact-item .icon{
    font-size: 30px;
    color: #385948;
    background-color: #ecf0e1;
    border: 1px solid #385948;
    padding: 5px;
    border-radius: 50px;
    text-align: center;
    /* line-height: 30px; */
    margin-bottom: 5px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:auto;
}

.impact-item .count{
    font-size: 24px;
    font-weight: bold;
    color: #385948;
    text-align: center;
}

.impact-item .text{
    font-size: 14px;
    font-weight: bold;
    color: #385948;
    text-align: center;
}

@media (max-width: 767.98px) {
    .inline-list li {
        padding: 0 6px;
        overflow-wrap: break-word;
    }
}


.category-item {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.35s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 100%);
    transition: opacity 0.3s ease;
}

.category-item .category-content {
    position: relative;
    z-index: 2;
    padding: 14px 16px;
    background-color:rgb(255 255 255);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    margin: 12px;
    transition: all 0.3s ease;
}

.category-item .category-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2px;
    padding-bottom: 0px;
}

.category-item .category-content p {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    margin-bottom: 0;
}

.category-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(56, 89, 72, 0.18);
}

.category-item:hover .category-content {
    background-color: #ffffff;
}