/* ============================================================
   Partner Finder Styles
   File: /assets/css/partner-finder.css
   Matches your existing HTML class structure exactly
   ============================================================ */

 /* ========================================
       HERO SECTION
       ======================================== */
.hero {
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: 100px 0 0px;
    text-align: center;
    color: #ffffff;
}

.hero-graphic {
    width: 100%;
    position: absolute;
    bottom: 0;
}

/* CSS-only futuristic grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.hero__title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 16px;
}

.gradient-text {
    background: linear-gradient(90deg, rgba(143, 195, 255, 1) 0%, rgba(169, 132, 255, 1) 50%, rgba(230, 50, 58, 1) 100%);
    ;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-line {
    margin-top: 60px;
    border-width: 1px;
    border-style: solid;
    border-image: linear-gradient(to right, darkblue, darkorchid) 1;
}

.hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin: 0 auto 40px;
}

.hero__buttons {
    display: flex;
    gap: 34px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}


/* ── Partners List Section ── */
.partners-list-section {
    padding: 60px 0 80px;
    background: #fff;
}


/* ── Filter Bar ── */
.partners-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.filter-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.filter-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

/* Select Dropdowns */
.filter-select {
    padding: 11px 40px 11px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background-color: #ffffff;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23555" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1.5px solid #dde0e4;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    min-width: 200px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-select:hover {
    border-color: #aaa;
}

.filter-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

/* Search Input */
.filter-right {
    display: flex;
    align-items: center;
}

.filter-search {
    padding: 11px 18px;
    font-size: 14px;
    color: #1a1a1a;
    background: #ffffff;
    border: 1.5px solid #dde0e4;
    border-radius: 8px;
    outline: none;
    min-width: 240px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-search::placeholder {
    color: #aaa;
}

.filter-search:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}


/* ── Results Count ── */
.partners-results-count {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}

.partners-results-count strong {
    color: #1a1a1a;
}


/* ── Loading State ── */
.partners-loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.partners-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e8e8e8;
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: partnerSpin 0.75s linear infinite;
    margin: 0 auto 16px;
}

@keyframes partnerSpin {
    to { transform: rotate(360deg); }
}

.partners-loading p {
    font-size: 15px;
    margin: 0;
}


/* ── No Results ── */
.partners-no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 16px;
}


/* ── Partners Grid ── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* ── Partner Card ── */
.partner-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
    border-color: #0066cc;
}

/* Partner Logo */
.partner-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 8px;
}

/* Logo placeholder when no image */
.partner-logo--placeholder {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Partner Name */
.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 12px 0;
    line-height: 1.3;
    text-transform: capitalize;
}

/* Card paragraphs */
.partner-card p {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.partner-card p strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Website Link on Card */
.partner-website-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.partner-website-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Description */
.partner-description {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin-top: 4px !important;
}

/* Card action buttons */
.partner-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.partner-card__link {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    background: #0066cc;
    color: #fff;
}

.partner-card__link:hover {
    background: #0052a3;
    color: #fff;
}

.partner-card__link--secondary {
    background: transparent;
    color: #0066cc;
    border: 1.5px solid #0066cc;
}

.partner-card__link--secondary:hover {
    background: #0066cc;
    color: #fff;
}


/* ── Responsive ── */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .partners-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-right {
        width: 100%;
    }

    .filter-search {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .filter-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .filter-select {
        width: 100%;
        min-width: unset;
    }

    .partners-filter-bar {
        padding: 20px;
    }
}


.cta-primary__texts {
    color: #ffffff !important;
}

.cta-primary__icons {
    background: #ffffff !important;
}

.cta-primary-containers {
    background-color: transparent !important;
}

.red-icon {
    width: 14px !important;
}

/* Section 4 - Latest Insights  */
.latest-insights {
    position: relative;
    height: auto;
    padding: 60px 100px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
    border: var(--border-light-blue);
    border-radius: 20px;
    background: var(--section-gradient);
    margin-block: var(--spacer-120);

    .left-content {
        max-width: 390px;
        width: 100%;
        height: auto;

        .para-primary {
            margin-top: 8px;
        }
    }

    .triangle_graphic {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    .form {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        width: 100%;
        max-width: 625px;
        height: auto;

        .screen-reader-response {
            display: none;
        }

        .form-row {
            width: 100%;
            display: flex;
            gap: 24px;
            justify-content: start;
            align-items: start;
            margin-top: 20px;

            p {
                width: 50%;
            }

        }

        .form-row-inner {
            p {
                width: 100%;
                display: flex;
                justify-content: start;
                align-items: start;
            }
        }

        input,
        select {
            padding: 15px;
            border-radius: 8px;
            border: 1px solid #D8E5F4;
            background: #FFF;
            width: 100%;
            font-family: "Sora", sans-serif;
            color: var(--text-black-primary);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
        }

        select:focus-visible,
        input:focus-visible {
            outline: 0;
        }

        input::placeholder,
        select::placeholder {
            color: var(--text-grey2);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
        }

        input[type='submit'] {
            border-radius: 8px;
            background: #E6323A;
            padding: 16px 32px;
            border: none;
            color: #fff;
            margin-top: 40px;
            width: fit-content;
            color: var(--text-white);
            font-size: 16px;
            font-weight: 400;
            line-height: 22px;
            letter-spacing: 0;
        }

        select[name="country-code"] {
            width: fit-content;
            padding-right: 0;
            border-right: 0;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            font-family: "Sora", sans-serif;
            color: var(--text-black-primary);
            font-size: 14px;
            font-weight: 400;
            line-height: normal;
            padding: 15px;
            padding-right: 0;
        }

        input[type='tel'] {
            width: 185px;
            padding-left: 15px;
            border-left: 0;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }

        .wpcf7-not-valid-tip {
            font-size: 14px;
        }

        .wpcf7-response-output {
            margin-top: 20px;
            font-size: 14px;
        }

        &:last-child {
            .form-row {
                p {
                    width: 100%;
                }

            }
        }

        @media screen and (max-width: 1024px) {
            & {

                .form-row {
                    flex-direction: column;
                }

                input[type='tel'] {
                    width: 100%;
                }

                input[type='submit'] {
                    width: 100%;
                    font-size: 14px;
                    line-height: 20px;
                    margin-top: 32px;
                }
            }
       