/* =========================================
   Hospitals Page Styles
   ========================================= */

@font-face {
    font-family: 'FontBold';
    src: url('../fonts/Euclid_Circular_A_Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'FontNormal';
    src: url('../fonts/Euclid_Circular_A_Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'FontMedium';
    src: url('../fonts/Euclid_Circular_A_Medium.ttf') format('truetype');
}

/* Hero Section */
.hospitals-hero-section h1 {
    font-family: 'FontBold', sans-serif;
    color: #002935;
}

.hospitals-hero-section p {
    font-family: 'FontNormal', sans-serif;
}

/* Hospital Card */
.hospital-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.hospital-card:hover {
    transform: translateY(-8px);
}

.hospital-card-inner {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hospital-card:hover .hospital-card-inner {
    box-shadow: 0 12px 32px rgba(239, 48, 103, 0.15);
}

/* Hospital Image */
.hospital-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.hospital-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hospital-card:hover .hospital-image {
    transform: scale(1.05);
}

.verified-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #EF3067;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 48, 103, 0.3);
}

/* Hospital Info */
.hospital-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hospital-name {
    font-family: 'FontBold', sans-serif;
    font-size: 20px;
    line-height: 26px;
    color: #002935;
    margin-bottom: 8px;
    min-height: 52px;
    height: 50px;
}

.hospital-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'FontNormal', sans-serif;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.location-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Rating */
.hospital-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.rating-star {
    width: 18px;
    height: 18px;
    color: #FFC107;
}

.rating-value {
    font-family: 'FontBold', sans-serif;
    font-size: 16px;
    color: #002935;
}

.rating-count {
    font-family: 'FontNormal', sans-serif;
    font-size: 14px;
    color: #9CA3AF;
}

/* Features */
.hospital-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    min-height: 60px;
}

.feature {
    font-family: 'FontNormal', sans-serif;
    font-size: 12px;
    padding: 6px 12px;
    background: #FFF1F4;
    color: #EF3067;
    border-radius: 12px;
    white-space: nowrap;
}

/* CTA Button */
.hospital-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
    margin-top: auto;
}

.cta-text {
    font-family: 'FontMedium', sans-serif;
    font-size: 16px;
    color: #EF3067;
}

.cta-arrow {
    width: 20px;
    height: 20px;
    color: #EF3067;
    transition: transform 0.3s ease;
}

.hospital-card:hover .cta-arrow {
    transform: translateX(4px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-inner {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    width: 64px;
    height: 64px;
    color: #D1D5DB;
    margin: 0 auto 20px;
}

.no-results-title {
    font-family: 'FontBold', sans-serif;
    font-size: 24px;
    color: #002935;
    margin-bottom: 8px;
}

.no-results-text {
    font-family: 'FontNormal', sans-serif;
    font-size: 16px;
    color: #6B7280;
}

/* CTA Section */
.hospitals-cta-section {
    padding: 0;
}

.cta-wrapper {
    background: linear-gradient(135deg, #EF3067 0%, #FF6B9D 100%);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'FontBold', sans-serif;
    font-size: 32px;
    line-height: 40px;
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-family: 'FontNormal', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: white;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: #EF3067;
    font-family: 'FontMedium', sans-serif;
    font-size: 16px;
    border-radius: 32px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .hospital-name {
        font-size: 18px;
        line-height: 24px;
    }

    .cta-title {
        font-size: 24px;
        line-height: 32px;
    }

    .cta-description {
        font-size: 16px;
        line-height: 24px;
    }

    .cta-wrapper {
        padding: 40px 24px;
        border-radius: 24px;
    }
}
