/* ==========================================================================
   ROCKFIELD EQUIPMENT - CUSTOM BRANDING & ENHANCEMENTS STYLESHEET
   Brand Identity: Navy (#002d62 / #0a2e5c) & Industrial Amber (#f59e0b / #d97706)
   ========================================================================== */

:root {
  --rf-navy: #002d62;
  --rf-navy-dark: #081a33;
  --rf-navy-light: #0d3d7d;
  --rf-amber: #f59e0b;
  --rf-amber-hover: #d97706;
  --rf-amber-light: #fef3c7;
  --rf-steel: #334155;
  --rf-slate: #64748b;
  --rf-light-bg: #f8fafc;
  --rf-card-bg: #ffffff;
  --rf-border: #e2e8f0;

  /* Overriding template variables to exact RockField logo palette */
  --primary: #f59e0b;
  --primary-rgb: 245, 158, 11;
  --primary-mute: #fffbeb;
  --headings-color: #081a33;
  --dark: #081a33;
  --dark-rgb: 8, 26, 51;
  --blue: #002d62;
}

/* --------------------------------------------------------------------------
   Logo Presentation & Topbar Branding
   -------------------------------------------------------------------------- */
.rf-logo-container {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rf-logo-container:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.rf-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.rf-logo-footer {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 10px;
  display: inline-flex;
  margin-bottom: 20px;
}

.rf-logo-footer .rf-logo-img {
  max-height: 52px;
}

/* --------------------------------------------------------------------------
   Top Utility Bar (Emergency Hotline, Quotes, Dispatch)
   -------------------------------------------------------------------------- */
.rf-topbar {
  background-color: var(--rf-navy-dark);
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rf-topbar a {
  color: #e2e8f0;
  transition: color 0.2s ease;
}

.rf-topbar a:hover {
  color: var(--rf-amber);
}

.rf-topbar .badge-hotline {
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse-hotline 2s infinite;
}

@keyframes pulse-hotline {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   Header Navigation Enhancements
   -------------------------------------------------------------------------- */
.header .header-nav-wrapper {
  background: rgba(8, 26, 51, 0.95);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.header .header-nav-wrapper.scroll-on {
  background: #081a33 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar .navbar-nav > li a.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.navbar .navbar-nav > li a.nav-link:hover,
.navbar .navbar-nav > li.active a.nav-link {
  color: var(--rf-amber) !important;
}

.navbar .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--rf-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.navbar .dropdown-menu .dropdown-item {
  color: var(--rf-navy);
  font-weight: 500;
  padding: 9px 20px;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background: var(--rf-amber-light);
  color: var(--rf-navy-dark);
  padding-left: 24px !important;
}

/* Quote button in nav */
.btn-rf-quote {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #081a33 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
}

.btn-rf-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
  color: #000 !important;
}

/* --------------------------------------------------------------------------
   Hero Badge & Industrial Accents
   -------------------------------------------------------------------------- */
.rf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--rf-amber);
  color: var(--rf-amber);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.rf-spec-pill {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Quick Equipment Filter Strip */
.rf-filter-strip {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--rf-border);
}

.rf-filter-strip label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rf-slate);
  margin-bottom: 6px;
}

.rf-filter-strip .form-select,
.rf-filter-strip .form-control {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-weight: 500;
  color: #0f172a;
  height: 48px;
}

/* --------------------------------------------------------------------------
   Equipment Card Enhancements
   -------------------------------------------------------------------------- */
.rf-equip-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--rf-border);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rf-equip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 45, 98, 0.12);
  border-color: var(--rf-amber);
}

.rf-equip-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.rf-equip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rf-equip-card:hover .rf-equip-thumb img {
  transform: scale(1.08);
}

.rf-badge-avail {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rf-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.rf-badge-avail.rental {
  background: #0284c7;
}

.rf-badge-avail.sale {
  background: #16a34a;
}

.rf-badge-avail.both {
  background: var(--rf-navy);
}

.rf-equip-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rf-equip-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rf-amber);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.rf-equip-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rf-navy-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.rf-equip-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  font-size: 13px;
  color: #475569;
  flex-grow: 1;
}

.rf-equip-specs li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.rf-equip-specs li strong {
  color: var(--rf-navy-dark);
}

