/* ============================================
   Power Diagnostics — Custom Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #3b82f6;
  --light-bg: #f8f9fa;
  --dark-bg: #0f172a;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Animation Classes --- */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
  opacity: 0;
}

.slide-in-left.animated {
  animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
  opacity: 0;
}

.slide-in-right.animated {
  animation: slideInRight 0.6s ease forwards;
}

.fade-in {
  opacity: 0;
}

.fade-in.animated {
  animation: fadeIn 0.6s ease forwards;
}

.scale-in {
  opacity: 0;
}

.scale-in.animated {
  animation: scaleIn 0.5s ease forwards;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.section-padding {
  padding: 5rem 0;
}

.text-accent {
  color: var(--accent) !important;
}

/* --- Navbar --- */
#mainNav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#mainNav .navbar-brand {
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

#mainNav .navbar-brand:hover {
  transform: scale(1.05);
}

#mainNav .navbar-brand .bi {
  transition: transform 0.3s ease;
}

#mainNav .navbar-brand:hover .bi {
  transform: rotate(20deg);
}

#mainNav .navbar-brand img {
  height: 32px;
  width: auto;
  /* mix-blend-mode: multiply; */
  /* filter: brightness(0.95); */
}

#mainNav .nav-link {
  color: #334155;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}

#mainNav .nav-link.active {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

