:root {
  --primary-color: #b60013;
  --light-color: rgb(255, 255, 255);
}

body {
  font-family: sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 0.875rem;
}
.header-top-left a,
.header-top-right a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  margin-right: 25px;
}
.header-top-right {
  color: rgb(255, 255, 255);
  text-decoration: none;
  margin-right: 25px;
  font-weight: 500;
}
.nav-head-left {
  margin-left: 56px;
}
.nav-head-right {
  margin-right: -160px;
}
.social-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.social-links li b {
  color: var(--light-color);
  margin-right: 5px;
}
.social-links a i {
  font-size: 16px;
  transition: color 0.3s ease;
}
.navbar-brand span {
  color: var(--primary-color);
}
.navbar {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 3px;
}
.nav-link {
  color: var(--dark-color);
  font-weight: 600;
  margin: 0 3px;
  position: relative;
  font-size: 16px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}
.nav-link.active:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
}
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border: none;
    transition: transform 0.3s ease;
  }

  .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
  }
}

@media (max-width: 992px) {
  .navbar-brand img {
    height: 45px !important;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .navbar-brand img {
    height: 70px !important;
    margin-left: -20px !important;
  }
}

.navbar-brand img {
  height: 55px;
}

.dropdown-item {
  padding: 8px 20px;
  color: var(--dark-color);
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--dark-color);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler .icon-bar:nth-child(1) {
  top: 0;
}

.navbar-toggler .icon-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler .icon-bar:nth-child(3) {
  bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .icon-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.offcanvas {
  width: 180px !important;
}

.offcanvas-end {
  right: 0;
  left: auto;
}

.offcanvas-header {
  justify-content: flex-end;
  padding: 15px;
}

.offcanvas-body {
  padding: 0;
}

.mobile-nav-item {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: block;
  color: var(--dark-color);
  text-decoration: none;
}

.mobile-nav-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark-color);
  text-decoration: none;
}

.mobile-dropdown-toggle:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.mobile-dropdown-toggle i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.mobile-dropdown-toggle.active i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.mobile-dropdown-menu {
  display: none;
  padding-left: 15px;
  background-color: var(--light-color);
  flex-direction: column;
}

.mobile-dropdown-menu.show {
  display: block;
}

.mobile-dropdown-item {
  padding: 10px 20px;
  border-bottom: 1px solid #e0e0e0;
  display: block;
  color: var(--dark-color);
  text-decoration: none;
  padding: 8px 0;
  text-decoration: none;
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  color: var(--primary-color);
  background-color: var(--light-color);
}

.mobile-dropdown-item i {
  margin-right: 8px;
  width: 23px;
  text-align: center;
}

.slide-btn:hover {
  background-color: rgb(255, 255, 255) !important;
  color: black !important;
  
}

@media (min-width: 991px) and (max-width: 1200px) {
  .nav-link {
    margin: 0 6px;
    font-size: 0.7rem;
  }

  .dropdown-item {
    padding: 6px 15px;
    font-size: 0.9rem;
  }

  .quote-btn {
    padding: 6px 14px;
    font-size: 0.9rem;
    border-radius: 25px;
  }

  .navbar {
    padding: 10px 0;
  }

  .dropdown-menu {
    padding: 8px 0;
  }
}

.hero-section {
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
  padding: 4rem 0 6rem;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    text-align: right;
  }

  .navbar-toggler {
    margin-left: auto;
    transition: var(--transition);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .quote-form {
    padding: 1.25rem;
  }
}

.carousel-item {
  height: 75vh;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-inner {
  padding: 0px !important;
}

@media (min-width: 768px) {
  .carousel-item {
    height: 65vh;
    min-height: 600px;
  }
}

.carousel-caption h1,
.carousel-caption h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-caption {
  background: rgba(0, 0, 0, 0.4);
  width: 80%;
  justify-content: center;
  margin-left: -5%;
  padding: 20px;
  height: 70%;
  margin-bottom: 5%;
  border-radius: 30px;
}

@media (max-width:600px) {
  .slider-caption {
    height: 80%;
    margin-bottom: 12%;
  }
}

.form-section {
  margin-top: -50px;
  position: relative;
}
.form{
  background: linear-gradient(135deg, #4a0000 0%, #8b0000 40%, #ff1a1a 100%);
}
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  background: linear-gradient(135deg, #4a0000 0%, #8b0000 40%, #ff1a1a 100%)
 !important;
  color: #fff !important;
}

.service-card:hover i,
.service-card:hover span,
.service-card:hover p {
  color: #fff !important;
}

.service-size {
  max-width: 100%;
}

.faq-text {
  color: var(--light-color);
}
.card.bg-danger,
.accordion-button.bg-danger {
  color: #fff !important;
}
#floatingButtons {
  z-index: 9998 !important;
}
.floating-line {
  height: 3px;
  width: 30px;
  border-radius: 10px;
}
.footer-btn {
  width: 60px;
  height: 60px;
}
.footer-logo{
  width: 93% !important;
}
.certified .certified-image-container {
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
}
.certified-image-container img {
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
.certified-image-container:hover img {
  transform: rotateY(360deg);
}
.scroll-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.scroll-slide-up.show {
  opacity: 1;
  transform: translateY(0);
}
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}
.scroll-slide-left.show {
  opacity: 1;
  transform: translateX(0);
}
.hover-pop {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-pop:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.brand {
  overflow: hidden;
}
.logo-slider {
  position: relative;
}
.logo-slide-track {
  display: flex;
  width: calc(250px * 28);
  animation: slide 25s linear infinite;
}
.logo-slide-track img {
  width: 150px;
  margin: 0 30px;
  object-fit: contain;
  transition: 0.3s;
}
.logo-slide-track img:hover {
  transform: scale(1.1);
}
@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
.pulse {
  display: inline-block;
  animation: pulseAnim 1.2s infinite ease-in-out;
}
@keyframes pulseAnim {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}
.breadcrumb-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.choose{
  margin: 0px !important ;
}
.contact-form {
  margin: 0px !important ;
}

.choose-image {
  width: 90%;
  margin-left: 5%;
}
.content {
  text-align: justify !important;
}
.Branchcard {
  transition: transform 0.3s, box-shadow 0.3s;
}
.Branchcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.search-container {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.no-results {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}
.branch-count {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 10px;
}
.highlight {
  background-color: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}
.Branchcard-title {
  color: #dc3545;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.shifting{
  width:80px;
  height:80px;
}

.quote-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.3s ease;
    background: linear-gradient(135deg, #4a0000 0%, #8b0000 40%, #ff1a1a 100%);
    color:white !important;
}
#scrollTopBtn {
            position: fixed;
            bottom: 40px;
            right: 40px;
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
            color: white;
            border: none;
            border-radius: 16px;
            cursor: pointer;
            font-size: 24px;
            box-shadow: 0 8px 24px rgba(255, 65, 108, 0.4);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #scrollTopBtn.show {
            opacity: 1;
            visibility: visible;
            animation: slideUp 0.4s ease-out;
        }

        #scrollTopBtn:hover {
            background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 12px 32px rgba(255, 65, 108, 0.5);
        }

        #scrollTopBtn:active {
            transform: translateY(-2px) scale(1.02);
        }

        #scrollTopBtn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 16px;
            padding: 2px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0.6;
        }

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

        #scrollTopBtn:hover::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 18px;
            background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
            opacity: 0.3;
            animation: pulse 1.5s infinite;
            z-index: -1;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 0.3;
            }
            50% {
                transform: scale(1.1);
                opacity: 0;
            }
        }
