/* style.css */
.vet-info-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.vet-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.vet-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.vet-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.vet-info-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vet-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.vet-image-wrapper {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.vet-image {
    max-width: 100%;
    max-height: 250px;
    height: auto;
    width: auto;
    transition: transform 0.3s ease;
}

.vet-card:hover .vet-image {
    transform: scale(1.05);
}

.vet-content {
    padding: 1.5rem;
}

.vet-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vet-content h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
}

.vet-specialty {
    color: #00C4B4;
    font-size: 1rem;
    font-weight: 500;
}

.vet-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vet-card.expanded .vet-details {
    max-height: 300px;
}

.vet-details p {
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.vet-details i {
    color: #00C4B4;
    width: 20px;
}

.bio-btn {
    color: #007BFF;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.bio-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

.vet-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vet-card.expanded .vet-buttons {
    opacity: 1;
}

.whatsapp-btn, .call-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    color: #fff !important;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25D366 !important;
}

.whatsapp-btn:hover {
    background: #20b958 !important;
    transform: translateY(-2px);
}

.call-btn {
    background: #007BFF !important;
}

.call-btn:hover {
    background: #0056b3 !important;
    transform: translateY(-2px);
}

/* Popup Styles */
.bio-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.bio-popup-content {
    background: #fff;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.bio-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.bio-close:hover {
    color: #333;
}

.bio-popup h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.bio-details p {
    margin: 0.5rem 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .vet-info-wrapper {
        grid-template-columns: 1fr;
    }
    
    .vet-header h1 {
        font-size: 2rem;
    }
    
    .vet-header p {
        font-size: 1rem;
    }
    
    .vet-image-wrapper {
        max-height: 200px;
    }
    
    .vet-image {
        max-height: 200px;
    }
}