/* ═══════════════════════════════════════════
   CARE MART / AI HEALTHCARE SECTION
═══════════════════════════════════════════ */

#care-mart {
    position: relative;
    z-index: 1;
    padding: 96px 0;
    background: var(--ink-2);
}

/* ── Header ── */
.mart-inner {
    text-align: center;
    margin-bottom: 52px;
}

.mart-inner h2 {
    color: white;
    margin-bottom: 12px;
}

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

/* ── Mart Item ── */
.mart-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-xl);
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mart-item:hover {
    border-color: rgba(245, 197, 24, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 197, 24, 0.08);
}

/* ── Tag ── */
.mart-tag {
    display: inline-block;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.25);
    color: var(--yellow);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 10px;
    border-radius: var(--r-full);
    margin-bottom: 14px;
}

/* ── Icon ── */
.mart-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.caremart-icon-img {
    width: 80px;
    height: 80px;
}

/* ── Text ── */
.mart-item h4 {
    font-size: 0.88rem;
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
}

.mart-item p {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* ── Shop Now Button ── */
.mart-item .btn-yellow {
    font-size: 0.8rem;
    padding: 10px 18px;
}


/* ═══════════════════════════════════════════
   CARE MART — MAINTENANCE MODAL CSS
   Add after your existing #care-mart styles
═══════════════════════════════════════════ */

/* Make every mart-item show pointer and the yellow hover */
.mart-item {
    cursor: pointer;
}

/* ── Backdrop ── */
.mart-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mart-modal-bg.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Modal box ── */
.mart-modal {
    background: rgba(10, 14, 28, 0.98);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: 26px;
    width: 100%;
    max-width: 480px;
    padding: 40px 36px 32px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(245, 197, 24, 0.08),
        0 0 80px rgba(245, 197, 24, 0.05);
}

.mart-modal-bg.open .mart-modal {
    transform: translateY(0) scale(1);
}

/* ── Animated background orb ── */
.mart-modal-orb {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: martOrbPulse 3s ease-in-out infinite;
}

@keyframes martOrbPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* ── Close button ── */
.mart-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    line-height: 1;
    transition: all 0.2s;
    z-index: 2;
}

.mart-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ── Wrench icon ring ── */
.mart-modal-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mart-modal-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid rgba(245, 197, 24, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    animation: martIconWiggle 3.5s ease-in-out infinite;
}

@keyframes martIconWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    40% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-4deg);
    }

    80% {
        transform: rotate(4deg);
    }
}

/* ── Tag ── */
.mart-modal-tag {
    display: inline-block;
    background: rgba(245, 197, 24, 0.12);
    border: 1px solid rgba(245, 197, 24, 0.28);
    color: var(--yellow);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

/* ── Title ── */
.mart-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

/* ── Description ── */
.mart-modal-desc {
    font-size: 0.855rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 360px;
    margin: 0 auto 22px;
    position: relative;
    z-index: 1;
}

/* ── Feature pills ── */
.mart-modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.mart-feat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

/* ── Divider ── */
.mart-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.18), transparent);
    margin: 0 0 22px;
    position: relative;
    z-index: 1;
}

/* ── Notify row ── */
.mart-modal-cta-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.mart-modal-notify-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.mart-notify-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-family: inherit;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.mart-notify-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.mart-notify-input:focus {
    border-color: rgba(245, 197, 24, 0.4);
}

.mart-notify-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f5c518, #e8a800);
    color: #0a0e1a;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.mart-notify-btn:hover {
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.35);
    transform: translateY(-1px);
}

.mart-notify-btn.sent {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* ── Dismiss link ── */
.mart-modal-dismiss {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    z-index: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mart-modal-dismiss:hover {
    color: rgba(255, 255, 255, 0.55);
}

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

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

    .mart-modal {
        padding: 32px 22px 26px;
    }

    .mart-modal-notify-row {
        flex-direction: column;
    }
}
