:root {
  --footer-bg: #1f232a;
  --footer-bg-2: #1b1f25;
  --footer-text: #cfd6df;
  --footer-muted: #9aa3ad;
  --footer-accent: #ff8a00;
  --divider: #2b3139;
  --brand: #060682;
  --brand-2: #2a9df4;
  --ink: #1f232a;
  --reddark: #b30000;
  --soft: #f6f7fb;
  --accent: #e02b2b;
  /* red accent used in heading */
  --accent-2: #f1c27a;
  /* yellow outline */
  --muted: #6b7280;
  --accent: #111;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --radius: 8px;
}

/* Sticky navbar style */
.navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Smooth appearance */
.navbar-sticky-show {
  opacity: 1;
  transform: translateY(0);
}


#mainNavbar {
  transition: box-shadow .25s ease, padding .18s ease, transform .18s ease, background-color .18s ease;
  padding: .75rem 0;
}

#mainNavbar.navbar-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  box-shadow: 0 8px 30px rgba(13, 30, 60, .12);
  background: rgba(219, 124, 30, 0.98);
  padding: .45rem 0;
  transform: translateZ(0);
}

#mainNavbar.navbar-scrolled .navbar-brand img {
  height: 36px;
  transition: height .18s ease;
}

/* ensure collapsed menu (mobile) still overlays under fixed navbar when open */
.offcanvas-backdrop,
.navbar-collapse.show {
  z-index: 1050;
}


.service-card {
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.08)
}

.divider {
  height: 4px;
  width: 72px;
  background: var(--brand);
  border-radius: 8px
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand) !important;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--brand) !important;
}

body {
  font-family: sans-serif;
  overflow-x: hidden;
}

section {
  overflow-x: hidden;
}

.slider {
  width: 80%;
  margin: auto;
}

.slider img {
  width: 100%;
  border-radius: 10px;
}

.slick-slide {
  margin: 0 15px;
}

.slick-list {
  margin: 0 -15px;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.accordion-button:not(.collapsed) {
  background: var(--brand);
  color: #fff;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button {
  font-weight: bold;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: var(--brand) !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/banner.png") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(178.52deg,
      rgba(0, 0, 0, 0) 0.6%,
      rgba(0, 0, 0, 0.2) 28.98%),
    url(plumbing-professional-doing-his-job.jpg);
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero .bi-star-fill {
  color: var(--brand);
}

.hero-form {
  background: #f6f7fb;
  border-radius: 1rem;
}

.hero-form .card-body .form-control,
.hero-form .card-body .form-select {
  background: #fff;
  border: 1px solid #dfe3ea;
  color: #1f232a;
}

.form-control:focus {
  box-shadow: none;
}

.hero-form .form-accent {
  height: 8px;
  background: linear-gradient(90deg, #060682 0 70%, #e8892d 70% 100%);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

#requestCallbackModal.show,
#plumbingModal.show,
#heatingModal.show {
  z-index: 9999;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

footer {
  color: var(--footer-text);
  background: var(--footer-bg);
  font-size: 0.95rem;
  overflow-x: hidden;
}

.footer-top {
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--footer-accent);
  display: inline-block;
}

.footer-desc {
  color: var(--footer-muted);
  max-width: 360px;
}

.fa-caret-right,
.fa-chevron-right {
  font-size: 10px !important;
  color: var(--brand);
}

footer .fa-chevron-right {
  font-size: 10px !important;
  color: #f4a148 !important;
}

.footer-title {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.5s;
}

.footer-links a:hover {
  color: #f4a148;
  padding-left: 10px;
}

.foot_menu .footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.5s;
  width: 100%;
  display: block;
  line-height: 40px;
  border-bottom: 1px solid #cccccc63;
}

.foot_menu .footer-links a:hover {
  color: #f4a148;
  padding-left: 10px;
}

.divider {
  height: 1px;
  background: var(--divider);
}

.newsletter .form-control {
  background: #2a2f37;
  border-color: #2a2f37;
  color: #fff;
}

.newsletter .form-control::placeholder {
  color: #8e97a1;
}

.newsletter .btn {
  background: #303743;
  border-color: #303743;
  color: #fff;
}

.newsletter .btn:hover {
  background: #39414e;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a2f37;
  color: #fff;
  margin-right: 0.5rem;
}

.social a:hover {
  background: var(--brand);
}

footer .social a:hover {
  background: #f4a148;
}

.serve-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 20px;
}