/* --- Sectors Dropdown Menu --- */
.dropdown-menu-sectors {
  min-width: 800px;
  max-width: 90vw;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

.dropdown-menu-sectors.show {
  transform: translateX(-50%);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu-sectors .dropdown-item {
  padding: 0.6rem 0.5rem;
  border-radius: 0.5rem;
  color: #334155;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.dropdown-menu-sectors .dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  transform: translateX(4px);
}

.dropdown-menu-sectors ul {
  margin-bottom: 0;
}

.dropdown-menu-sectors ul li {
  margin-bottom: 0.15rem;
}

@media (max-width: 991.98px) {
  .dropdown-menu-sectors {
    min-width: auto;
    width: calc(100vw - 2rem);
    max-width: 500px;
    left: 1rem;
    right: 1rem;
    transform: none;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .dropdown-menu-sectors::-webkit-scrollbar {
    width: 6px;
  }
  
  .dropdown-menu-sectors::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .dropdown-menu-sectors::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
  }
  
  .dropdown-menu-sectors::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
  }
  
  .dropdown-menu-sectors.show {
    transform: none;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .dropdown-menu-sectors .row {
    flex-direction: column;
  }
  
  .dropdown-menu-sectors .dropdown-item {
    padding: 0.75rem 1rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .dropdown-menu-sectors {
    min-width: 650px;
  }
  
  .dropdown-menu-sectors .dropdown-item {
    font-size: 0.85rem;
    padding: 0.5rem 0.4rem;
  }
}

/* --- Hero --- */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding-top: 6rem;
}

.hero-subtitle {
  opacity: 0.9;
  max-width: 540px;
}

.hero-section .btn-light {
  color: var(--accent);
  font-weight: 600;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-section .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 20px rgba(37, 99, 235, 0.3);
}

.hero-section .btn-light .bi {
  transition: transform 0.3s ease;
}

.hero-section .btn-light:hover .bi {
  transform: translateX(4px);
}

.hero-icon {
  font-size: 12rem;
  opacity: 0.2;
  line-height: 1;
  animation: pulse 4s ease-in-out infinite;
}

/* --- PD Diagnostics Section --- */
.pd-diagnostics-section {
  background: #ffffff;
  position: relative;
  overflow: visible !important;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.pd-diagnostics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.pd-diagnostics-section .container {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.pd-diagnostics-section .row {
  overflow: visible !important;
}

.pd-diagnostics-section [class*="col-"] {
  overflow: visible !important;
}

.pd-header-decorator {
  width: 40px;
  height: 60px;
  border: 3px solid #dc3545;
  border-right: none;
  border-radius: 8px 0 0 8px;
  margin: 0 auto;
  position: relative;
}

.pd-service-box {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  height: 100%;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.pd-service-box:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.pd-icon-circle {
  width: 75px;
  height: 75px;
  min-width: 75px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.pd-shield-icon {
  font-size: 2.5rem;
  color: var(--accent);
}

.pd-coverage-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #e2e8f0;
  overflow: visible;
}

.pd-asset-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  overflow: visible;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pd-asset-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.pd-asset-image {
  position: relative;
  height: 180px;
  overflow: visible;
  background: #1e293b;
  border-radius: 1rem 1rem 0 0;
}

.pd-asset-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem 1rem 0 0;
}

/* Asset Category Backgrounds */
.pd-asset-cables {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><line x1="10" y1="50" x2="90" y2="50" stroke="rgba(255,255,255,0.1)" stroke-width="3"/><line x1="10" y1="60" x2="90" y2="60" stroke="rgba(255,255,255,0.1)" stroke-width="3"/><line x1="10" y1="70" x2="90" y2="70" stroke="rgba(255,255,255,0.1)" stroke-width="3"/></svg>');
  background-size: cover;
  background-position: center;
}

.pd-asset-switchgear {
  background: linear-gradient(135deg, #475569 0%, #334155 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="20" width="60" height="60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><rect x="30" y="30" width="15" height="40" fill="rgba(255,255,255,0.1)"/><rect x="55" y="30" width="15" height="40" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
  background-position: center;
}

.pd-asset-transformer {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="35" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="65" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><rect x="30" y="20" width="40" height="10" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
  background-position: center;
}

.pd-asset-motor {
  background: linear-gradient(135deg, #475569 0%, #334155 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="rgba(255,255,255,0.1)"/><line x1="50" y1="20" x2="50" y2="35" stroke="rgba(255,255,255,0.15)" stroke-width="3"/><line x1="50" y1="65" x2="50" y2="80" stroke="rgba(255,255,255,0.15)" stroke-width="3"/></svg>');
  background-size: cover;
  background-position: center;
}

.pd-asset-icon-overlay {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 75px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 4px solid white;
  z-index: 10;
}

.pd-asset-content {
  padding: 1.75rem;
  color: #1e293b;
}

.pd-asset-content h5 {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.pd-asset-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.pd-asset-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.pd-asset-list li::before {
  content: '•';
  position: absolute;
  left: 0.3rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.pd-value-prop {
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.pd-value-prop:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.pd-value-prop i {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.9;
}

.pd-value-prop h6 {
  color: #1e293b;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.pd-value-prop p {
  color: #64748b;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pd-service-box {
    padding: 1.5rem;
  }
  
  .pd-icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.5rem;
  }
  
  .pd-asset-image {
    height: 150px;
  }
  
  .pd-asset-icon-overlay {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    top: -25px;
    border-width: 3px;
  }
  
  .pd-shield-icon {
    font-size: 2rem !important;
  }
  
  .pd-value-prop {
    padding: 1.5rem 1rem;
  }
  
  .pd-value-prop i {
    font-size: 2.5rem;
  }
}

/* --- Service Cards --- */
.service-card {
  border-radius: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  font-size: 1.75rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.05);
  background: rgba(37, 99, 235, 0.18);
}

/* --- Sectors --- */
.sector-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.sector-icon {
  font-size: 2.5rem;
  color: var(--accent);
  transition: transform 0.3s ease, color 0.3s ease;
  display: block;
  height: 2.5rem;
  line-height: 1;
}

.sector-card:hover .sector-icon {
  transform: scale(1.15);
  color: var(--accent-dark);
}

.sector-card h6 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.3s ease;
  margin-top: 0.75rem !important;
}

.sector-card:hover h6 {
  color: var(--accent);
}

/* Sectors Carousel Styling */
#sectorsCarousel {
  position: relative;
  padding: 0 4rem 3rem 4rem;
}

#sectorsCarousel .carousel-inner {
  padding: 1rem 0;
}

#sectorsCarousel .carousel-control-prev,
#sectorsCarousel .carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  transition: all 0.3s ease;
  z-index: 10;
}

#sectorsCarousel .carousel-control-prev {
  left: 0;
}

#sectorsCarousel .carousel-control-next {
  right: 0;
}

#sectorsCarousel .carousel-control-prev:hover,
#sectorsCarousel .carousel-control-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

#sectorsCarousel .carousel-control-prev-icon,
#sectorsCarousel .carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
}

#sectorsCarousel .carousel-indicators {
  margin-bottom: 0;
  position: static;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

#sectorsCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.3;
  border: none;
  transition: all 0.3s ease;
  margin: 0 6px;
}

#sectorsCarousel .carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.2);
}

#sectorsCarousel .carousel-item {
  transition: transform 0.6s ease;
}

