@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ==========================================================
   ROOT VARIABLES
========================================================== */
:root {
    /* COLORS */
    --primary-green: #1E8449;
    --secondary-green: linear-gradient(97.87deg, #FFEA00 -39.18%, #006D5B 75.53%);
    --text-dark: #000000;
    --text-light: #ffffff;
    --text-body: #272727;
    --bg-light: #FBFCFE;
    --text-muted: #6E7975;

    /* GRADIENTS */
    --gradient-primary: linear-gradient(97.87deg, #FFEA00 -39.18%, #006D5B 75.53%);

    /* FONTS */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* SIZES */
    --btn-height: 65px;
    --btn-radius: 8px;
    --container-gap: 40px;

    /* SHADOW */
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   HOW SED HERO SECTION
========================================================== */

.hero-section.how-sed-hero-section,
.how-sed-hero-section {
    padding: 80px 0;
    background: #f1f2f6;
}

.how-sed-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    min-width: 0;
    max-width: 100%;
}

.how-sed-hero-left {
    width: 48%;
    min-width: 0;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    background: #FFFBC9;
    color: #166534;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(254, 240, 138, 0.8);
    box-shadow: 0 2px 8px rgba(254, 240, 138, 0.4);
}

.how-sed-hero-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 64px;
    line-height: 72px;
    color: var(--text-dark);
    margin: 0 0 24px 0;
    letter-spacing: -0.5px;
}

.how-sed-hero-heading .highlight-green {
    color: var(--primary-green);
}

.how-sed-hero-text {
    margin: 0 0 32px 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 32px;
    color: var(--text-body);
    max-width: 520px;
}

.how-sed-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.how-sed-hero-buttons .hero-btn {
    min-width: 175px;
    padding: 0 24px;
    height: var(--btn-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 8px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.how-sed-hero-buttons .hero-btn span {
    transition: transform 0.25s ease;
}

.how-sed-hero-buttons .hero-btn:hover span {
    transform: translateX(4px);
}

/* Primary Gradient Button */
.how-sed-hero-buttons .btn-primary {
    color: #ffffff;
    background: linear-gradient(97.87deg, #FFEA00 -39.18%, #006D5B 75.53%);
    border: transparent;
}

.how-sed-hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

/* Outline Button */
.how-sed-hero-buttons .btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-green);
    color: var(--secondary-green);
    transition: all 0.25s ease;
}

.how-sed-hero-buttons .btn-outline:hover {
    background: var(--secondary-green);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(24, 128, 77, 0.25);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 35% 45%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 65% 55%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Right Image */
.how-sed-hero-right {
    width: 52%;
    min-width: 0;
    position: relative;
}

.how-sed-hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
}

.how-sed-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.how-sed-hero-image-wrapper:hover .how-sed-hero-img {
    transform: scale(1.02);
}

@media (max-width: 991px) {

    .hero-section.how-sed-hero-section,
    .how-sed-hero-section {
        padding: 60px 0;
    }

    .how-sed-hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .how-sed-hero-left,
    .how-sed-hero-right {
        width: 100%;
    }

    .how-sed-hero-heading {
        font-size: 48px;
        line-height: 56px;
    }

    .how-sed-hero-text {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        line-height: 28px;
    }

    .how-sed-hero-buttons {
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {

    .hero-section.how-sed-hero-section,
    .how-sed-hero-section {
        padding: 45px 0;
    }

    .how-sed-hero-heading {
        font-size: 36px;
        line-height: 44px;
    }

    .how-sed-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .how-sed-hero-buttons .hero-btn {
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
        height: 54px;
    }
}


/*==============================================================
How SED Workflow
==============================================================*/

.how-sed-workflow {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
}

.how-sed-workflow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    background: rgba(30, 132, 73, 1);
}

.how-sed-workflow::after {
    content: "";
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 320px;
    background: rgba(30, 132, 73, 1);
    border-radius: 50%;
    z-index: -1;
}

.how-sed-workflow .container {
    position: relative;
    z-index: 2;
}

.how-sed-workflow .section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.how-sed-workflow .section-heading span {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.how-sed-workflow .section-heading h2 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    margin: 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.workflow-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: .35s;
}

.workflow-card:hover {
    transform: translateY(-8px);
}

.workflow-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.workflow-top-text {
    flex: 1;
    min-width: 0;
}

.workflow-number {
    display: block;
    font-family: Antonio, sans-serif;
    font-weight: 600;
    font-size: 100px;
    line-height: 0.85;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #8b8080 0%, rgba(30, 132, 73, 0.19) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.workflow-top img {
    flex-shrink: 0;
    width: 170px;
    height: 130px;
    object-fit: contain;
}

.workflow-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 8px 0 0;
    color: #333;
}

.workflow-card p {
    font-size: 15px;
    color: #6E6E6E;
    line-height: 1.8;
    margin: 0;
}

@media (max-width:991px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-sed-workflow .section-heading h2 {
        font-size: 34px;
    }
}

@media (max-width:767px) {
    .how-sed-workflow {
        padding: 56px 0 64px;
    }

    .how-sed-workflow .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .workflow-card {
        padding: 16px 14px;
    }

    .workflow-top {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 16px;
        gap: 14px;
    }

    .workflow-top img {
        width: 100%;
        max-width: 220px;
        height: auto;
        margin: 0 auto;
    }

    .workflow-number {
        font-size: 48px;
        line-height: 1;
    }

    .workflow-card h3 {
        font-size: 18px;
    }

    .workflow-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .how-sed-workflow .section-heading h2 {
        font-size: 26px;
    }

    .how-sed-workflow .section-heading {
        margin-bottom: 28px;
    }

    .how-sed-workflow::before {
        height: 85%;
    }

    .how-sed-workflow::after {
        top: 80%
    }
}


/*==============================================================
  Workflow Video Section (Home How It Works)
==============================================================*/
.workflow-section {
    padding: 75px 0;
    background: #FBFCFE;
}

.workflow-section h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.workflow-section p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-body);
}