.serve-list li {
  margin: 6px 0;
}

.footer-bottom {
  background: var(--footer-bg-2);
  color: var(--footer-muted);
  padding: 14px 0;
  font-size: 0.9rem;
}

.full_bg {
  background: #cccccc36;
  padding-top: 50px;
  background-image: url(../images/pattern.png);
  background-position: center right;
  background-repeat: repeat-y;
}

.footer-bottom a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.navbar-toggler {
  border: none;
}

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

.emergency-box {
  max-width: 1249px;
  margin: 0 auto;
  border-radius: 0px;
  background: url(../images/bg.png) no-repeat center center;
  color: #fff;
  background-size: cover;
  min-height: 128px;
  background-position: center;
}

.emergency-section a.btn:hover {
  color: var(--reddark);
  background: #fff;
}

.service-rail {
  min-height: 380px;
}

@media (max-width: 991.98px) {
  .service-rail {
    flex-direction: column;
  }
}

.service-card {
  position: relative;
  flex: 1 1 0;
  height: 380px;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg) center/cover no-repeat;
  transition: flex 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.45s,
    filter 0.45s;
  outline: none;
}

.detail_page .service-card {
  height: 250px;
  text-align: center;
  border-radius: 10px;
}

.detail_page .service-card-blue {
  height: 250px;
  text-align: center;
  background-color: #060682;
  border-radius: 10px;
}

.detail_page .service-card-orange {
  height: 250px;
  text-align: center;
  background-color: #df6100
}

.service-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.6);
}

.service-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 70%);
  transition: opacity 0.45s;
  opacity: 0.65;
}

.service-card .card-label {
  position: absolute;
  inset: 0 auto 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 0.5rem;
  opacity: 0.85;
  user-select: none;
  transition: opacity 0.35s, transform 0.35s;
}

.service-card .card-inner {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s, transform 0.45s;
}

.service-card .card-title {
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.service-card .card-text {
  color: rgba(255, 255, 255, 0.85);
}

.service-card.active {
  flex: 2.6 1 0;
  transform: translateY(-2px);
  filter: none;
}

.service-card.active .card-overlay {
  opacity: 0.35;
  background: #222;
}

.service-card.active .card-inner {
  opacity: 1;
  transform: translateY(0);
}

.service-card.active .card-label {
  opacity: 0;
  transform: translateX(-6px) rotate(180deg);
}

@media (min-width: 992px) {
  .service-card:not(.active):hover {
    transform: translateY(-2px);
    background-color: antiquewhite;
  }
}

.testimonial-card {
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.1);
}

.carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #c9c9c9;
}

.carousel-indicators .active {
  background-color: #000;
}

.pricing-card {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrap {
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  color: #111827;
  font-size: 1rem;
}

.services_cont-illustra {
  position: relative;
  max-width: 560px;
}

.services_cont-illustra::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 18%);
  pointer-events: none;
  border-radius: 1rem;
}

.services_cont-img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
}

.faq-item .accordion-button {
  background: #fff;
  color: #111;
  box-shadow: none;
  padding: 0.9rem 1rem;
}

.faq-item .accordion-button:not(.collapsed) {
  background: #fff;
  color: #111;
}

.faq-item .accordion-body {
  color: #6b7380;
}

@media (prefers-reduced-motion: no-preference) {
  .services_cont-img {
    animation: floatY 6s ease-in-out infinite;
  }

  @keyframes floatY {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-6px);
    }
  }
}

.page-hero {
  height: 240px;
  overflow: hidden;
}