.rf-equip-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-add-quote {
  flex: 1;
  background: var(--rf-navy);
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-add-quote:hover {
  background: var(--rf-amber);
  color: #081a33;
}

.btn-view-details {
  background: #f1f5f9;
  color: var(--rf-navy);
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view-details:hover {
  background: #e2e8f0;
  color: var(--rf-navy-dark);
}

/* --------------------------------------------------------------------------
   Industry Cards Grid
   -------------------------------------------------------------------------- */
.rf-industry-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rf-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.rf-industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.rf-industry-card:hover img {
  transform: scale(1.1);
}

.rf-industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 51, 0.2) 0%, rgba(8, 26, 51, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.rf-industry-overlay h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 700;
}

.rf-industry-overlay p {
  color: #cbd5e1;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.rf-industry-link {
  color: var(--rf-amber);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Trust Metrics & Value Props Strip
   -------------------------------------------------------------------------- */
.rf-stats-strip {
  background: var(--rf-navy-dark);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.rf-stats-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #002d62, #f59e0b);
}

.rf-stat-item {
  text-align: center;
  padding: 20px;
}

.rf-stat-number {
  font-family: var(--font-family-headings);
  font-size: 46px;
  font-weight: 700;
  color: var(--rf-amber);
  line-height: 1;
  margin-bottom: 8px;
}

.rf-stat-label {
  font-size: 15px;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Quote Cart Floating Drawer & Notification
   -------------------------------------------------------------------------- */
.rf-toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #081a33;
  color: #ffffff;
  border-left: 5px solid var(--rf-amber);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  animation: slideInUp 0.3s ease forwards;
}

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

.rf-cart-counter-badge {
  background: var(--rf-amber);
  color: #081a33;
  font-weight: 800;
  font-size: 11px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
}

/* Footer Enhancements */
.footer-widget .widget-title {
  color: #ffffff;
  border-bottom: 2px solid var(--rf-amber);
  padding-bottom: 12px;
  margin-bottom: 24px;
  display: inline-block;
}

.footer-nav ul li a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: var(--rf-amber) !important;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SUITE
   Breakpoints:
   - Extra Large Desktops (> 1200px)
   - Large Desktops & Tablets Landscape (992px - 1199px)
   - Tablets Portrait (768px - 991px)
   - Mobile Landscape & Large Phones (576px - 767px)
   - Mobile Phones Small & Standard (< 576px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Global Fluid Typography & Anti-Overflow Guardrails
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: clip !important;
  max-width: 100vw;
}

img, video, iframe {
  max-width: 100%;
}

/* Fluid Heading Scales */
h1, .display-1, .display-2 {
  font-size: clamp(1.85rem, 3.8vw + 0.8rem, 3.5rem) !important;
  line-height: 1.18 !important;
}

h2, .display-3, .display-4, .sec-title {
  font-size: clamp(1.45rem, 2.8vw + 0.6rem, 2.45rem) !important;
  line-height: 1.25 !important;
}

.sub-title {
  font-size: clamp(12px, 1.8vw, 14px) !important;
}

.lead {
  font-size: clamp(0.95rem, 1.3vw + 0.6rem, 1.2rem) !important;
  line-height: 1.55 !important;
}

/* Mobile Quick Navigation & Hotline Buttons */
.rf-mob-call-btn,
.rf-mob-cart-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0;
  font-size: 14px;
}

.rf-mob-call-btn {
  color: var(--rf-amber) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  background: rgba(245, 158, 11, 0.1);
}

.rf-mob-call-btn:hover {
  background: var(--rf-amber);
  color: #081a33 !important;
}

.rf-mob-cart-btn {
  background: var(--rf-amber) !important;
  color: #081a33 !important;
  border: none !important;
}

.rf-mob-cart-btn .rf-cart-counter-badge {
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   2. Breakpoint: Under 1200px (Tablets & Below)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .header .header-nav-wrapper {
    padding: 10px 0;
  }

  .rf-logo-img {
    max-height: 42px;
  }

  .navbar-nav {
    gap: 4px;
  }
}

/* --------------------------------------------------------------------------
   3. Breakpoint: Under 992px (Tablets Portrait & Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Logo */
  .rf-logo-container {
    padding: 4px 10px;
  }

  .rf-logo-img {
    max-height: 36px;
  }

  /* Offcanvas Menu Enhancement on Mobile */
  .offcanvas-nav {
    max-width: 86vw !important;
    width: 360px !important;
    background: #081a33 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-nav .navbar-nav {
    width: 100%;
    margin-top: 15px;
  }

  .offcanvas-nav .navbar-nav > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .offcanvas-nav .navbar-nav > li a.nav-link {
    padding: 12px 14px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .offcanvas-nav .dropdown-menu {
    background: #0d284d !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    border-radius: 8px;
    margin: 4px 10px 12px 10px !important;
    padding: 8px 0;
    box-shadow: none !important;
  }

  .offcanvas-nav .dropdown-menu .dropdown-item {
    color: #e2e8f0 !important;
    padding: 8px 16px !important;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .offcanvas-nav .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .offcanvas-nav .dropdown-menu .dropdown-item:hover {
    background: rgba(245, 158, 11, 0.15) !important;
    color: var(--rf-amber) !important;
    padding-left: 20px !important;
  }

  /* Canvas Menu Panel */
  .canvas-menu {
    width: min(380px, 92vw) !important;
  }

  /* Hero Section */
  .hero-slider-sec .slider-item {
    min-height: 560px;
    padding-top: 120px;
    padding-bottom: 70px;
  }

  /* Filter Strip */
  .rf-filter-strip {
    margin-top: 25px !important;
    margin-bottom: 30px;
    padding: 22px 18px !important;
  }

  /* Category & Equip Cards */
  .category-item .product-img {
    height: 200px !important;
  }

  .rf-equip-thumb {
    height: 200px !important;
  }

  /* About Section */
  .about-sec {
    padding: 60px 0 !important;
  }

  .about-txt {
    margin-top: 35px;
  }

  .about-media {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Fulfillment Steps */
  .work-sec {
    padding: 60px 0 !important;
  }

  .work-media {
    margin-top: 35px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Reviews & Testimonials */
  .review-sec {
    padding: 60px 0 !important;
  }

  .review-media {
    max-width: 500px;
    margin: 0 auto 30px auto;
  }

  /* Service Detail Sidebar */
  .service-sidebar {
    margin-top: 40px;
  }
}

/* --------------------------------------------------------------------------
   4. Breakpoint: Under 768px (Mobile Landscape & Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Section Padding */
  .sec-padding {
    padding: 50px 0 !important;
  }

  /* Page Promo Header */
  .promo-sec {
    padding: 110px 0 50px 0 !important;
  }

  .promo-wrap .rf-hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Stats Strip */
  .rf-stats-strip {
    padding: 35px 0 !important;
  }

  .rf-stat-item {
    padding: 12px 6px !important;
  }

  .rf-stat-number {
    font-size: 32px !important;
  }

  .rf-stat-label {
    font-size: 11.5px !important;
    line-height: 1.3;
  }

  /* Industry Cards Grid */
  .rf-industry-card {
    height: 240px !important;
  }

  .rf-industry-overlay {
    padding: 16px 14px !important;
  }

  .rf-industry-overlay h4 {
    font-size: 18px !important;
  }

  .rf-industry-overlay p {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Services Grid Cards */
  .service-card {
    padding: 22px 18px !important;
  }

  /* Testimonial Stat Badge */
  .review-stat {
    position: static !important;
    margin-top: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  }

  /* CTA Section */
  .cta-sec {
    padding: 50px 0 !important;
  }

  .cta-sec .text-lg-end {
    text-align: left !important;
  }

  .cta-sec .d-flex.flex-wrap {
    flex-direction: column !important;
    width: 100%;
  }

  .cta-sec .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding-top: 40px !important;
  }

  .footer-widget {
    margin-bottom: 24px;
  }

  .footer-bottom {
    padding: 16px 0 !important;
  }

  .footer-bottom .d-flex {
    flex-direction: column !important;
    text-align: center;
    gap: 12px;
  }

  .footer-nav ul {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
  }

  /* Booking & Equipment Specs */
  .single-equipment .booking-widget {
    margin-top: 30px;
  }

  .single-equipment .list-flex li {
    flex: 0 0 50% !important;
  }
}

/* --------------------------------------------------------------------------
   5. Breakpoint: Under 576px (Standard Mobile Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  /* Hero Slider Phone Optimization */
  .hero-slider-sec .slider-item {
    min-height: 500px;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-slider-sec .slide-content .rf-hero-badge {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .hero-slider-sec .slide-content h1 {
    font-size: 1.85rem !important;
    margin-bottom: 12px !important;
  }

  .hero-slider-sec .slide-content p {
    font-size: 0.92rem !important;
    margin-bottom: 22px !important;
  }

  .hero-slider-sec .anim3 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .hero-slider-sec .anim3 .btn {
    width: 100% !important;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
  }

  .hero-slider-sec .anim3 .border-start {
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 6px;
    justify-content: center;
    text-align: center;
  }

  /* Filter Strip Controls */
  .rf-filter-strip {
    padding: 16px 14px !important;
    border-radius: 8px;
  }

  .rf-filter-strip label {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .rf-filter-strip .form-select,
  .rf-filter-strip .form-control {
    height: 44px !important;
    font-size: 14px;
  }

  #rf-apply-filter {
    padding: 12px 16px !important;
    font-size: 14px;
  }

  /* Stats Strip on Small Phones */
  .rf-stat-number {
    font-size: 26px !important;
  }

  .rf-stat-label {
    font-size: 10.5px !important;
  }

  /* Equipment Cards Actions */
  .rf-equip-card .rf-equip-body {
    padding: 16px 14px !important;
  }

  .rf-equip-actions {
    flex-direction: column;
    gap: 8px !important;
  }

  .rf-equip-actions .btn-add-quote,
  .rf-equip-actions .btn-view-details {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* About Small Thumbnails */
  .about-sm {
    display: flex !important;
    gap: 10px;
  }

  .about-sm img {
    width: calc(50% - 5px) !important;
    height: 110px;
    object-fit: cover;
  }

  .experience-stat {
    bottom: 12px !important;
    right: 12px !important;
    padding: 8px 12px !important;
  }

  .experience-stat .h2 {
    font-size: 22px !important;
  }

  .about-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .about-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Fulfillment Steps */
  .wk-step {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .wk-step .icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }

  .wk-step .step-info h3 {
    font-size: 15px !important;
  }

  .wk-step .step-info p {
    font-size: 12.5px !important;
  }

  /* Cart Page & RFQ Workflow */
  .cart-section {
    padding: 35px 0 !important;
  }

  .rf-cart-item {
    gap: 10px !important;
    padding: 12px !important;
  }

  .rf-cart-item img {
    width: 65px !important;
    height: 50px !important;
    flex-shrink: 0;
  }

  .rf-cart-item h4 {
    font-size: 14px !important;
    line-height: 1.25;
  }

  .rf-cart-item p {
    font-size: 11px !important;
  }

  /* Single Equipment Specs List */
  .single-equipment .list-flex li {
    flex: 0 0 100% !important;
  }

  /* Toast Notification */
  .rf-toast-notice {
    left: 12px !important;
    right: 12px !important;
    bottom: 16px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
  }
}

/* --------------------------------------------------------------------------
   6. Touch Screen & iOS Safari Form Fixes
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  /* Prevent auto-zooming on focus in iOS Mobile Safari */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}



/* --------------------------------------------------------------------------
   7. Comprehensive Responsive Template Polish
   -------------------------------------------------------------------------- */

/* Prevent any horizontal overflow */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Fluid responsive typography on smaller screens */
@media (max-width: 767.98px) {
  .display-1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem) !important;
    line-height: 1.15 !important;
  }
  .display-2 {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  .display-3 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    line-height: 1.25 !important;
  }
  .sec-title {
    font-size: clamp(1.4rem, 4.5vw, 1.95rem) !important;
    line-height: 1.25 !important;
  }
  .sub-title {
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
  }
  
  /* Promo Hero Banner */
  .promo-sec {
    padding: 60px 0 45px !important;
  }
  .promo-wrap h1 {
    font-size: clamp(1.65rem, 6vw, 2.3rem) !important;
    line-height: 1.2 !important;
  }

  /* Single Equipment Detail Page Slider */
  .single-equipment-slider img {
    height: 270px !important;
  }

  /* Map iframe on mobile phones */
  .map-sec iframe {
    height: 320px !important;
  }

  /* Contact facilities cards */
  .contact-widgets .contact-card {
    padding: 20px 16px !important;
  }

  /* Catalog category filter buttons touch friendly scrolling */
  .filter-menu, .rf-cat-pills {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }
  .filter-menu li, .rf-cat-pills a {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* Buttons & touch targets */
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Table responsive touch scroll */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
  }

  /* Offcanvas mobile menu links */
  .offcanvas-nav .nav-link {
    padding: 12px 16px !important;
    font-size: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet slider & hero */
  .single-equipment-slider img {
    height: 360px !important;
  }
  .map-sec iframe {
    height: 380px !important;
  }
  .promo-sec {
    padding: 80px 0 60px !important;
  }
}


/* --------------------------------------------------------------------------
   8. Dedicated Mobile Menu & Offcanvas Navigation Styles
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  /* Prevent header stacking context from trapping mobile drawer below backdrop */
  .header,
  .header .header-wrapper,
  .header-nav-wrapper {
    z-index: 1045 !important;
  }

  /* Bootstrap Backdrop Positioning */
  .offcanvas-backdrop {
    z-index: 99990 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
  }

  /* Fixed Off-Canvas Sidebar Drawer on Mobile & Tablet */
  #mobileOffcanvasNav.offcanvas,
  #mobileOffcanvasNav.offcanvas-start {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99999 !important;
    background: #081a33 !important; /* Deep RockField Navy */
    color: #ffffff !important;
    box-shadow: 10px 0 45px rgba(0, 0, 0, 0.85) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    visibility: hidden !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #mobileOffcanvasNav.offcanvas.showing,
  #mobileOffcanvasNav.offcanvas.show {
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  #mobileOffcanvasNav.offcanvas.hiding {
    visibility: visible !important;
    transform: translateX(-100%) !important;
  }

  /* Mobile Drawer Brand Header */
  #mobileOffcanvasNav .offcanvas-header {
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #051329 !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Close Button (X) Inside Drawer */
  #mobileOffcanvasNav .offcanvas-header .btn-close {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.9 !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    background-image: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
  }

  #mobileOffcanvasNav .offcanvas-header .btn-close:before {
    display: none !important;
  }

  #mobileOffcanvasNav .offcanvas-header .btn-close:hover {
    background-color: rgba(245, 158, 11, 0.3) !important;
    opacity: 1 !important;
  }

  /* Scrollable Offcanvas Body */
  #mobileOffcanvasNav .offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
    background: #081a33 !important;
  }

  /* Mobile Menu Link Stack */
  #mobileOffcanvasNav .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #mobileOffcanvasNav .navbar-nav .nav-item {
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }

  #mobileOffcanvasNav .navbar-nav .nav-link {
    color: #f1f5f9 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 13px 8px !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
  }

  #mobileOffcanvasNav .navbar-nav .nav-link:hover,
  #mobileOffcanvasNav .navbar-nav .nav-link.active {
    color: var(--rf-amber) !important;
  }

  /* Submenu Toggle Chevron */
  .rf-mob-submenu-btn {
    background: transparent !important;
    border: none !important;
    color: #cbd5e1 !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
  }

  .rf-mob-submenu-btn:not(.collapsed) {
    color: var(--rf-amber) !important;
    transform: rotate(180deg);
  }

  /* Nested Submenu Container */
  .rf-mob-submenu {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
    margin: 4px 0 10px 0 !important;
    padding: 6px 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .rf-mob-sublink {
    display: flex !important;
    align-items: center !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }

  .rf-mob-sublink:hover,
  .rf-mob-sublink:active {
    background: rgba(245, 158, 11, 0.12) !important;
    color: var(--rf-amber) !important;
  }

  .rf-mob-sublink i {
    width: 20px !important;
    font-size: 13px !important;
    color: var(--rf-amber) !important;
  }

  /* Hamburger Toggle Button */
  .navbar-toggler.offcanvas-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .navbar-toggler.offcanvas-nav-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: var(--rf-amber) !important;
  }
}

/* --------------------------------------------------------------------------
   Desktop Navbar Protection (Hide mobile drawer header & logo on Desktop >= 1200px)
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  #mobileOffcanvasNav .offcanvas-header,
  .navbar-expand-xl .offcanvas-header,
  .offcanvas-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  #mobileOffcanvasNav.offcanvas,
  #mobileOffcanvasNav.offcanvas-start {
    position: static !important;
    z-index: auto !important;
    transform: none !important;
    visibility: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    flex-grow: 1 !important;
    transition: none !important;
  }

  #mobileOffcanvasNav .offcanvas-body {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    flex-grow: 1 !important;
  }

  #mobileOffcanvasNav .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  #mobileOffcanvasNav .navbar-nav .nav-item {
    border-bottom: none !important;
    width: auto !important;
  }
}


