/* poultryitems/static/poultryitems/css/veterinary_consultancy.css */

.veterinary-consultancy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.consultancy-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.hero-image {
    flex: 0 0 200px;
    text-align: center;
}

.hero-image i {
    font-size: 8rem;
    opacity: 0.8;
}

/* Services Overview */
.services-overview {
    margin-bottom: 60px;
}

.services-overview h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Consultants List */
.consultants-list h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.consultant-items {
    list-style: none;
    padding: 0;
}

.consultant-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-left: 5px solid #667eea;
}

.consultant-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.consultant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
}

.consultant-info {
    flex: 1;
}

.consultant-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
    cursor: pointer;
}

.consultant-title {
    font-size: 1.1rem;
    opacity: 0.9;
}

.consultant-badge {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.consultant-badge.available {
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
}

.consultant-badge.offline {
    background: rgba(149, 165, 166, 0.2);
    color: #7f8c8d;
}

.consultant-details {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background-color: #f8f9fa;
}

.consultant-details p {
    margin: 0;
    color: #495057;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.consultant-details p strong {
    color: #2c3e50;
    margin-right: 8px;
    min-width: 100px;
}

.rating {
    color: #f39c12;
    margin-right: 10px;
}

.rating-count {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.dropdown.active {
    max-height: 1000px;
}

.description {
    padding: 25px;
    margin: 0;
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
    border-bottom: 1px solid #e9ecef;
}

.consultation-options {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
}

.consultation-options h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.consultation-option {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.option-type {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.option-price {
    display: block;
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.book-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.availability {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
}

.availability h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.availability-slots {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.time-slot {
    background: #e8f4fc;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #3498db;
}

.time-slot.emergency {
    background: #ffeaa7;
    color: #d35400;
}

.social-links {
    display: flex;
    justify-content: center;
    padding: 25px;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link:nth-child(1) { background: #3b5998; }
.social-link:nth-child(2) { background: #0077b5; }
.social-link:nth-child(3) { background: #d44638; }
.social-link:nth-child(4) { background: #25d366; }
.social-link:nth-child(5) { background: #00aff0; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #7f8c8d;
}

.close-modal:hover {
    color: #2c3e50;
}

.modal-content h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    outline: none;
}

.submit-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultancy-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-image i {
        font-size: 5rem;
    }
    
    .consultant-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .consultant-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .availability-slots {
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 20px;
    }
}

/* Animation for consultant items */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.consultant-item {
    animation: slideInUp 0.6s ease forwards;
}

.consultant-item:nth-child(2) {
    animation-delay: 0.1s;
}

.consultant-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* No results message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 1.2rem;
    display: none;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}


























































.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #cfcfcf;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background-color: #f8bc6d;
    text-decoration: none;
    border: 1px solid #87dfeb;
    color: #007bff;
}