@media (min-width: 1024px) {
.menu-open {
    height: unset!important;
}
}

.overlay-css a{
    color:white!important;
}
.dark-scheme{
    height:unset!important;
}
.img-hgt img{
    height:600px;
}
.side-img img{
    height:80px;
}
.blog-img img{
    height:300px;
}

/* Pagination Wrapper */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  flex-wrap: wrap;
}

/* Pagination Links */
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Active Page */
.pagination .current {
  background-color: #3d8bd0; /* WP blue (you can change) */
  color: #fff;
  border-color: #3d8bd0;
}

/* Hover Effect */
.pagination a:hover {
  background-color: #f5f5f5;
  border-color: #aaa;
  color: #000;
}

/* Previous / Next */
.pagination .prev,
.pagination .next {
  font-weight: 600;
}

/* Disabled prev/next */
.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}


.blog-flex {
    justify-content: normal!important;
}

.sub-menu .menu-item{
  background: #121212;
}

/* Make sure submenu is clickable */
.sub-menu {
  position: absolute; /* ensures it floats above */
  z-index: 9999;      /* keeps it above other elements */
}

/* Ensure submenu items are not blocked */
.sub-menu li a {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
}
#mainmenu,
#mainmenu li {
  overflow: visible !important;
}

/* Service list container */
.heading-underline ul {
    list-style: none;
    padding-left: 30px; /* Space for car icon */
    margin: 1.5rem 0;
}

/* Each list item */
.heading-underline ul li {
    position: relative;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #ffffff;           /* White text on black background */
    line-height: 1.8;
    transition: color 0.3s ease;
    display: inline-block;     /* Needed for pseudo-element width to match text */
    margin-right:60px;
}

/* Car icon using FontAwesome */
.heading-underline ul li::before {
    content: "\f1b9";          /* FontAwesome car icon */
    font-family: "Font Awesome 5 Free"; /* Ensure FA loaded */
    font-weight: 900;
    position: absolute;
    left: -30px;
    top: 0;
    font-size: 1.2rem;
    color: #00d1ff;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect for icon */
.heading-underline ul li:hover::before {
    transform: scale(1.3) rotate(-10deg);
    color: #ffdd57;
}

/* Underline on hover, directly under text */
.heading-underline ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #00d1ff, #ffdd57);
    transition: width 0.4s ease;
}

/* Animate underline on hover */
.heading-underline ul li:hover::after {
    width: 100%;
}

/* Optional: text color change on hover */
.heading-underline ul li:hover {
    color: #00ffff;
}