.page-hero-accent {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  z-index: 3;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/sub_banner.png") center/cover no-repeat;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.hover-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.hover-img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.hover-card:hover .hover-img {
  transform: scale(1.07);
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background: #e8892d;
  color: #fff;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

.hover-card:hover .hover-overlay {
  opacity: 1;
}

.overlay-text {
  text-align: center;
  padding: 1rem;
}

.text-card {
  background: #e8892d;
  height: 100%;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.18;
}

.shape.one {
  width: 220px;
  height: 220px;
  background: var(--brand-2);
  right: -60px;
  top: -60px;
}

.shape.two {
  width: 160px;
  height: 160px;
  background: var(--brand);
  left: -40px;
  bottom: -40px;
}

.contact-card {
  border: 1px solid #eef0f3;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.contact-card .form-control,
.contact-card .form-select {
  background: #fff;
  border: 1px solid #e4e7ee;
}

.info-card {
  border: 1px solid #eef0f3;
  border-radius: 16px;
}

.info-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f0f5ff;
  color: #0d6efd;
}

.emergency-card {
  background: linear-gradient(135deg, #ff3b3b 0%, #b50000 100%);
  border-radius: 18px;
  overflow: hidden;
}

.emergency-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background-image: linear-gradient(135deg,
      rgba(255, 255, 255, 0.05) 25%,
      transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%);
  background-size: 28px 28px;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

.emergency-inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(0, 0, 0, 0.04) 100%);
  border-radius: 12px;
}

.emergency-card h5 {
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.phone-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.18s ease, 0.18s ease;
}

.phone-pill i {
  font-size: 1.05rem;
}

.phone-pill:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .emergency-card {
    margin-top: 8px;
  }

  .phone-pill {
    display: inline-block;
  }
}

.text-danger {
  color: #e11d1d !important;
}

.booking-card .form-control,
.booking-card .form-select {
  border-radius: 999px;
}

.booking-card textarea.form-control {
  border-radius: 12px;
}

@media (min-width: 992px) {
  .booking-card .form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 14px;
  }
}

.policy-container h1 {
  color: #222222;
  font-size: 20px;
  font-weight: bold;
}

.policy-container h2 {
  color: #000000;
  font-size: 22px;
  font-weight: bold;
}

.services_cont-slab {
  padding: 4rem 0;
}

.img-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  margin: auto;
}

.img-frame .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(10, 10, 30, 0.08);
  transform: rotate(-4deg) translateY(-6px);
  display: block;
}

.img-frame::before {
  top: -18px;
  left: -8px;
  width: 110px;
  height: 18px;
  border-width: 3px 0 0 3px;
  transform: rotate(-18deg);
  opacity: 0.95;
}

.img-frame::after {
  bottom: -18px;
  right: -8px;
  width: 110px;
  height: 18px;
  border-width: 0 3px 3px 0;
  transform: rotate(-18deg);
  opacity: 0.95;
}

.img-frame>.stroke-left {
  left: -22px;
  top: 40%;
  width: 26px;
  height: 90px;
  border-width: 0 3px 3px 0;
  transform: rotate(6deg);
}

.img-frame>.stroke-right {
  right: -22px;
  top: 10%;
  width: 26px;
  height: 110px;
  border-width: 3px 0 0 3px;
  transform: rotate(-8deg);
}

/* content styling */
.eyebrow {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.heading-strong {
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.05;
}

.heading-strong .accent {
  color: var(--accent);
}

.lead-muted {
  color: var(--muted);
  max-width: 560px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #f5f6f8;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 10, 30, 0.04);
  margin-top: 1.25rem;
}

.feature-badge .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(10, 10, 30, 0.04);
  color: var(--accent);
}

.years {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.years .num {
  font-size: 3.25rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  font-family: "Georgia", serif;
}

.years .txt {
  font-weight: 700;
  color: #111;
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  .img-frame {
    max-width: 320px;
    margin-bottom: 1.25rem;
  }

  .heading-strong {
    font-size: 1.6rem;
  }

  .years .num {
    font-size: 2.4rem;
  }
}

.offer-section {
  padding: 2.5rem 0;
}

.tabs-left {
  border-right: 1px solid #eee;
  padding-right: 1.25rem;
}

.nav-tabs .nav-link {
  color: #111;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #ccc;
  width: 100%;
  text-align: left;
}

.nav-tabs .nav-link.active {
  color: var(--brand);
  border-left-color: var(--brand);
  background: transparent;
  border-radius: 0;
}

.nav-tabs .nav-link+.nav-link {
  margin-top: 0.45rem;
}

.tab-pane {
  padding-top: 0.2rem;
}

.offer-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.offer-body {
  color: var(--muted);
  line-height: 1.6;
}

.consult-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(18, 24, 32, 0.06);
  padding: 1rem;
}

