:root {
  --primary: rgb(35, 35, 35);
  --secondary: rgb(227, 29, 36);
  --light: rgb(255, 255, 255);
  --sub-light: rgb(242, 242, 242);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* primary color */

.primary-color {
  color: var(--primary) !important;
}

.primary-hover-color:hover {
  color: var(--primary) !important;
  transition: all 0.3s ease-in-out !important;
}

.primary-bg-color {
  background: var(--primary) !important;
  transition: all 0.3s ease-in-out !important;
}

.primary-bg-hover:hover {
  background: var(--primary) !important;
  transition: all 0.3s ease-in-out !important;
}

/* secondary color */

.secondary-color {
  color: var(--secondary) !important;
}
.secondary-hover-color:hover {
  color: var(--secondary) !important;
  transition: all 0.3s ease-in-out !important;
}

.secondary-bg-color {
  background: var(--secondary) !important;
  transition: all 0.3s ease-in-out !important;
}

.secondary-bg-hover:hover {
  background: var(--secondary) !important;
  transition: all 0.3s ease-in-out !important;
}

/* light color */

.light-color {
  color: var(--light) !important;
}

.light-hover-color:hover {
  color: var(--light) !important;
  transition: all 0.3s ease-in-out !important;
}

.light-bg-color {
  background-color: var(--light) !important;
  transition: all 0.3s ease-in-out !important;
}
.light-bg-hover:hover {
  background: var(--light) !important;
  transition: all 0.3s ease-in-out !important;
}

/* sub light color */

.sub-light-color {
  color: var(--sub-light) !important;
}

.sub-light-bg-color {
  background: var(--sub-light) !important;
}

ul li a {
  text-decoration: none !important;
}

.footer-heading {
  color: var(--secondary);
}

.footer-link {
  color: var(--light) !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.footer-link:hover {
  color: var(--primary) !important;
  transform: translateX(4px);
  transition: all 0.3s ease-in-out;
}

.social-icons a {
  color: var(--light) !important;
  font-size: 20px !important;
}

.social-icons a:hover {
  color: var(--primary) !important;
}

/* Navigation css */
.top-header-btn {
  border-radius: 5px;
  padding: 1px 2px !important;
}

.abt-menu {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.abt-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/service/domestic-relocation.png") center/cover no-repeat;
  filter: blur(5px);
  z-index: 0;
}

.abt-menu .modal-header,
.abt-menu .modal-body {
  position: relative;
  z-index: 1;
}

.menu-wrapper {
  color: var(--light) !important;
  background-color: #00000059;
  border-radius: 20px;
  box-shadow: -1px 5px 13px 2px #00000059;
}

.abt-menu .menu-link {
  text-decoration: none;
}

.abt-menu .menu-link:hover {
  color: var(--secondary) !important;
}

/* Main Services CSSS */
.service-section .service-card {
  background: linear-gradient(135deg, var(--light), var(--sub-light));
  transition: all 0.3s ease-in-out;
  border-radius: 12px;
}

.service-section .service-card:hover {
  background: linear-gradient(135deg, var(--sub-light), rgba(227, 29, 36, 0.5));
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(35, 35, 35, 0.2);
}

.service-section .service-title {
  font-size: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* iBA Approved */

.cert-card {
  background: var(--light);
  transition: all 0.3s ease-in-out;
  border-radius: 12px;
  cursor: pointer;
}

.cert-card:hover {
  background: var(--sub-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(35, 35, 35, 0.15);
}

.cert-logo {
  transition: transform 0.4s ease-in-out;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.cert-card:hover .cert-logo {
  transform: rotateY(360deg);
}

.cert-card h5 {
  color: var(--primary);
  transition: color 0.3s ease-in-out;
}

.cert-card:hover h5 {
  color: var(--secondary);
}

.cert-card p {
  font-size: 0.9rem;
}

/* home page relocation lists css */

.home-map img {
  transition: all 0.3s ease-in-out;
}

.home-map img:hover {
  transform: translateY(-3px);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--secondary);
  transition: width 0.4s ease-in-out;
  z-index: 1;
}

.service-box:hover::before {
  width: 100%;
}

.service-box:hover .service-text {
  color: var(--light) !important;
}

.service-box .icon,
.service-box .service-text {
  position: relative;
  z-index: 2;
}

.process-card {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease-in-out;
}

.process-card:hover {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

.process-img {
  object-fit: cover;
  transition: transform 0.4s ease-in-out, border-color 0.4s ease-in-out;
  border-color: var(--secondary) !important;
}

.step-number {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background: var(--primary);
  font-weight: 700;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 2px 4px var(--secondary);
}

.process-card:hover .process-img {
  transform: scale(1.04);
  border-color: var(--primary) !important;
}

.process-card:hover .step-number {
  top: 20%;
  left: 0;
  background: var(--secondary);
  box-shadow: 0px 2px 4px var(--primary);
  transition: all 0.3s ease-in-out;
}

/* Home page faqs css */

.abt-faq-item .abt-faq-collapse {
  transition: height 0.35s ease, opacity 0.35s ease;
}

.accordion-button::after {
  display: none !important;
}

.abt-faq-button {
  font-weight: 500;
  color: var(--light) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.abt-faq-button:focus {
  box-shadow: none;
}

.abt-faq-button.collapsed {
  color: var(--primary) !important;
  font-weight: 600 !important;
  background-color: rgba(227, 29, 36, 0.3) !important;
}

.abt-faq-button.collapsed:hover {
  background-color: rgba(227, 29, 36, 0.5) !important;
}

.abt-faq-button:not(.collapsed) {
  color: var(--light) !important;
  font-weight: 600 !important;
  background-color: var(--primary) !important;
}

/* Home page client slider css */

.slick-custom-prev,
.slick-custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-custom-prev {
  left: -30px;
}

.slick-custom-next {
  right: -30px;
}

/* Testimonials Section */

.testimonials-main {
  transition: all 0.3s ease-in-out;
}

.testimonials-main {
  background: linear-gradient(
    to bottom,
    rgb(227, 29, 36),
    rgba(35, 35, 35, 0.9)
  ) !important;
  transition: all 0.3s ease-in-out;
}

/* Home page stats of coampany css */

.abt-home-stat {
  transition: all 0.3s ease-in-out;
}

.abt-home-stat.visible i,
.abt-home-stat.visible .abt-home-counter {
  transform: translateY(0);
  opacity: 1;
}

.abt-home-stat i,
.abt-home-stat .abt-home-counter {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.abt-home-counter {
  margin-bottom: 0.3rem;
}

/* Our branch */

.abt-branch-card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 1px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: #fff;
}
.abt-branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.5);
}

.abt-img-wrap {
  height: 150px;
  overflow: hidden;
}
.abt-img-wrap img {
  transition: transform 0.4s ease;
  border-radius: 5px;
}
.abt-branch-card:hover .abt-img-wrap img {
  transform: scale(1.08);
}

/* city page css */

  .iba-approved:hover i {
  color: var(--light) !important;
}

  .city-page-cta {
    background: linear-gradient(to right, var(--primary), var(--secondary));
  }

  .info-banner {
    border-left: 5px solid var(--secondary) !important;
    border-top: 1px solid rgba(227, 29, 36, 0.7) !important;
    border-right: 1px solid rgba(227, 29, 36, 0.7) !important;
    border-bottom: 1px solid rgba(227, 29, 36, 0.7) !important;
  }

  @media screen and (max-width: 767px) {

    .services-heading {
      font-size: 1.1rem;
      font-weight: 600;
    }

    .services-sub-heading {
      font-size: 1rem;
      font-weight: 500;
    }

    .fs-6 {
      font-size: 0.875rem;
    }

    .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .table {
      font-size: 0.75rem;
    }

    .table th,
    .table td {
      padding: 0.5rem;
    }

  }

/* footer css */

.footer-ser-btn {
  background: var(--primary) !important;
}

.abt-footer .bi-chevron-right {
  vertical-align: middle;
}

a.footer-keywords {
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

a.footer-keywords:hover,
a.footer-keywords:hover i {
  transform: translateX(5px);
}

.abt-scroll-top #scrollTopBtn {
  position: fixed;
  bottom: 50px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1100;
  display: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: var(--primary) !important;
}

.abt-scroll-top #scrollTopBtn.show {
  display: flex !important;
}

.abt-scroll-top #scrollTopBtn:hover {
  transform: scale(1.1);
  background: var(--secondary) !important;

  opacity: 0.9;
}

.abt-scroll-top .pulse {
  animation: pulseAnim 2s infinite ease-in-out;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  }
}

.abt-cta-floating .abt-cta-btn {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease-in-out;
}

.abt-cta-floating .abt-cta-btn:hover {
  transform: scale(1.1);
}

.abt-cta-floating .abt-cta-container {
  animation: slideInLeft 0.8s ease;
  z-index: 1050;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.abt-cta-floating .pulse {
  animation: pulseAnim 2s infinite ease-in-out;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  }
}

.custom-btn-panel {
  position: fixed;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  z-index: 1050;
  transition: all 0.3s ease-in-out !important;
}

.custom-btn-panel a {
  color: var(--light) !important;
  padding: 2px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease-in-out !important;
}

.custom-btn-panel a:hover {
  font-weight: 700 !important;
  background-color: var(--primary) !important;
  transition: all 0.3s ease-in-out !important;
}

.custom-btn-panel i {
  font-size: 14px !important;
}

.custom-btn-panel small {
  font-size: 12px !important;
}

/* Responsive Adjustments */

@media screen and (max-width: 400px) {
  h1 {
    font-size: 18px !important;
  }
}

@media screen and (max-width: 578px) {
  .client-slider-section button {
    display: none !important;
  }
}

@media screen and (max-width: 992px) {
  .service-section .service-title {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  .service-section .service-title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .service-section .service-title {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 767px) {
  .services-heading {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .services-sub-heading {
    font-size: 1rem;
    font-weight: 500;
  }

  .fs-6 {
    font-size: 0.875rem;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    font-size: 0.75rem;
  }

  .table th,
  .table td {
    padding: 0.5rem;
  }
}
