/* =========================================
   Fruitlogix Marketplace Section
========================================= */

.fl-marketplace-section {
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
}

.fl-marketplace-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* =========================================
   Farmer & Buyer Cards
========================================= */

.fl-marketplace-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fl-marketplace-card {
    position: relative;
    min-height: 300px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.fl-farmer-card {
    background: linear-gradient(
        135deg,
        #f7fbf1 0%,
        #edf7e5 100%
    );
}

.fl-buyer-card {
    background: linear-gradient(
        135deg,
        #f2f8fd 0%,
        #e7f2fb 100%
    );
}


/* =========================================
   Card Content
========================================= */

.fl-card-content {
    width: 62%;
    padding: 28px 15px 25px 35px;
    position: relative;
    z-index: 2;
}

.fl-card-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #5DA031;
}

.fl-buyer-card .fl-card-label {
    color: #1780B7;
}

.fl-card-content h2 {
    margin: 0 0 12px;
    color: #032E66;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.fl-card-content p {
    margin: 0;
    max-width: 350px;
    color: #394b5f;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   Mini Steps
========================================= */

.fl-card-steps {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}

.fl-mini-step {
    min-width: 58px;
    text-align: center;
}

.fl-mini-step span {
    width: 35px;
    height: 35px;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5DA031;
    font-size: 17px;
}

.fl-buyer-card .fl-mini-step span {
    color: #032E66;
}

.fl-mini-step small {
    display: block;
    color: #032E66;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
}

.fl-step-arrow {
    color: #8db49a;
    font-size: 9px;
}


/* =========================================
   Card Button
========================================= */

.fl-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 9px 15px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fl-green-btn {
    background: #5DA031;
}

.fl-green-btn:hover {
    background: #032E66;
    color: #ffffff;
}

.fl-blue-btn {
    background: #032E66;
}

.fl-blue-btn:hover {
    background: #1780B7;
    color: #ffffff;
}

.fl-card-btn i {
    font-size: 11px;
}


/* =========================================
   Card Image
========================================= */

.fl-card-image {
    width: 43%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

.fl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 29px !important;
}


/* =========================================
   How It Works
========================================= */

.fl-how-it-works {
    padding: 35px 0 30px;
}

.fl-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 28px;
}

.fl-section-title span {
    width: 35px;
    height: 2px;
    background: #5DA031;
}

.fl-section-title h3 {
    margin: 0;
    color: #032E66;
    font-size: 22px;
    font-weight: 700;
}


/* =========================================
   Work Flow
========================================= */

.fl-work-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fl-work-item {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.fl-work-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border: 1px solid #c8dfcf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5DA031;
    font-size: 25px;
}

.fl-work-number {
    width: 25px;
    height: 25px;
    margin-left: -5px;
    margin-right: 7px;
    border-radius: 50%;
    background: #5DA031;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.fl-work-content h4 {
    margin: 0 0 5px;
    color: #032E66;
    font-size: 13px;
    font-weight: 700;
}

.fl-work-content p {
    margin: 0;
    color: #4b5661;
    font-size: 10px;
    line-height: 1.5;
}

.fl-work-arrow {
    color: #8fb99b;
    font-size: 11px;
}


/* =========================================
   Statistics
========================================= */

.fl-statistics {
    min-height: 82px;
    padding: 10px 25px;
    border-radius: 12px;
    background: #032E66;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.fl-stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.fl-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5DA031;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.fl-stat-item strong {
    display: block;
    color: #5DA031;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.fl-stat-item span {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 11px;
}

.fl-stat-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.4);
}


/* =========================================
   Tablet Responsive
========================================= */

@media (max-width: 991px) {

    .fl-marketplace-cards {
        grid-template-columns: 1fr;
    }

    .fl-marketplace-card {
        min-height: 320px;
    }

    .fl-work-flow {
        flex-wrap: wrap;
    }

    .fl-work-item {
        flex: 0 0 calc(50% - 20px);
    }

    .fl-work-arrow {
        display: none;
    }

    .fl-statistics {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }

    .fl-stat-item {
        flex: 0 0 calc(50% - 20px);
    }

    .fl-stat-divider {
        display: none;
    }
}


/* =========================================
   Mobile Responsive
========================================= */

