/* Make navbar-brand completely non-clickable */
.navbar-brand {
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
}

.navbar-brand:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.navbar-brand:focus {
  outline: none !important;
  text-decoration: none !important;
}

.navbar-brand:active {
  color: inherit !important;
  text-decoration: none !important;
}

/* Override any Bootstrap hover effects */
.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
  color: inherit !important;
  text-decoration: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Ensure no transitions or animations on navbar-brand */
.navbar-brand,
.navbar-brand * {
  transition: none !important;
  animation: none !important;
}

/* Disable any potential hidden links or clickable elements */
.navbar-brand a,
.navbar-brand a:hover,
.navbar-brand a:focus,
.navbar-brand a:active {
  pointer-events: none !important;
  cursor: default !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* Ensure the entire navbar-brand area is non-interactive */
.navbar-brand,
.navbar-brand img,
.navbar-brand div,
.navbar-brand strong {
  pointer-events: none !important;
  cursor: default !important;
}

@media (max-width: 1300px) {}

@media (max-width: 1120px) {}

@media (max-width: 992px) {
  .hero_area {
    min-height: 50vh !important;
  }

  /* Fix hero background image alignment on mobile */
  .hero_area .hero_bg_box {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero_area .hero_bg_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Logo and brand text responsive fixes */
  .navbar-brand strong {
    font-size: 1.4rem !important;
    margin-left: 8px !important;
  }

  .navbar-brand img {
    height: 100px !important;
  }

  /* Mobile menu fixes - override inline styles */
  .custom_nav-container .navbar-nav {
    padding-top: 15px;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .custom_nav-container .navbar-nav .nav-item {
    text-align: center;
    margin: 5px 0 !important;
    width: 100%;
    max-width: 200px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 25px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link img {
    display: block;
    margin: 0 auto;
    width: 96px;
    height: 92px;
  }

  /* Override all inline margin styles */
  .custom_nav-container .navbar-nav .nav-item[style*="margin"] {
    margin: 5px 0 !important;
  }

  .slider_section .detail-box h1 {
    font-size: 2.5rem;
  }

  .slider_section {
    padding: 75px 0;
  }

  .slider_section .carousel_btn-box a {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Logo and brand text responsive fixes for small screens */
  .navbar-brand strong {
    font-size: 1.2rem !important;
    margin-left: 6px !important;
  }

  .navbar-brand img {
    height: 80px !important;
  }

  /* Enhanced mobile spacing for better readability */
  .slider_section .detail-box {
    text-align: center;
    padding: 20px 15px;
  }

  .slider_section .detail-box h1 {
    margin-bottom: 20px !important;
    font-size: 2.2rem;
  }

  .slider_section .detail-box p {
    margin-bottom: 20px !important;
    line-height: 1.6;
  }

  .slider_section .detail-box .btn-box {
    justify-content: center;
    gap: 15px;
  }

  .slider_section .detail-box .btn-box .btn {
    margin: 8px 5px;
    padding: 12px 20px;
  }

  /* Hero subtitle spacing */
  .hero-subtitle {
    margin: 25px 15px !important;
    padding: 20px 25px !important;
  }

  .hero-cta-buttons {
    margin-top: 25px;
  }

  .hero-cta-buttons .btn {
    margin: 10px 5px;
    display: block;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section spacing improvements */
  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    margin-bottom: 15px;
    font-size: 2rem;
  }

  .section-title p {
    margin-bottom: 20px;
    line-height: 1.6;
  }

  /* About section spacing */
  .about_section .img-box {
    margin-top: 30px;
  }

  .about_section .detail-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .about_section .detail-box p {
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .about_section .detail-box .btn {
    margin-top: 20px;
    padding: 12px 25px;
  }

  /* Service section spacing */
  .service_section .service-card {
    margin-bottom: 25px;
    padding: 25px 20px;
  }

  .service_section .service-card h5 {
    margin-bottom: 15px;
    font-size: 1.3rem;
  }

  .service_section .service-card p {
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .service_section .service-card .fa-3x {
    margin-bottom: 20px;
  }

  /* Contact section spacing */
  .contact_section .form_container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-info-card,
  .service-areas-card {
    margin-bottom: 25px;
    padding: 25px 20px;
  }

  .contact-info-card h4,
  .service-areas-card h4 {
    margin-bottom: 20px;
    font-size: 1.4rem;
  }

  .contact-method {
    padding: 18px 0;
    margin-bottom: 5px;
  }

  .contact-method .contact-icon {
    margin-right: 15px;
  }

  .area-group {
    margin-bottom: 20px;
  }

  .area-group strong {
    margin-bottom: 12px;
    font-size: 1.1rem;
  }

  .area-list {
    line-height: 1.6;
  }

  /* CTA section spacing */
  .cta-section {
    padding: 40px 20px;
    margin: 30px 15px;
  }

  .cta-section h3 {
    margin-bottom: 15px;
    font-size: 2rem;
  }

  .cta-section p {
    margin-bottom: 25px;
    line-height: 1.6;
  }

  .cta-btn {
    margin: 8px 5px;
    padding: 12px 25px;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Emergency banner spacing */
  .emergency-banner {
    margin: 20px 15px;
    padding: 25px 20px;
  }

  .emergency-banner h4 {
    margin-bottom: 12px;
    font-size: 1.3rem;
  }

  .emergency-banner p {
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .emergency-phone {
    font-size: 1.3rem;
    padding: 8px 15px;
    display: inline-block;
    margin-top: 10px;
  }

  /* Info section spacing */
  .info_section .info_contact {
    margin: 20px 0;
  }

  .info_section .row>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
  }

  .info_section .info_main .rov>div {
    margin-bottom: 30px;
  }

  .info_section .social_box {
    margin-bottom: 30px;
  }

  .info_section .social_box a {
    margin: 0 8px;
    font-size: 1.2rem;
  }

  /* Footer spacing */
  .footer_section {
    padding: 30px 0;
  }

  .footer_section p {
    margin-bottom: 15px;
    line-height: 1.5;
  }

  /* Client section spacing */
  .client_section .carousel-control-prev,
  .client_section .carousel-control-next {
    position: unset;
    transform: none;
  }

  .client_section .carousel_btn-box {
    margin-top: 30px;
  }

  /* Mobile menu alignment fixes */
  .custom_nav-container .navbar-nav {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
  }

  .custom_nav-container .navbar-nav .nav-item {
    width: 100%;
    margin: 12px 0 !important;
    text-align: center;
    max-width: 180px;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link img {
    width: 96px;
    height: 92px;
    margin: 0 auto;
    display: block;
  }

  /* General mobile spacing improvements */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .col-md-6,
  .col-lg-6 {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Button spacing */
  .btn {
    margin: 8px 5px;
  }

  .btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
  }

  /* Button group spacing for better mobile layout */
  .hero-cta-buttons .btn,
  .cta-section .cta-btn,
  .cta-section .btn {
    margin: 15px 8px !important;
    display: block !important;
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Override Bootstrap margin classes on mobile */
  .btn.mr-3 {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }

  /* Ensure all button groups have proper spacing */
  .cta-section .mt-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-section .mt-4 .cta-btn {
    margin: 0 !important;
  }

  /* Text spacing */
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }

  p {
    line-height: 1.6;
    margin-bottom: 15px;
  }

  /* List spacing */
  ul, ol {
    padding-left: 20px;
  }

  li {
    margin-bottom: 8px;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .header_section .header_top .contact_nav a span {
    display: none;
  }

  /* Logo and brand text responsive fixes for very small screens */
  .navbar-brand strong {
    font-size: 1rem !important;
    margin-left: 4px !important;
  }

  .navbar-brand img {
    height: 70px !important;
  }

  /* Enhanced mobile menu centering for very small screens */
  .custom_nav-container .navbar-nav .nav-item .nav-link img {
    width: 96px;
    height: 92px;
    margin: 0 auto;
  }

  /* Override inline styles that cause alignment issues */
  .custom_nav-container .navbar-nav .nav-item[style*="margin-right"] {
    margin-right: 0 !important;
  }

  /* Additional spacing for very small screens */
  .slider_section .detail-box {
    padding: 25px 10px;
  }

  .slider_section .detail-box h1 {
    font-size: 1.8rem;
    margin-bottom: 25px !important;
  }

  .hero-subtitle {
    margin: 20px 10px !important;
    padding: 15px 20px !important;
  }

  .hero-cta-buttons .btn {
    margin: 15px 5px;
    padding: 15px 20px;
  }

  /* Additional button spacing for very small screens */
  .hero-cta-buttons .btn,
  .cta-section .cta-btn,
  .cta-section .btn {
    margin: 18px 5px !important;
    max-width: 260px !important;
  }

  /* Enhanced CTA section button spacing for very small screens */
  .cta-section .mt-4 {
    gap: 20px;
  }

  .cta-section .mt-4 .cta-btn {
    margin: 0 !important;
    padding: 15px 20px;
  }

  .section-padding {
    padding: 30px 0;
  }

  .contact-info-card,
  .service-areas-card {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .cta-section {
    padding: 30px 15px;
    margin: 20px 10px;
  }

  .emergency-banner {
    margin: 15px 10px;
    padding: 20px 15px;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 480px) {}

@media (max-width: 420px) {}

@media (max-width: 376px) {}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}