/*===================================================================
   Steel Horse Safety Shoes - Refined Theme Custom CSS
   - Preserves all original template elements & hero shapes
   - Ensures text is positioned on top (never covered by shapes)
   - Enhances contrast and readability without removing original aesthetics
===================================================================*/

/* ==================================================================
   1. HERO SECTION (HOME PAGE) - PRESERVE ORIGINAL SHAPES & FIX OVERLAP
   ================================================================== */
.hero-1 {
  position: relative;
  overflow: hidden;
}

.hero-1 .th-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

/* Keep hero shapes visible in background with proper layer order */
.hero-1 .th-hero-bg .hero-shape-1 {
  position: absolute;
  right: 33%;
  top: -5%;
  z-index: 2;
  pointer-events: none;
}

.hero-1 .th-hero-bg .hero-shape-2 {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-1 .th-hero-bg .hero-shape-3 {
  position: absolute;
  left: 30%;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}

/* Ensure text container is elevated above all shapes */
.hero-1 .container {
  position: relative;
  z-index: 10 !important;
}

.hero-1 .hero-style1 {
  position: relative;
  z-index: 10 !important;
  max-width: 800px;
}

/* Hero Title - Bold, Crisp, High Contrast across light shape & dark photo */
.hero-style1 .hero-title,
.hero-1 .hero-style1 .hero-title {
  color: #0E121D !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(255, 255, 255, 0.9);
}

/* Hero Description Text */
.hero-style1 .hero-text,
.hero-1 .hero-style1 .hero-text {
  color: #1a202c !important;
  font-size: 16.5px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  max-width: 600px;
  margin-bottom: 28px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* Hero Subtitle */
.hero-style1 .sub-title,
.hero-1 .hero-style1 .sub-title.style1 {
  color: #8d1f22 !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}


/* ==================================================================
   2. GLASSMORPHISM PILL BADGES FOR MAROON SUBTITLES
   ================================================================== */
.sub-title,
.sub-title.style1,
.title-area .sub-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  padding: 6px 18px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(141, 31, 34, 0.25) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(141, 31, 34, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  color: #8d1f22 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.sub-title.style1::before,
.sub-title::before,
.sub-title::after {
  display: none !important;
}

.consultation-sec .sub-title,
.consultation-sec .sub-title.style1,
.consultation-title-area .sub-title,
.bg-title .sub-title,
.bg-dark .sub-title,
.bg-black .sub-title,
.dark-sec .sub-title {
  background: rgba(14, 18, 29, 0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  color: #ff4d5a !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}


/* ==================================================================
   3. INNER PAGES HERO & BREADCRUMB (ABOUT TO CONTACT)
   ================================================================== */
.breadcumb-wrapper {
  position: relative;
  background-color: #080c16 !important;
  padding: 130px 0 90px !important;
  text-align: center;
  overflow: hidden;
}

.breadcumb-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 22, 0.40) 0%,
    rgba(8, 12, 22, 0.20) 50%,
    rgba(8, 12, 22, 0.40) 100%
  ) !important;
  z-index: 1;
  pointer-events: none;
}

.breadcumb-wrapper .container {
  position: relative;
  z-index: 2;
}

.breadcumb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.breadcumb-subtitle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: rgba(14, 18, 29, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 77, 90, 0.45);
  border-radius: 50px;
  color: #ff4d5a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.breadcumb-title {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  font-size: 42px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  max-width: 900px;
}

.breadcumb-menu {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 6px 20px !important;
  background: rgba(14, 18, 29, 0.55) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  margin: 0 !important;
  list-style: none !important;
}

.breadcumb-menu li {
  color: #e2e8f0 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.breadcumb-menu a {
  color: #ffffff !important;
  font-weight: 600;
  transition: color 0.25s ease;
}

.breadcumb-menu a:hover {
  color: #ff4d5a !important;
}

.breadcumb-menu li:not(:last-child)::after {
  content: "/" !important;
  margin-left: 10px !important;
  color: #94a3b8 !important;
}


/* ==================================================================
   4. MOBILE & TABLET RESPONSIVE REFINEMENTS
   ================================================================== */
@media (max-width: 991px) {
  .breadcumb-wrapper {
    padding: 105px 0 65px !important;
  }
  .breadcumb-title {
    font-size: 34px !important;
  }
  .breadcumb-subtitle {
    font-size: 12px !important;
    padding: 5px 16px;
    letter-spacing: 1.8px !important;
  }
}

@media (max-width: 575px) {
  .breadcumb-wrapper {
    padding: 85px 0 55px !important;
  }
  .breadcumb-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    padding: 0 8px;
  }
  .breadcumb-subtitle {
    font-size: 11px !important;
    padding: 4px 14px;
    letter-spacing: 1.4px !important;
    margin-bottom: 10px;
  }
  .breadcumb-menu {
    padding: 4px 14px !important;
    font-size: 12.5px !important;
    border-radius: 25px !important;
    gap: 6px !important;
  }
  .breadcumb-menu li {
    font-size: 12.5px !important;
  }
}
