/* ==========================================
   WEB EXPORT - SUPPLIER SEARCH SECTION
   Brand: Blue, White & Warm Orange
========================================== */

.we-sourcing-section {
    padding: 38px 20px;
    background:
        radial-gradient(ellipse at top left, rgba(23, 105, 170, 0.06), transparent 48%),
        #ffffff;
}

.we-sourcing-container {
    width: 100%;
    max-width: 1600px;
    min-height: 330px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.75fr 0.85fr;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    background: #ffffff;
    box-shadow:
        0 20px 55px rgba(16, 43, 80, 0.12),
        0 3px 10px rgba(16, 43, 80, 0.04);
}

/* Left search panel */

.we-sourcing-search {
    position: relative;
    padding: 42px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, rgba(79, 154, 225, 0.22), transparent 35%),
        linear-gradient(120deg, #0b1d40 0%, #123a70 58%, #1769aa 100%);
}

.we-sourcing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #ffca65;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.we-sourcing-eyebrow i {
    font-size: 16px;
}

.we-sourcing-search h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.we-sourcing-search h2 span {
    color: #a9d8ff;
}

.we-sourcing-description {
    max-width: 580px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

/* Search input */

.we-sourcing-form {
    width: 100%;
    max-width: 760px;
    min-height: 68px;
    padding: 7px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 2px solid rgba(255, 202, 101, 0.9);
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.we-sourcing-form:focus-within {
    border-color: #a9d8ff;
    box-shadow: 0 0 0 4px rgba(169, 216, 255, 0.2);
}

.we-sourcing-search-icon {
    flex-shrink: 0;
    margin-left: 14px;
    color: #71839b;
    font-size: 21px;
}

.we-sourcing-form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172b4d;
    font-size: 15px;
}

.we-sourcing-form input::placeholder {
    color: #8290a4;
    opacity: 1;
}

.we-sourcing-search-btn {
    min-width: 140px;
    min-height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #2582ef, #1769d2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.we-sourcing-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(23, 105, 210, 0.28);
}

/* Popular searches */

.we-sourcing-popular {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
    font-size: 12px;
}

.we-sourcing-popular>span {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 600;
}

.we-sourcing-popular a {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.we-sourcing-popular a:hover {
    border-color: rgba(255, 202, 101, 0.7);
    background: rgba(255, 255, 255, 0.15);
}

/* Right requirement panel */

.we-sourcing-requirement {
    min-width: 0;
    padding: 34px 34px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.38), transparent 38%),
        linear-gradient(140deg, #ffdc83 0%, #ffc247 52%, #ffad24 100%);
    color: #10264b;
}

.we-requirement-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 20px rgba(79, 54, 5, 0.08);
    color: #12366b;
    font-size: 25px;
}

.we-requirement-label {
    margin-bottom: 8px;
    color: #65420a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.we-sourcing-requirement h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #0b2044;
    font-size: clamp(23px, 2vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.we-requirement-divider {
    width: 48px;
    height: 5px;
    margin: 17px 0;
    border-radius: 10px;
    background: #0b2044;
}

.we-sourcing-requirement p {
    position: relative;
    z-index: 1;
    max-width: 330px;
    margin: 0 0 22px;
    color: #493812;
    font-size: 14px;
    line-height: 1.75;
}

.we-requirement-btn {
    position: relative;
    z-index: 2;
    min-height: 50px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    background: linear-gradient(135deg, #102b55, #071832);
    box-shadow: 0 8px 18px rgba(8, 28, 59, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.we-requirement-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(8, 28, 59, 0.28);
    color: #ffffff;
}

.we-requirement-btn i {
    font-size: 16px;
}

.we-requirement-decoration {
    position: absolute;
    right: -22px;
    bottom: -32px;
    color: rgba(255, 255, 255, 0.24);
    font-size: 145px;
    transform: rotate(-14deg);
    pointer-events: none;
}

/* Tablet */

@media (max-width: 991px) {
    .we-sourcing-section {
        padding: 28px 18px;
    }

    .we-sourcing-container {
        grid-template-columns: 1.35fr 0.9fr;
    }

    .we-sourcing-search {
        padding: 34px 28px;
    }

    .we-sourcing-requirement {
        padding: 30px 25px;
    }

    .we-sourcing-search h2 {
        font-size: 34px;
    }

    .we-sourcing-form {
        gap: 9px;
    }

    .we-sourcing-search-btn {
        min-width: 112px;
        padding: 0 13px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .we-sourcing-section {
        padding: 22px 14px;
    }

    .we-sourcing-container {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .we-sourcing-search {
        padding: 30px 22px 27px;
    }

    .we-sourcing-search h2 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .we-sourcing-description {
        margin-bottom: 21px;
        font-size: 14px;
    }

    .we-sourcing-form {
        min-height: 60px;
        gap: 9px;
        border-radius: 13px;
    }

    .we-sourcing-search-icon {
        margin-left: 8px;
        font-size: 18px;
    }

    .we-sourcing-form input {
        height: 44px;
        font-size: 13px;
    }

    .we-sourcing-search-btn {
        min-width: 48px;
        min-height: 44px;
        padding: 0 13px;
        font-size: 0;
    }

    .we-sourcing-search-btn i {
        font-size: 19px;
    }

    .we-sourcing-popular {
        gap: 7px;
        margin-top: 15px;
    }

    .we-sourcing-popular a {
        padding: 5px 9px;
        font-size: 11px;
    }

    .we-sourcing-requirement {
        padding: 27px 22px 30px;
    }

    .we-requirement-icon {
        width: 49px;
        height: 49px;
        margin-bottom: 15px;
        border-radius: 13px;
        font-size: 22px;
    }

    .we-sourcing-requirement h3 {
        font-size: 26px;
    }

    .we-requirement-divider {
        margin: 14px 0;
    }

    .we-sourcing-requirement p {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .we-requirement-decoration {
        right: -17px;
        bottom: -27px;
        font-size: 115px;
    }
}

/* Small mobile screens */

@media (max-width: 380px) {
    .we-sourcing-search {
        padding-right: 16px;
        padding-left: 16px;
    }

    .we-sourcing-search h2 {
        font-size: 28px;
    }

    .we-sourcing-form {
        gap: 6px;
    }

    .we-sourcing-search-icon {
        margin-left: 5px;
    }

    .we-sourcing-form input {
        font-size: 12px;
    }

    .we-sourcing-search-btn {
        min-width: 42px;
        padding: 0 10px;
    }
}