@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ═══════════════════════════════════════════
   PARTNER HOSPITALS SECTION
═══════════════════════════════════════════ */
.ph-section {
    position: relative;
    padding: 80px 20px 100px;
    background: #ffffff;
    overflow: hidden;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* ── Background blobs ── */
.ph-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.ph-blob-1 {
    width: 400px; height: 400px;
    background: #4fa8d6;
    top: 20%; left: -100px;
}
.ph-blob-2 {
    width: 300px; height: 300px;
    background: #1a6fa8;
    bottom: 10%; right: -50px;
}

.ph-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Section Title ── */
.ph-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 500;
    color: #111827;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.02em;
}

/* ── Grid ── */
.ph-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* ── Single Card ── */
.ph-card {
    opacity: 0;
    transform: translateY(30px);
    animation: phFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

@keyframes phFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.ph-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #f8fafc 0%, #dbeafe 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ph-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(26,111,168,0.12);
}

/* Image Area */
.ph-card-image-wrap {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
}

.ph-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ph-card-inner:hover .ph-card-img {
    transform: scale(1.05);
}

.ph-img-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(248,250,252,0) 0%, rgba(248,250,252,1) 100%);
}

.ph-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Content Area */
.ph-card-content {
    padding: 20px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ph-hospital-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ph-hospital-location {
    font-size: 14px;
    color: #475569;
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* Features List */
.ph-features-list {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0; /* Pushes to bottom */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ph-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ph-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.ph-icon-location { color: #64748b; }
.ph-icon-shield {
    background: #3b82f6;
    color: #ffffff;
}
.ph-icon-shield svg { width: 10px; height: 10px; }

.ph-icon-plus {
    background: #22c55e;
    color: #ffffff;
}
.ph-icon-plus svg { width: 12px; height: 12px; }

.ph-feature-text {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
    .ph-section { padding: 60px 16px; }
    .ph-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .ph-card-content { padding: 16px 20px 20px; }
    .ph-hospital-name { font-size: 15px; }
}

@media (min-width: 1024px) {
    .ph-grid { grid-template-columns: repeat(5, 1fr); }
}
