/* ============================================ */
/* Pet's Heaven Veterinary Services Page Styles */
/* ============================================ */

/* Clinic Hero Section */
.clinic-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.clinic-hero .slides-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.clinic-hero .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.clinic-hero .slide.active {
    opacity: 1;
}

.clinic-hero .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.clinic-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.clinic-hero .hero-content {
    max-width: 750px;
    padding: 20px;
}

.clinic-hero .hero-content h1 {
    font-size: 48px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease;
}

.clinic-hero .hero-content p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 650px;
    margin: 0 auto 28px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease;
}

.clinic-hero .hero-content .btn-hero {
    display: inline-block;
    padding: 14px 42px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
    animation: fadeInUp 1.2s ease;
}

.clinic-hero .hero-content .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #8b0000, #c0392b);
}

.clinic-hero .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-hero .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.clinic-hero .prev { left: 20px; }
.clinic-hero .next { right: 20px; }

.clinic-hero .slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.clinic-hero .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.clinic-hero .dot.active {
    background: white;
    width: 25px;
    border-radius: 10px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Services Section */
.services-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 45px;
}

.services-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
    padding: 35px 22px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 57, 43, 0.15);
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-price {
    font-size: 17px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 16px;
}

.book-btn {
    display: inline-block;
    padding: 11px 32px;
    background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.25);
    margin-top: auto;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
}

/* Doctors Section */
.doctors-section {
    padding: 70px 0;
    background: white;
}

.doctors-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 45px;
}

.doctors-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    margin: 15px auto 0;
    border-radius: 2px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 480px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(192, 57, 43, 0.2);
}

.doctor-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image i {
    font-size: 80px;
    color: white;
}

.doctor-info {
    padding: 25px;
}

.doctor-info h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 6px;
}

.doctor-info .specialty {
    color: #c0392b;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.doctor-info .experience {
    color: #f5576c;
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 14px;
}

.doctor-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctor-social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.doctor-social a {
    width: 38px;
    height: 38px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0392b;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 15px;
}

.doctor-social a:hover {
    background: linear-gradient(135deg, #c0392b, #8b0000);
    color: white;
    transform: scale(1.1);
}

/* Appointment Section */
.appointment-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-section .slides-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.appointment-section .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.appointment-section .slide.active {
    opacity: 1;
}

.appointment-section .overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.appointment-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.appointment-content h2 {
    font-size: 44px;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease;
}

.appointment-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease;
}

.appointment-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #ffd700;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1.2s ease;
}

.appointment-btn:hover {
    transform: translateY(-3px);
    background: #ffed4e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.appointment-section .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-section .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.appointment-section .prev { left: 20px; }
.appointment-section .next { right: 20px; }

.appointment-section .slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.appointment-section .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.appointment-section .dot.active {
    background: white;
    width: 25px;
    border-radius: 10px;
}

/* Facilities Section */
.facilities-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.facilities-section h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 45px;
}

.facilities-section h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #c0392b, #8b0000);
    margin: 15px auto 0;
    border-radius: 2px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-item {
    text-align: center;
    padding: 28px 18px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(192, 57, 43, 0.1);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(192, 57, 43, 0.15);
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B6B, #EE5A5A);
    color: white;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.facility-item.coming-soon .facility-icon {
    background: linear-gradient(135deg, #FF6B6B, #EE5A5A);
}

.facility-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #c0392b 0%, #8b0000 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s;
}

.facility-item:hover .facility-icon {
    transform: scale(1.06);
    border-radius: 24px;
}

.facility-icon i {
    font-size: 28px;
    color: white;
}

.facility-item h3 {
    font-size: 17px;
    color: #2c3e50;
    margin-bottom: 6px;
}

.facility-item p {
    color: #888;
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .clinic-hero { height: 460px; }
    .clinic-hero .hero-content h1 { font-size: 38px; }
    .appointment-content h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0 10px; }
    .clinic-hero { height: 400px; }
    .clinic-hero .hero-content h1 { font-size: 28px; }
    .clinic-hero .hero-content p { font-size: 14px; margin-bottom: 20px; }
    .appointment-section { padding: 60px 0; min-height: 340px; }
    .appointment-content h2 { font-size: 28px; }
    .appointment-content p { font-size: 14px; margin-bottom: 22px; }
    .appointment-btn { padding: 13px 34px; font-size: 15px; }
    .clinic-hero .slider-arrow, .appointment-section .slider-arrow { width: 36px; height: 36px; font-size: 16px; }
}

@media (max-width: 480px) {
    .facilities-grid { grid-template-columns: 1fr; }
    .clinic-hero { height: 360px; }
    .clinic-hero .hero-content h1 { font-size: 24px; }
    .appointment-content h2 { font-size: 24px; }
}