.workflow-loop {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 0;
}

.workflow-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    vertical-align: middle;
}

@media (max-width:768px) {
    .workflow-section {
        padding: 48px 0 56px;
        overflow-x: hidden;
    }

    .workflow-section .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
        overflow: hidden;
    }

    .workflow-section h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .workflow-section p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 16px;
        padding: 0 2px;
    }

    .workflow-loop {
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .workflow-video {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        border-radius: 12px;
    }
}

@media (max-width:600px) {
    .workflow-section h2 {
        font-size: 24px;
    }
}


/*====================================================
 Buyers Sellers - Enhanced Ecosystem Section
====================================================*/

.how-sed-bs-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FAFCFA 0%, #FFFFFF 50%, #F4F8F5 100%);
    position: relative;
    border-top: 1px solid #EDF3EE;
    border-bottom: 1px solid #EDF3EE;
}

.how-sed-bs-section .sed-section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.how-sed-bs-section .sed-kicker-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981);
    border-radius: 2px;
}

.how-sed-bs-section .sed-kicker-line:last-child {
    background: linear-gradient(90deg, #10b981, transparent);
}

.how-sed-bs-section .sed-kicker-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #065f46;
    background: #ecfdf5;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-family: var(--font-heading);
}

.how-sed-bs-section .section-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 52px;
}

.how-sed-bs-section .section-heading h2 {
    margin: 0 0 14px 0;
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.how-sed-bs-section .text-green {
    color: #059669;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.how-sed-bs-subtitle {
    margin: 0 auto;
    font-size: 16.5px;
    line-height: 1.65;
    color: #4b5563;
    font-family: var(--font-body);
    max-width: 680px;
}

.bs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.bs-card {
    border: 1px solid #E5E9E7;
    border-radius: 20px;
    padding: 36px 32px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    border-color: rgba(16, 185, 129, 0.35);
}

.bs-card:hover::before {
    opacity: 1;
}

.bs-card-top {
    display: flex;
    flex-direction: column;
}

.bs-header-row {
    margin-bottom: 16px;
}

.bs-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bs-img-wrap {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bs-card:hover .bs-img-wrap {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.38);
}

.bs-img-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.bs-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bs-title-wrap h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    font-family: var(--font-heading);
    line-height: 1.25;
}

