/* Book a Test Skeleton Styles - Same as Preventive Health Checkup */


.top-content .paraslgheading{margin-bottom: 30px;}

.health-package-main{justify-content: flex-start; margin: 50px -15px 0; gap: 30px 0;}
.health-package-item{padding: 0 15px; width: 33.33%;}
.health-package-card{background: var(--white-color); flex-wrap: nowrap; border-radius: 20px; overflow: hidden; position: relative;}
.health-package-card .health-package-left{width: 320px; min-width: 320px; border-radius: 20px; overflow: hidden; padding-bottom: 40%;}
.health-package-card .health-package-right{width: 100%; padding: 25px 40px;}
.health-package-card .health-package-right .parasmdheading{color: var(--light-black); font-weight: 700; margin-bottom: 10px; padding-right: 50px;}
.health-package-card .health-package-right .parasmdheading.hasdiscountbadge{padding-right: 48px;}
.health-package-card .health-package-right p{color: var(--gray-color); margin-bottom: 15px;}
.health-package-card .health-package-right .paraslgheading{color: var(--light-black); font-weight: 700; margin-bottom: 10px;} 
.health-package-card .health-package-right .discount-badge{background-color: #2F5CA2; color: #fff; font-size: 12px; position: absolute; right: 20px; font-weight: 700; top: 0; padding: 7px 5px; text-align: center; width: 42px; border-radius: 0 0 8px 8px; line-height: 14px;}
.health-package-card .health-package-right .discount-badge span{display: block;}
.health-package-card .health-package-right .price .mrp-price{ color: #aaa; font-weight: normal; font-size: 70%; text-decoration: line-through;}
.health-package-card .compare-btn{position: absolute; top: 30px; right: 20px; display: flex; align-items: center; gap: 10px; cursor: pointer;} 
.health-package-card #compare{width: 13px; height: 13px; margin: 0; position: relative; top: 1px;}
.health-package-card .compare-btn label{font-size: 16px; color: var(--light-black); text-transform: uppercase; font-weight: 600; cursor: pointer;}

.filter-doctor-frm{flex-wrap: nowrap; align-items: center;}
.filter-doctor-frm{ margin: 0 -15px;}
.filter-doctor-frm .form-group{width: 22%; padding: 0 15px; margin-bottom: 0;}
.filter-doctor-frm .form-group select.form-control{padding-right: 30px;}


@media screen and (min-width:768px){
    .health-package-card{height: 100%;}
}

@media screen and (max-width:1499px) {
.health-package-card .health-package-left{width: 260px; min-width: 260px;}
}

@media screen and (max-width:1399px) {
.health-package-card .health-package-left{width: 220px; min-width: 220px;}
.health-package-card .health-package-right{padding: 20px;}
.health-package-card .health-package-right .parasmdheading, .health-package-card .health-package-right p, .health-package-card .health-package-right .paraslgheading{margin-bottom: 5px;}
}

@media screen and (max-width:1199px) {
.health-package-card{flex-wrap: wrap;}
.health-package-card .health-package-left{width: 100%; min-width: 100%; border-radius: 20px 20px 0 0;}
.health-package-card .health-package-right{width: 100%; padding: 15px 20px 20px;}
.health-package-btn .anchor-button{width: auto;}
.health-package-item{width: 50%;}
}

@media screen and (max-width:767px) {
.health-package-main{margin-top: 20px; gap: 20px 0;}
.health-package-item{width: 100%;}
.health-package-card{flex-wrap: nowrap;}
.health-package-card .health-package-left{width: 260px; min-width: 260px; border-radius: 20px;}
.health-package-card .health-package-right{padding: 20px;}
.health-package-card .health-package-right .parasmdheading{margin-bottom: 5px; width: 170px; padding-right: 0px;}
.health-package-card .health-package-right p{margin-bottom: 10px;}
.filter-doctor-frm{flex-wrap: wrap;}
.filter-doctor-frm .form-group{width: 100%; margin-bottom: 10px;}
.filter-doctor-frm .anchor-bg-btn{ margin-left: 15px; margin-top: 15px;}
.filter-doctor-frm .anchor-bg-btn:last-child{margin-right: auto;}
}
@media screen and (max-width:569px) {
.health-package-card{flex-wrap: wrap;}
.health-package-card .health-package-left{width: 100%; min-width: 100%; border-radius: 20px 20px 0 0;}
.health-package-card .health-package-right{width: 100%; padding: 15px 20px 20px;}
}

/* Enhanced fade-in animation */
@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Enhanced shimmer animation */
  @keyframes shimmer {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  /* Pulse animation for variation */
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }
  
  /* Background shimmer for larger elements */
  @keyframes shimmerBackground {
    0% {
      background-position: -200% 0;
    }
    100% {
      background-position: 200% 0;
    }
  }
  
  /* Container for skeleton animations */
  .book-a-test-skeleton {
    width: 100%;
    animation: fadeIn 0.5s ease-out;
    
    /* Staggered animation for children */
    > * {
      animation-delay: calc(var(--skeleton-delay, 0) * 0.1s);
    }
    
    > *:nth-child(1) { --skeleton-delay: 0; }
    > *:nth-child(2) { --skeleton-delay: 1; }
    > *:nth-child(3) { --skeleton-delay: 2; }
    > *:nth-child(4) { --skeleton-delay: 3; }
    > *:nth-child(5) { --skeleton-delay: 4; }
    > *:nth-child(6) { --skeleton-delay: 5; }
  }
  
  /* Base skeleton with enhanced animation */
  .skelton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
  
    &::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      transform: translateX(-100%);
      background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%
      );
      animation: shimmer 2.5s ease-in-out infinite;
      animation-delay: 0.5s;
    }
  }
  
  /* Page Banner Skeleton - Same as Preventive Health */
  .page-banner-skeleton {
    height: 300px;
    width: 100%;
    margin-bottom: 0;
    background-color: #d0d0d0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: pulse 3s ease-in-out infinite;
    
    @media (min-width: 768px) {
      height: 400px;
    }
    
    @media (min-width: 1024px) {
      height: 400px;
    }
    
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: translateX(-100%);
      animation: shimmer 2s ease-in-out infinite;
    }
  }
  
  /* Breadcrumb Skeleton */
  .breadcrumb-skeleton {
    padding: 15px 0;
    background-color: #f8f9fa;
    margin-bottom: 0;
    animation: fadeIn 0.6s ease-out;
    animation-delay: 0.1s;
    
    .breadcrumb-items {
      height: 18px;
      width: 200px;
      margin: 0;
      animation: pulse 2.2s ease-in-out infinite;
      animation-delay: 0.3s;
    }
  }
  
  /* Overview Section Skeleton */
  .overview-skeleton {
    background-color: #fff;
    margin-bottom: 0;
    animation: fadeIn 0.7s ease-out;
    animation-delay: 0.2s;
    
    .overview-title {
      height: 36px;
      width: 120px;
      margin: 0;
      animation: pulse 2.3s ease-in-out infinite;
      
      @media (min-width: 768px) {
        height: 42px;
        width: 140px;
      }
    }
    
    .overview-content {
      height: 20px;
      width: 100%;
      margin-bottom: 12px;
      animation: pulse 2.1s ease-in-out infinite;
      animation-delay: 0.2s;
    }
    
    .overview-content-line {
      height: 18px;
      width: 85%;
      margin-bottom: 10px;
      animation: pulse 2.4s ease-in-out infinite;
      animation-delay: 0.4s;
      
      &.short-line {
        width: 65%;
        margin-bottom: 0;
        animation-delay: 0.6s;
      }
    }
  }
  
  /* Health Package Skeleton - Same Structure */
  .health-package-skeleton {
    background-color: #f8f9fa;
    margin-bottom: 0;
    min-height: 450px;
    animation: fadeIn 0.8s ease-out;
    animation-delay: 0.3s;
    
    @media (min-width: 768px) {
      min-height: 550px;
    }
    
    @media (min-width: 1024px) {
      min-height: 650px;
    }
    
    .package-title {
      height: 32px;
      width: 120px;
      margin-bottom: 30px;
      animation: pulse 2.5s ease-in-out infinite;
    }
    
    .health-package-main {
      margin: 0 -15px;
      gap: 30px 0;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
    
    .health-package-item {
      padding: 0 15px;
      width: 100%;
      margin-bottom: 30px;
      
      @media (min-width: 768px) {
        width: 50%;
      }
      
      @media (min-width: 1200px) {
        width: 33.33%;
      }
    }
    
    .health-package-card {
      background: white;
      border-radius: 20px;
      padding: 25px;
      height: 220px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      animation: pulse 2.6s ease-in-out infinite;
      
      @media (max-width: 767px) {
        height: 200px;
        padding: 20px;
      }
    }
    
    .package-name {
      height: 24px;
      width: 75%;
      margin-bottom: 15px;
      animation: pulse 2.1s ease-in-out infinite;
    }
    
    .package-desc {
      height: 16px;
      width: 90%;
      margin-bottom: 10px;
      animation: pulse 2.3s ease-in-out infinite;
      
      &.short-desc {
        width: 60%;
        margin-bottom: 15px;
        animation-delay: 0.2s;
      }
    }
    
    .package-price {
      height: 28px;
      width: 45%;
      margin-bottom: 15px;
      background: linear-gradient(90deg, #e8f4fd 25%, #d0e8f7 50%, #e8f4fd 75%);
      animation: pulse 2.4s ease-in-out infinite;
    }
    
    .package-buttons {
      height: 36px;
      width: 100%;
      border-radius: 25px;
      background: linear-gradient(90deg, #4a90e2 25%, #357abd 50%, #4a90e2 75%);
      animation: pulse 2.7s ease-in-out infinite;
    }
  }
  
  /* Wellness Blog Skeleton - Same Structure */
  .wellness-blog-skeleton {
    background-color: #f8f9fa;
    margin-bottom: 0;
    min-height: 420px;
    animation: fadeIn 0.9s ease-out;
    animation-delay: 0.4s;
    
    @media (min-width: 768px) {
      min-height: 480px;
    }
    
    @media (min-width: 1024px) {
      min-height: 550px;
    }
    
    .blog-title {
      height: 36px;
      width: 160px;
      margin: 0 auto 40px;
      animation: pulse 2.8s ease-in-out infinite;
    }
    
    .wellness-cards {
      display: flex;
      gap: 30px;
      justify-content: center;
      flex-wrap: wrap;
      
      @media (max-width: 767px) {
        gap: 20px;
      }
    }
    
    .wellness-card {
      width: 100%;
      max-width: 350px;
      
      @media (min-width: 768px) {
        width: calc(50% - 15px);
      }
      
      @media (min-width: 992px) {
        width: calc(33.33% - 20px);
      }
    }
    
    .wellness-item {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 2px 15px rgba(0,0,0,0.1);
      height: 400px;
      animation: pulse 2.9s ease-in-out infinite;
      
      @media (max-width: 767px) {
        height: 360px;
      }
    }
    
    .wellness-image {
      height: 220px;
      width: 100%;
      margin-bottom: 0;
      border-radius: 0;
      background: #e0e0e0;
      
      @media (max-width: 767px) {
        height: 200px;
      }
    }
    
    .wellness-content {
      padding: 30px;
      
      @media (max-width: 767px) {
        padding: 25px;
      }
    }
    
    .blog-category {
      height: 14px;
      width: 80px;
      margin-bottom: 8px;
      background: linear-gradient(90deg, #e3f2fd 25%, #bbdefb 50%, #e3f2fd 75%);
      animation: pulse 2.2s ease-in-out infinite;
    }
    
    .blog-heading {
      height: 20px;
      width: 90%;
      margin-bottom: 10px;
      animation: pulse 2.4s ease-in-out infinite;
    }
    
    .blog-excerpt {
      height: 14px;
      width: 95%;
      margin-bottom: 8px;
      animation: pulse 2.6s ease-in-out infinite;
      
      &.short-excerpt {
        width: 70%;
        margin-bottom: 15px;
        animation-delay: 0.2s;
      }
    }
    
    .blog-link {
      height: 16px;
      width: 120px;
      background: linear-gradient(90deg, #4a90e2 25%, #357abd 50%, #4a90e2 75%);
      animation: pulse 2.8s ease-in-out infinite;
    }
  }
  
  /* Doctor Specialization Skeleton - Same Structure */
  .doctor-specialization-skeleton {
    background-color: #fff;
    margin-bottom: 0;
    min-height: 380px;
    animation: fadeIn 1s ease-out;
    animation-delay: 0.5s;
    
    @media (min-width: 768px) {
      min-height: 450px;
    }
    
    @media (min-width: 1024px) {
      min-height: 520px;
    }
    
    .spec-title {
      height: 36px;
      width: 220px;
      margin: 0 auto 40px;
      animation: pulse 3s ease-in-out infinite;
    }
    
    .specialization-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      
      @media (max-width: 767px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }
    }
    
    .spec-card {
      background: white;
      padding: 25px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      height: 140px;
      animation: pulse 3.2s ease-in-out infinite;
      
      @media (max-width: 767px) {
        padding: 20px;
        height: 110px;
      }
    }
    
    .spec-icon {
      height: 50px;
      width: 50px;
      margin: 0 auto 15px;
      border-radius: 50%;
      background: linear-gradient(45deg, #e8f4fd, #d0e8f7);
      animation: pulse 2.5s ease-in-out infinite;
      
      @media (max-width: 767px) {
        height: 35px;
        width: 35px;
        margin-bottom: 10px;
      }
    }
    
    .spec-name {
      height: 16px;
      width: 80%;
      margin: 0 auto;
      animation: pulse 2.7s ease-in-out infinite;
    }
  }
  
  /* Mobile Optimizations - Same as Preventive Health */
  @media (max-width: 767px) {
    .book-a-test-skeleton {
      .skelton {
        animation-duration: 2.5s;
        
        &::after {
          animation-duration: 3s;
        }
      }
    }
    
    .overview-skeleton .container {
      flex-direction: column;
      
      .overview-left {
        margin-bottom: 20px;
      }
    }
    
    .health-package-skeleton {
      min-height: 350px;
      
      .health-package-main {
        margin: 0;
        gap: 20px 0;
      }
    }
    
    .wellness-blog-skeleton {
      min-height: 320px;
      
      .wellness-cards {
        gap: 15px;
      }
    }
    
    .doctor-specialization-skeleton {
      min-height: 280px;
    }
  }
  
  /* Accessibility - Same as Preventive Health */
  @media (prefers-reduced-motion: reduce) {
    .skelton,
    .skelton::after,
    .book-a-test-skeleton,
    .page-banner-skeleton,
    .health-package-skeleton,
    .wellness-blog-skeleton,
    .doctor-specialization-skeleton {
      animation: none !important;
    }
    
    .skelton {
      background: #e0e0e0;
    }
  }
  
  @media (prefers-contrast: high) {
    .skelton {
      background: #c0c0c0;
      border: 1px solid #808080;
    }
    
    .page-banner-skeleton {
      background-color: #a0a0a0;
      border: 2px solid #606060;
    }
  }
  
  .book-a-test-skeleton {
    opacity: 1;
    transition: opacity 0.3s ease-out;
    
    &.fade-out {
      opacity: 0;
    }
  }
  
  .book-a-test-skeleton {
    contain: layout;
    will-change: auto;
  }
  
  .health-package-skeleton,
  .wellness-blog-skeleton,
  .doctor-specialization-skeleton {
    contain: layout style;
  }
  
  