/* =========================================
   GLOBAL FIX – horizontal scroll band karo
   ========================================= */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===========================
   PARTNERS / DEVELOPERS SECTION
   =========================== */

.partners-section {
    padding: 32px 16px 28px;
    background:
        radial-gradient(circle at 0% 0%, rgba(191, 219, 254, 0.35), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(221, 239, 253, 0.35), transparent 55%),
        #f8fafc;
}

.partners-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- Heading ---- */
.partners-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 18px;
}

.partners-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.partners-head h2 {
    margin: 10px 0 6px;
    font-size: 22px;
    font-weight: 650;
    color: #111827;
}

.partners-head p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

/* ========================================
   DESKTOP GRID – SINGLE-SINGLE LOGO CARDS
   ======================================== */

/* default: MOBILE FIRST -> desktop grid hidden */
.partners-logos-desktop {
    display: none;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: stretch;
}

/* Single logo card (desktop grid me use hoga) */
.partner-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(148, 163, 184, 0.08);
    min-height: 70px;
    min-width: 140px;
    max-width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    display: block;
    filter: saturate(1.05);
}

/* ==============================
   MOBILE SLIDER (3 SLIDES × 4 LOGOS)
   ============================== */

.partners-slider-shell {
    margin-top: 18px;
    position: relative;
    overflow: hidden;
}

.partners-slider-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* har slide full width */
.partners-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 4px 4px 2px;
}

/* slider ke andar wale logos ko chhote cards jaisa banao */
.partners-slide img {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(148, 163, 184, 0.08);
    width: 100%;
    height: 72px;
    object-fit: contain;
    display: block;
    filter: saturate(1.05);
}

/* Dots for mobile slider */
.partners-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.partners-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: #d1d5db;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition:
        width 0.18s ease,
        background-color 0.18s ease,
        opacity 0.18s ease;
}

.partners-dot.is-active {
    width: 14px;
    background: #0d6efd;
    opacity: 1;
}

/* ===========================
   DESKTOP / TABLET (>= 768px)
   =========================== */
@media (min-width: 768px) {
    .partners-section {
        padding: 40px 20px 32px;
    }

    /* DESKTOP: grid ON, slider OFF */
    .partners-logos-desktop {
        display: flex;
    }

    .partners-slider-shell {
        display: none;
    }

    .partner-card {
        min-width: 160px;
        max-width: 200px;
        min-height: 76px;
    }

    .partner-card img {
        max-height: 44px;
    }
}

/* ===========================
   MOBILE (<= 640px)
   =========================== */
@media (max-width: 640px) {
    .partners-section {
        padding: 26px 12px 22px;
    }

    .partners-head h2 {
        font-size: 18px;
    }

    /* MOBILE: desktop grid OFF, slider ON */
    .partners-logos-desktop {
        display: none;
    }

    .partners-slider-shell {
        display: block;
        -webkit-overflow-scrolling: touch;
    }

    .partners-slide img {
        height: 68px;
        padding: 8px 12px;
        border-radius: 12px;
    }
}


/* ==============================
   SEARCH BY CITY – LIGHT + PREMIUM
   ============================== */

.city-section {
    padding: 22px 16px 10px;
    background:
        radial-gradient(circle at 0% 0%, rgba(191, 219, 254, 0.28), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(221, 239, 253, 0.26), transparent 55%),
        #f8fafc;
}

.city-shell {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 14px 16px 16px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border: 1px solid #e5e7eb;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.10),
        0 0 0 1px rgba(148, 163, 184, 0.10);
}

/* top row: title + search bar */
.city-head-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.city-title-main {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

/* small search bar */
.city-search-form {
    width: 100%;
}

.city-search-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 32px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.city-search-icon {
    position: absolute;
    left: 11px;
    font-size: 13px;
    opacity: 0.8;
}

.city-search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 13px;
    color: #111827;
}

.city-search-input::placeholder {
    color: #9ca3af;
}

/* city pills row */
.city-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* city pill button – bootstrap-ish */
.city-pill-btn {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    cursor: pointer;
    outline: none;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.city-pill-btn:hover {
    background-color: #0d6efd;      /* bootstrap style primary blue */
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

/* active pill */
.city-pill-btn.is-active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

/* ========== DESKTOP: more premium look ========== */
@media (min-width: 768px) {
    .city-section {
        padding: 26px 18px 14px;
    }

    .city-shell {
        border-radius: 22px;
        padding: 18px 22px 18px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .city-head-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 6px;
    }

    .city-title-main {
        font-size: 18px;
        letter-spacing: 0.01em;
    }

    .city-search-form {
        max-width: 380px;
    }

    .city-search-inner {
        padding: 8px 14px 8px 34px;
    }

    .city-pills-row {
        gap: 10px;
    }

    .city-pill-btn {
        font-size: 13px;
        padding: 7px 16px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        border-color: #d1d5db;
    }

    .city-pill-btn::before {
        content: "🏙";
        margin-right: 6px;
        font-size: 13px;
        opacity: 0.85;
    }

    .city-pill-btn:hover {
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
    }
}