.consult-card img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .tabs-left {
    border-right: 0;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .nav-tabs .nav-link {
    border-left: 0;
    border-bottom: 1px solid #f1f3f5;
    border-radius: 0.25rem;
  }

  .nav-tabs .nav-link.active {
    border-bottom-color: transparent;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
  }
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #475569;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1e293b;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0e66e9;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(255,
      255,
      255,
      0.8);
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #475569;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0e66e9;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

.services_cont .content h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.services_cont .content .lead {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.services_cont .content>p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.services_cont .features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services_cont .feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.services_cont .icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services_cont .icon-wrapper i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.services_cont .feature-content {
  flex: 1;
}

.services_cont .feature-content h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.services_cont .feature-content p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.services_cont .image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.services_cont .grid-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.services_cont .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services_cont .grid-item.grid-large {
  grid-row: span 2;
}

.services_cont .grid-item.grid-large img {
  height: 100%;
  min-height: 500px;
}

.services_cont .grid-item.grid-small img {
  height: 240px;
}

.services_cont .stats-card {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services_cont .stat-item {
  text-align: center;
}

.services_cont .stat-item h4 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.services_cont .stat-item p {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0;
  color: var(--heading-color);
}

@media (max-width: 992px) {
  .services_cont .content h3 {
    font-size: 1.625rem;
  }

  .services_cont .image-grid {
    margin-bottom: 2rem;
  }

  .services_cont .image-grid .grid-item.grid-large img {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .services_cont .image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services_cont .image-grid .grid-item.grid-large {
    grid-row: span 1;
  }

  .services_cont .image-grid .grid-item.grid-large img {
    min-height: 300px;
  }

  .services_cont .image-grid .grid-item.grid-small img {
    height: 200px;
  }

  .services_cont .stats-card {
    flex-direction: row;
    justify-content: space-around;
    padding: 1.5rem 1rem;
  }

  .services_cont .stat-item h4 {
    font-size: 1.875rem;
  }
}

.hero_sub_banner {
  background: url(../images/subheader-banner.jpg) no-repeat center;
  padding: 0;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_sub_banner .van {
  max-width: 400px
}

.section-title {
  color: var(--blue-900);
  font-weight: 700;
  font-size: 26px;
}

.membership-card .text-primary {
  color: #ff5b00 !important;
  font-size: 16px;
}

.membership-card .text-primary:hover {
  color: #fff !important;
  background: #000000;
}

.btn-accent:hover {
  background: #ff5b00;
  color: #fff;
}

/* Right form card */
.membership-card {
  background: linear-gradient(180deg, #ff7a00, #ff5b00);
  color: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12)
}

.membership-card .form-control {
  border-radius: 50px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 0
}

.membership-card label {
  font-size: 0.85rem
}

.btn-accent {
  background: var(--accent);
  border: 0;
  color: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600
}

/* Content left */
.lead-section {
  background: transparent
}

.feature-list li {
  margin-bottom: 10px
}

.important-terms {
  background: #fff7f0;
  border-left: 4px solid var(--brand);
  padding: 16px;
  border-radius: 8px
}

/* CTA and icons */
.icon-circle {
  width: 86px;
  height: 86px;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, #fff, #f1fbff);
  box-shadow: 0 6px 20px rgba(2, 40, 80, 0.06);
}

.feature-grid .card {
  border: 0;
  background: transparent
}

/* testimonial */
.testimonials {
  background: linear-gradient(90deg, #0e2e5a, #133b71);
  color: #fff;
  padding: 48px 15px;
}

.rating-box {
  background: #0e2e5a;
  padding: 24px;
  border-radius: 8px;
  color: #fff
}

/* map & logos_area_plane */
.map-circle {
  width: 100%;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08)
}

.logos_area_plane img {
  max-height: 70px;
  opacity: 0.95
}

.main_content h2 {
  font-size: 20px;
  font-weight: 700;
}

.main_content h3 {
  font-size: 20px;
  font-weight: 700;
}

.main_content h4 {
  font-size: 20px;
  font-weight: 700;
}

.left_tabs_area {
  display: grid;
  grid-template-columns: 250px 1fr;
}

.left_tabs_area .nav-link {
  margin-bottom: 5px;
  background: var(--footer-text) !important;
  color: var(--divider);
}

.left_tabs_area .nav-link.active {
  background: var(--brand) !important;
}

.nav-company {
  position: relative;
}

.nav-company .nav-company-toggle {
  cursor: default;
}

.nav-company .nav-chevron {
  transition: transform 0.2s ease;
}

.nav-item-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: #111827;
  padding: 0.4rem 0;
  border-radius: 8px;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown-item+.nav-dropdown-item {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 0.8rem;
}

.nav-dropdown-title {
  font-weight: 600;
}

.nav-dropdown-item small {
  color: #6b7280;
  font-size: 0.8rem;
}

.nav-dropdown-item:hover {
  background: rgba(219, 124, 30, 0.08);
  padding-left: 0.5rem;
}

@media (max-width: 991.98px) {
  .nav-item-dropdown .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0 0.5rem 1rem;
  }

  .nav-item-dropdown .nav-dropdown.show,
  .nav-item-dropdown.is-open .nav-dropdown {
    display: block;
  }

  .mobile-submenu {
    list-style: none;
    padding-left: 1rem;
    display: none;
  }

  .mobile-submenu.show {
    display: block;
  }
}

/* Services Dropdown Specifics */
.services-dropdown-container {
    display: flex;
    gap: 2rem;
    min-width: 650px;
}

.services-column {
    flex: 1;
}

.services-column-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid rgba(6, 6, 130, 0.1);
    padding-bottom: 0.4rem;
}

.services-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-sub-link {
    display: block;
    padding: 0.3rem 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.services-sub-link:hover {
    color: var(--brand);
    padding-left: 4px;
}

@media (max-width: 991.98px) {
    .services-dropdown-container {
        flex-direction: column;
        min-width: auto;
        gap: 1.5rem;
    }
    
    .services-column-title {
        margin-top: 1rem;
    }
}

#backToTop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1050;
  border: none;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop i {
  font-size: 1.25rem;
}

/* responsive tweaks */
@media (max-width:991px) {
  .membership-card {
    margin-top: 24px
  }

  .hero_sub_banner .van {
    max-width: 260px
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 0;
  animation: fadeIn .4s ease;
  overflow-y: auto;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    margin-top: -20px;
  }

  to {
    opacity: 1;
    margin-top: 0;
  }
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-menu-list {
  list-style: none;
  padding: 0 30px;
  margin-top: 70px;
  text-align: left;
}

.mobile-menu-list li {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--accent-2);
}

.mobile-menu-list a {
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu-list a:hover {
  color: #ffc107;
}

.mobile-submenu {
  list-style: none;
  padding-left: 15px;
  margin-top: 10px;
  display: none;
}

.mobile-submenu.show {
  display: block;
}

.mobile-submenu a {
  color: #fff;
  font-size: 1.1rem;
  padding: 6px 0;
  display: block;
}

.rotate {
  transform: rotate(180deg);
  transition: 0.3s;
}

.hero_form_mobile {
  display: none;
}

.banner_form_area {
  display: block;
}

.service-card .icon-circle {
  border-radius: 100rem;
  min-width: 60px;
  max-height: 60px;
}

@media (max-width: 992px) {
  .hero_form_mobile {
    display: block;
    margin: 20px 0;
  }

  .banner_form_area {
    display: none;
  }

  #navbarNav {
    display: none !important;
  }

  #topBar {
    display: none !important;
  }

  .service-card {
    min-height: 100px;
  }

  .service-card.active {
    min-height: 300px;
  }

  .btn-accent {
    zoom: 0.7;
  }

  section.banner-section.position-relative.py-4 {
    zoom: 0.8;
  }

  section.banner-section.position-relative.py-4 .btn {
    zoom: 0.7;
  }

  .rounded-pill {
    zoom: 0.8;
  }

  .left_tabs_area {
    display: grid;
    grid-template-columns: 1fr;
  }

}

.error-border {
  border: 1px solid red !important;
}

.input-error {
  margin-top: 3px;
  color: red;
  font-size: 13px;
}

.membership-card .input-error {
  color: #fff !important;
}


.service-image-grid-section .service-img-wrapper {
  height: 450px;
  overflow: hidden;
}

.service-image-grid-section .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-orange,
.bg-orange:hover {
  background-color: #ff5b00 !important;
  color: #fff;
}

.form-select:focus {
  outline: none;
  box-shadow: none;
}

.btn-primary:disabled {
  background-color: var(--brand);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  opacity: 0.75;
  pointer-events: none;
}

.white-text {
  color: #ffffff !important;
}