#sectorsCarousel .row {
  margin: 0;
}

#sectorsCarousel .row > * {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  #sectorsCarousel {
    padding: 0 2.5rem 3rem 2.5rem;
  }
  
  #sectorsCarousel .carousel-control-prev,
  #sectorsCarousel .carousel-control-next {
    width: 3rem;
    height: 3rem;
  }
  
  #sectorsCarousel .row > * {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  #sectorsCarousel {
    padding: 0 0.5rem 3rem 0.5rem;
  }
  
  #sectorsCarousel .carousel-control-prev,
  #sectorsCarousel .carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 1;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  
  #sectorsCarousel .carousel-control-prev {
    left: -0.5rem;
  }
  
  #sectorsCarousel .carousel-control-next {
    right: -0.5rem;
  }
  
  #sectorsCarousel .carousel-control-prev-icon,
  #sectorsCarousel .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .sector-card {
    min-height: 100px;
  }
  
  .sector-icon {
    font-size: 2rem;
    height: 2rem;
  }
}

/* --- About --- */
.about-image-placeholder {
  width: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-dark) 100%);
  border-radius: 1rem;
}

.about-image-placeholder .bi {
  transition: transform 0.3s ease;
}

.about-image-placeholder:hover .bi {
  transform: scale(1.1) rotate(10deg);
}

/* --- Contact --- */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact info icon animations */
#contact .bi {
  transition: transform 0.3s ease, color 0.3s ease;
}

#contact .d-flex:hover .bi {
  transform: scale(1.15);
  color: var(--accent-dark) !important;
}

#contactForm .form-control {
  border-radius: 0.6rem;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#contactForm .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
  transform: translateY(-1px);
}

/* --- Footer --- */
.footer-section {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 2.5rem 0;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 1.1rem;
  margin: 0 0.35rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.footer-social:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px) scale(1.1);
}

/* --- Rental Page Hero --- */
.rental-hero-section {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.rental-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.rental-hero-section h1,
.rental-hero-section p {
  position: relative;
  z-index: 1;
}

.rental-hero-section p {
  opacity: 0.95;
  line-height: 1.7;
}

/* --- Equipment Cards --- */
.equipment-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
  cursor: pointer;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.equipment-image {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.equipment-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
  padding: 1rem;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.05);
}

/* Placeholder for missing images */
.equipment-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%2364748b"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/></svg>') center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.equipment-image img {
  z-index: 1;
}

.equipment-label {
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: left;
  flex-grow: 1;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.equipment-card:hover .equipment-label {
  background: var(--accent-dark);
}

.equipment-label h6 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #fff;
}

/* Equipment Description Overlay */
.equipment-description {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 2rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  z-index: 10;
  border-radius: 1rem;
}

.equipment-card:hover .equipment-description {
  opacity: 1;
  visibility: visible;
}

.equipment-description h5 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.equipment-description p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.95;
}

.equipment-description::-webkit-scrollbar {
  width: 4px;
}

.equipment-description::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.equipment-description::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.equipment-description::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Equipment Grid Responsive */
@media (max-width: 1399.98px) {
  .equipment-card {
    min-height: 260px;
  }
  
  .equipment-label {
    padding: 0.875rem 1rem;
    min-height: 75px;
  }
  
  .equipment-label h6 {
    font-size: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .rental-hero-section {
    min-height: 50vh;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  
  .equipment-card {
    min-height: 240px;
  }
  
  .equipment-label {
    padding: 0.75rem 0.875rem;
    min-height: 70px;
  }
  
  .equipment-label h6 {
    font-size: 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .rental-hero-section {
    min-height: auto;
    padding: 6rem 0 3rem;
  }
  
  .equipment-card {
    min-height: 220px;
  }
  
  .equipment-label {
    padding: 0.75rem;
    min-height: 65px;
  }
  
  .equipment-label h6 {
    font-size: 0.65rem;
    line-height: 1.4;
  }
}

/* --- Repair Page - Process Steps --- */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.step-text {
  flex: 1;
  padding-top: 0.25rem;
}

.step-text h5 {
  color: #1e293b;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-text p {
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .process-step {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
  
  .step-text h5 {
    font-size: 1rem;
  }
  
  .step-text p {
    font-size: 0.9rem;
  }
}

/* --- Responsive Tweaks --- */
@media (max-width: 991.98px) {
  .hero-icon {
    font-size: 7rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }
}
