/* Front Page Inline Styles - Extracted from front-page.php */

/* Trust Section */
.trust-section {
    padding: 60px 0;
    margin: 40px 0;
}

.trust-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.trust-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.trust-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: unset;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
}

.trust-feature h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.trust-feature p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* City Items */
.city-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    transition: none;
}

.city-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.3s ease;
}

.city-item:hover::before {
    transform: scale(1.15);
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.city-link {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    text-decoration: none;
    color: white;
    border: none;
}

.city-link:hover {
    background-color: transparent !important;
    border: none;
}

.city-content {
    text-align: center;
    padding: 20px;
}

.city-name {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.city-clinic-count {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.city-button {
    margin-top: 10px;
}

.city-link-text {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.city-item:hover .city-link-text {
    opacity: 1;
    transform: translateY(0);
}

/* Top Clinics Section */
.top-clinics-section {
    padding: 60px 0;
    margin: 40px 0;
}

.top-clinics-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 50px;
}

.top-clinics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.top-clinic-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-clinic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.clinic-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.clinic-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.top-clinic-item:hover .clinic-thumbnail {
    transform: scale(1.05);
}

.clinic-content {
    padding: 20px;
}

.clinic-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clinic-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.clinic-location svg {
    flex-shrink: 0;
}

.clinic-rating {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.clinic-card-button {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.clinic-button-text {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.top-clinic-item:hover .clinic-button-text {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

.top-clinics-footer {
    text-align: center;
}

.view-all-button {
    display: inline-block;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-all-button:hover {
    transform: translateY(-2px);
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .trust-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .trust-content h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .top-clinics-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .top-clinics-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .top-clinics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 20px 0;
        margin: 20px 0;
    }
    
    .trust-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .trust-content h2 {
        font-size: 1.8rem;
    }
    
    .trust-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .trust-feature {
        padding: 25px 15px;
    }
    
    .trust-icon {
        width: 70px;
        height: 70px;
    }
    
    .trust-feature h3 {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-clinics-section {
        padding: 20px 0;
    }
    
    .top-clinics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .clinic-image {
        height: 180px;
    }
    
    .clinic-content {
        padding: 15px;
    }
    
    .clinic-name {
        font-size: 1.2rem;
    }
}

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