/* Tablet CSS - Make it identical to mobile view */
@media (min-width: 768px) and (max-width: 991px) {
  /* Use the same styles as mobile.css */
  
  /* Hero Section */
  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-box {
    padding: 0.5rem;
    border-radius: 0.75rem;
  }

  /* Section Titles */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Quick Services */
  .quick-services {
    flex-wrap: nowrap;
    overflow-x: auto;
    display: flex;
    gap: 10px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .quick-services::-webkit-scrollbar {
    display: none;
  }

  .quick-services .col-3 {
    flex: 0 0 65%;
    max-width: 65%;
    scroll-snap-align: center;
  }

  .service-btn1 {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }

  .service-btn1:active {
    transform: scale(0.97);
  }

  .service-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  .service-price {
    font-size: 14px;
  }

  .price-current {
    color: #28a745;
    font-weight: 700;
    margin-right: 5px;
  }

  .price-original {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
  }

  /* Offer Banner */
  .offer-banner {
    padding: 12px 5px;
    font-size: 13px;
  }

  .offer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .offer-content .flex {
    justify-content: center;
  }

  .icon {
    width: 16px;
    height: 16px;
  }

  .countdown {
    font-weight: 600;
    color: #e53935;
    font-size: 14px;
  }

  /* Explore Our Categories - Mobile View */
  .category-section .row.g-4 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  
  .category-section .row.g-4::-webkit-scrollbar {
    display: none;
  }
  
  .category-section .col {
    flex: 0 0 auto;
    width: 120px;
    scroll-snap-align: center;
    max-width: 120px;
  }
  
  .category-item {
    min-width: 120px;
    margin-bottom: 0;
    padding: 12px;
  }
  
  /* Decrease icon size for mobile */
  .category-item img {
    height: 30px;
    width: 30px;
    object-fit: contain;
  }
  
  .category-item h6 {
    font-size: 0.8rem;
  }

  /* Testimonials */
  .testimonial-section {
    padding: 40px 0;
  }

  .trusted-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .review-card {
    padding: 20px;
  }

  .review-name {
    font-size: 1rem;
  }

  .review-text {
    font-size: 0.9rem;
  }

  .review-tag {
    font-size: 0.8rem;
  }

  /* Trending Services */
  .trending-services-scroll-container {
    padding: 1rem 0;
  }

  #trendingServicesScroll {
    gap: 1rem;
    padding-bottom: 10px;
  }

  #trendingServicesScroll > .col-lg-4 {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
  }

  .service-card .card-img-top {
    height: 150px;
  }

  .card-title {
    font-size: 1rem;
  }

  .price {
    font-size: 1.1rem;
  }

  .btn1 {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Blogs */
  .blog-scroll-container {
    padding: 1rem 0;
    overflow: hidden;
  }

  #blogScroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #blogScroll::-webkit-scrollbar {
    display: none;
  }

  #blogScroll > .col-xl-4 {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    width: 280px;
  }

  .blog-list-img {
    height: 160px;
  }

  .blog-list-img img {
    height: 160px;
    width: 100%;
    object-fit: cover;
  }

  .fs-16 {
    font-size: 1rem;
  }

  .fs-14 {
    font-size: 0.85rem;
  }

  /* Stats Card */
  .stats-card {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .stat-sublabel {
    font-size: 0.8rem;
  }

  /* Professionals Section */
  .professionals-section {
    padding: 40px 0;
  }

  .section-title-pro {
    font-size: 1.75rem;
  }

  .section-subtitle-pro {
    font-size: 0.95rem;
  }

  .pro-card {
    padding: 20px;
    padding-top: 50px;
  }

  .pro-avatar {
    width: 70px;
    height: 70px;
    top: -35px;
  }

  .pro-name {
    font-size: 1.1rem;
  }

  .pro-specialty {
    font-size: 0.9rem;
  }

  .pro-rating {
    font-size: 0.85rem;
  }

  .pro-stats {
    font-size: 0.85rem;
  }

  /* How It Works */
  .step-card {
    padding: 1.5rem 1rem;
    height: auto;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-description {
    font-size: 0.85rem;
  }

  .step-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }

  /* Why Choose Us */
  .verify {
    font-size: 0.75rem;
    padding: 2px 8px;
    margin: 0px auto;
  }

  .h5 {
    font-size: 1rem;
  }

  .text-secondary.small {
    font-size: 0.8rem;
  }

  /* App Download */
  .app-card {
    padding: 20px 15px;
  }

  .app-title {
    font-size: 1.5rem;
  }

  .app-description {
    font-size: 0.9rem;
  }

  .app-features li {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .app-buttons .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin: 5px;
  }

  /* Trust Stats */
  .trust-stats {
    padding: 30px 0;
  }

  .stat-item {
    padding: 15px 10px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-sublabel {
    font-size: 0.75rem;
  }

  /* Footer */
  .footer-top {
    padding: 30px 0 20px;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer-widget {
    margin-bottom: 20px;
  }

  .footer-address li {
    font-size: 0.85rem;
    padding: 5px 0;
  }

  .footer-menu li a {
    font-size: 0.85rem;
    padding: 5px 0;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .copyright-text {
    font-size: 0.8rem;
    text-align: center;
  }

  .footer-social {
    text-align: center;
    margin-top: 10px;
  }

  .footer-social li {
    margin: 0 5px;
  }

  .footer-social li a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.8rem;
  }

  /* Mobile Menu Styles for Tablet - Make it identical to mobile */
  .main-menu-wrapper {
    width: 260px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 11111;
    transform: translateX(-260px);
    transition: all 0.4s;
    background-color: #fff;
    margin: 0;
    display: block !important;
  }
  
  /* When menu is opened, show the menu */
  .menu-opened .main-menu-wrapper {
    transform: translateX(0) !important;
  }
  
  /* Ensure menu header is visible in tablet view */
  .menu-header {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  
  /* Show account card and drawer menu in tablet sidebar */
  .account-card-mob,
  .drawer-menu {
    display: block !important;
  }
  
  /* Header items in tablet sidebar */
  .header-items {
    display: flex;
    flex-direction: column;
    padding: 15px;
  }
  
  .header-items a {
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
  }
  
  .header-items a:last-child {
    border-bottom: none;
  }
  
  /* Header - Center logo and add margin below */
  .navbar-header {
    position: relative;
    text-align: center;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .navbar-header .navbar-brand.logo {
    position: static;
    transform: none;
    z-index: auto;
    margin-bottom: 0;
    flex: 1;
    order: 2;
    text-align: center;
  }
  
  .navbar-header .navbar-brand.logo img {
    height: 36px;
    width: auto;
    margin: 0 auto;
  }
  
  .navbar-header .navbar-brand.logo-small {
    display: none;
  }
  
  /* Ensure mobile button is visible in tablet view */
  #mobile_btn {
    display: block !important;
    position: relative;
    z-index: 2;
    order: 1;
    margin-right: 15px;
  }
  
  .navbar-header .location-box {
    position: relative;
    transform: none;
    z-index: 2;
    order: 3;
    margin-left: 15px;
  }
  
  /* Show mobile location box in tablet view */
  .location-box.d-md-none.d-block {
    display: block !important;
  }
  
  /* Hide desktop location box in tablet view */
  ul.nav.header-navbar-rht li.right-side {
    display: none;
  }
}