/* ========================================
   Section: Types of Feet Problems
   ======================================== */

.feet-problems-section {
    background: #f4f8fd;
}

.feet-badge {
    display: inline-block;
    background: rgba(56, 118, 183, 0.1);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-family: var(--font-primary);
    border: 1px solid rgba(56, 118, 183, 0.2);
}

/* Cards grid */
.feet-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card base */
.feet-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(56, 118, 183, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(56, 118, 183, 0.15);
}

/* Accent middle card */
.feet-card--accent {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(56, 118, 183, 0.18);
}

.feet-card--accent .feet-card-title {
    color: var(--primary-color);
}

/* Image wrap */
.feet-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #e8f0fb, #f0f6ff);
}

.feet-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.feet-card:hover .feet-card-img {
    transform: scale(1.04);
}

/* Number badge */
.feet-card-number {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

/* Card body */
.feet-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feet-card-title {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.feet-card-desc {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 16px;
}

/* Symptoms list */
.feet-card-symptoms {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.feet-card-symptoms li {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #374151;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.feet-card-symptoms li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.7;
}

/* Card CTA */
.feet-card-btn {
    display: block;
    text-align: center;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    margin-top: auto;
}

.feet-card-btn:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-1px);
    text-decoration: none;
}

.feet-card--accent .feet-card-btn {
    background: var(--primary-color);
    color: #ffffff !important;
}

.feet-card--accent .feet-card-btn:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 900px) {
    .feet-cards {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .feet-card-img-wrap { height: 180px; }
}