@media (max-width: 767px) {

    .fl-marketplace-section {
        padding: 45px 0;
    }

    .fl-marketplace-cards {
        grid-template-columns: 1fr;
    }

    .fl-marketplace-card {
        min-height: auto;
        display: block;
    }

    .fl-card-content {
        width: 100%;
        padding: 25px 20px;
    }

    .fl-card-content h2 {
        font-size: 22px;
    }

    .fl-card-content p {
        max-width: 100%;
    }

    .fl-card-image {
        width: 100%;
        height: 230px;
        position: relative;
        right: auto;
        top: auto;
    }

    .fl-card-steps {
        justify-content: space-between;
        gap: 3px;
    }

    .fl-mini-step {
        min-width: 50px;
    }

    .fl-step-arrow {
        display: none;
    }


    /* How It Works */

    .fl-how-it-works {
        padding: 35px 0 25px;
    }

    .fl-section-title {
        margin-bottom: 25px;
    }

    .fl-section-title h3 {
        font-size: 20px;
    }

    .fl-work-flow {
        display: block;
    }

    .fl-work-item {
        width: 100%;
        margin-bottom: 22px;
    }

    .fl-work-icon {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        font-size: 21px;
    }

    .fl-work-content {
        flex: 1;
    }


    /* Statistics */

    .fl-statistics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
        padding: 20px 10px;
    }

    .fl-stat-item {
        flex: none;
        width: 100%;
        display: block;
    }

    .fl-stat-icon {
        margin: 0 auto 8px;
    }

    .fl-stat-item strong {
        font-size: 24px;
    }

    .fl-stat-item span {
        font-size: 10px;
    }

}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {

    .fl-card-content {
        padding: 22px 16px;
    }

    .fl-card-content h2 {
        font-size: 20px;
    }

    .fl-card-content p {
        font-size: 12px;
    }

    .fl-card-steps {
        margin-top: 15px;
    }

    .fl-mini-step span {
        font-size: 15px;
    }

    .fl-mini-step small {
        font-size: 8px;
    }

    .fl-card-image {
        height: 210px;
    }

    .fl-statistics {
        grid-template-columns: 1fr;
    }

    .fl-stat-item {
        display: flex;
    }

}


/* =========================================
   Agricultural CTA Section
========================================= */

.agri-cta-section {
    width: 100%;
    padding: 16px 0;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.agri-cta-wrapper {
    width: calc(100% - 40px);
    max-width: 1320px;
    min-height: 110px;
    margin: 0 auto;
    padding: 15px 105px 15px 145px;

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

    position: relative;
    overflow: hidden;

    background: linear-gradient(
        90deg,
        #f0f7e9 0%,
        #f7faef 50%,
        #eef7e8 100%
    );

    border-radius: 0 22px 22px 0;
}

/* Left Leaf */
.agri-cta-wrapper::before {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -8px;
    width: 105px;
    height: 105px;

    background-image: url("/tpl1/assets/img/cta/cta-left-leaf.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;

    pointer-events: none;
}

/* Right Leaf */
.agri-cta-wrapper::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -10px;
    width: 145px;
    height: 145px;

    background-image: url("../images/cta-right-leaf.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;

    pointer-events: none;
}

/* Content */
.agri-cta-content {
    position: relative;
    z-index: 2;
}

.agri-cta-content h2 {
    margin: 0 0 7px;
    color: #0c3c59;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    font-family: Arial, sans-serif;
}

.agri-cta-content p {
    margin: 0;
    color: #333333;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;

    font-family: Arial, sans-serif;
}

/* Buttons */
.agri-cta-buttons {
    display: flex;
    align-items: center;
    gap: 30px;

    position: relative;
    z-index: 3;
}

/* Common Button */
.agri-btn {
    min-width: 190px;
    height: 44px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 7px;

    text-decoration: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.agri-btn span {
    font-size: 22px;
    line-height: 1;
    margin-top: -2px;
}

/* Farmer Button */
.agri-btn-farmer {
    color: #ffffff;
    background: #69a92f;
}

.agri-btn-farmer:hover {
    color: #ffffff;
    background: #579322;
    transform: translateY(-2px);
}

/* Buyer Button */
.agri-btn-buyer {
    color: #ffffff;
    background: #073d70;
}

.agri-btn-buyer:hover {
    color: #ffffff;
    background: #052f57;
    transform: translateY(-2px);
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1100px) {

    .agri-cta-wrapper {
        padding-left: 100px;
        padding-right: 80px;
    }

    .agri-cta-content h2 {
        font-size: 26px;
    }

    .agri-cta-buttons {
        gap: 15px;
    }

    .agri-btn {
        min-width: 165px;
    }
}

@media (max-width: 850px) {

    .agri-cta-wrapper {
        padding: 25px 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .agri-cta-content h2 {
        font-size: 25px;
    }

    .agri-cta-content p br {
        display: none;
    }
}

@media (max-width: 550px) {

    .agri-cta-wrapper {
        width: calc(100% - 20px);
        padding: 25px 20px;
        border-radius: 15px;
    }

    .agri-cta-content h2 {
        font-size: 21px;
    }

    .agri-cta-content p {
        font-size: 13px;
    }

    .agri-cta-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .agri-btn {
        width: 100%;
        min-width: 0;
    }
}


/*cta css end*/