.bs-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #047857;
    background: #e6f7ef;
    padding: 3px 10px;
    border-radius: 999px;
    width: fit-content;
    border: 1px solid rgba(5, 150, 105, 0.15);
    font-family: var(--font-heading);
}

.bs-desc {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 20px 0;
    font-family: var(--font-body);
}

.bs-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bs-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.45;
    font-family: var(--font-body);
}

.bs-highlights li i {
    color: #059669;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.bs-card-footer {
    padding-top: 20px;
    border-top: 1px solid #F1F5F3;
    margin-top: auto;
    display: flex;
    align-items: center;
}

.bs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.bs-btn i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.bs-btn:hover i {
    transform: translateX(4px);
}

.bs-btn--primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border: 1px solid transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.bs-btn--primary:hover {
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.35);
}

.bs-btn--outline {
    background: #ffffff;
    border: 1.5px solid #10b981;
    color: #065f46 !important;
}

.bs-btn--outline:hover {
    background: #059669;
    border-color: #059669;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

@media (max-width: 991px) {
    .bs-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .how-sed-bs-section .section-heading h2 {
        font-size: 34px;
    }

    .how-sed-bs-section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .how-sed-bs-section {
        padding: 48px 0;
    }

    .how-sed-bs-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .how-sed-bs-section .section-heading {
        margin-bottom: 28px;
    }

    .how-sed-bs-subtitle {
        font-size: 15px;
        line-height: 1.55;
        padding: 0 2px;
    }

    .bs-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .bs-icon-title {
        align-items: flex-start;
        gap: 12px;
    }

    .bs-title-wrap h3 {
        font-size: 19px;
    }

    .bs-desc {
        font-size: 14px;
    }

    .bs-highlights li {
        font-size: 13px;
    }

    .how-sed-bs-section .section-heading h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .bs-btn {
        width: 100%;
    }
}


/*==================================================
How SED Video Section
==================================================*/

.how-sed-video-section {
    padding: 70px 0;
    background: #f0faf4;
}

.how-sed-video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.how-sed-local-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 991px) {
    .how-sed-video-section {
        padding: 50px 20px;
    }
}

@media (max-width: 767px) {
    .how-sed-video-section {
        padding: 36px 0;
    }

    .how-sed-video-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .how-sed-video-wrapper {
        border-radius: 12px;
        aspect-ratio: 4 / 3;
        min-height: 220px;
    }

    .how-sed-local-video {
        border-radius: 12px;
    }
}


/*==================================================
  CTA SECTION (Global Bottom CTA)
==================================================*/
.cta-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 64px;
    line-height: 72px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.cta-box p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    color: #3E4945;
    margin-bottom: 36px;
}

.cta-buttons {
    display: inline-grid;
    justify-content: center;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin: 0 auto;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, rgb(13, 95, 71) 0%, rgb(0, 109, 91) 100%);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    justify-content: center;
    border: transparent;
}

.cta-section .btn-outline {
    border: 1.5px solid var(--primary-green);
    color: var(--secondary-green);
    padding: 16px 28px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    justify-content: center;
    background: transparent;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 109, 91, 0.3);
    color: #ffffff;
    border: transparent;
}

.cta-section .btn-outline:hover {
    background: linear-gradient(135deg, rgb(13, 95, 71) 0%, rgb(0, 109, 91) 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-buttons span {
    transition: transform 0.3s ease;
}

.cta-section .btn-primary:hover span,
.cta-section .btn-outline:hover span {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cta-box h2 {
        font-size: 42px;
        line-height: 48px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
        width: 100%;
    }
}