
/* DHURVI ENTERPRISES — EQUIPMENT PAGE CSS */

/* =========================================
   1. EQUIPMENT HERO
========================================= */

.equipment-page .equipment-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 440px;
  padding: 4.5rem 0;
  overflow: hidden;
  background-color: #0c1b2f;
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 22, 39, 0.96) 0%,
      rgba(8, 22, 39, 0.84) 48%,
      rgba(8, 22, 39, 0.35) 100%
    ),
    url("../images/image1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.equipment-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 0.9rem;
}

.equipment-breadcrumb a {
  color: #ff8a35;
  text-decoration: none;
}

.equipment-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.equipment-eyebrow {
  margin: 0 0 0.85rem;
  color: #b64b2a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.equipment-page .equipment-hero .equipment-eyebrow {
  color: #ff9a52;
}

.equipment-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.equipment-hero-description {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: #edf1f5;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
}

.equipment-strata {
  height: 8px;
  background: linear-gradient(
    90deg,
    #0c1b2f 0%,
    #0c1b2f 25%,
    #b64b2a 25%,
    #b64b2a 65%,
    #7f2e1d 65%,
    #7f2e1d 82%,
    #263c56 82%,
    #263c56 100%
  );
}

/* =========================================
   2. EQUIPMENT SERVICES SECTION
   WHITE BACKGROUND
========================================= */

.equipment-services-section {
  padding: 5rem 0;
  background-color: #fff;
}

.equipment-section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.equipment-section-heading h2 {
  margin: 0 0 1rem;
  color: #0c1b2f;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.equipment-section-heading > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.8;
}

.equipment-services-section .equipment-eyebrow {
  color: #b64b2a;
}

/* =========================================
   3. EQUIPMENT CARDS
   WHITE CARDS WITH LIGHT BORDERS
========================================= */

.equipment-service-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(12, 27, 47, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.equipment-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(12, 27, 47, 0.14);
}

.equipment-card-visual {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  overflow: hidden;
  background-color: #e8edf2;
  color: #0c1b2f;
}

.equipment-card-visual::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 47, 0.02),
    rgba(12, 27, 47, 0.12)
  );
  content: "";
}

.equipment-card-visual i,
.equipment-card-visual span {
  position: relative;
  z-index: 1;
}

.equipment-card-visual i {
  font-size: 3.8rem;
  line-height: 1;
}

.equipment-card-visual span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.equipment-visual-jcb {
  background-color: #f0e8df;
  color: #a94229;
}

.equipment-visual-tractor {
  background-color: #e5eee7;
  color: #254e3b;
}

.equipment-visual-dumper {
  background-color: #e3eaf2;
  color: #203d5c;
}

.equipment-card-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 1.6rem;
}

.equipment-card-category {
  margin: 0 0 0.65rem;
  color: #b64b2a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.equipment-card-body h3 {
  margin: 0 0 0.8rem;
  color: #0c1b2f;
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.25;
}

.equipment-card-body > p:not(.equipment-card-category) {
  margin: 0 0 1.1rem;
  color: #5e6875;
  font-size: 0.95rem;
  line-height: 1.8;
}

.equipment-feature-list {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid #e5e9ef;
  list-style: none;
}

.equipment-feature-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.equipment-feature-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #b64b2a;
  content: "✓";
  font-weight: 700;
}

/* Card buttons */

.equipment-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 46px;
  max-width: 100%;
  margin-top: auto;
  padding: 0.75rem 1rem;
  border: 1px solid #0c1b2f;
  border-radius: 4px;
  background-color: #0c1b2f;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.equipment-card-button:hover,
.equipment-card-button:focus-visible {
  border-color: #ff8a35;
  background-color: #ff8a35;
  color: #0c1b2f;
}

.equipment-card-button:focus-visible {
  outline: 3px solid rgba(255, 138, 53, 0.45);
  outline-offset: 3px;
}

/* =========================================
   4. PROJECT-SPECIFIC REQUIREMENTS
   BLUE BACKGROUND
========================================= */

.equipment-additional-section {
  padding: 4.5rem 0;
  background-color: #102b49;
}

.equipment-additional-section .equipment-eyebrow {
  color: #ff9a52;
}

.equipment-additional-section .equipment-section-heading h2 {
  color: #fff;
}

.equipment-additional-section .equipment-section-heading > p:last-child {
  color: #d5e0ed;
}

/* Information note card */

.equipment-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 800px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #dce5ef;
  border-left: 4px solid #ff8a35;
  border-radius: 6px;
  background-color: #fff;
}

.equipment-note i {
  flex: 0 0 auto;
  color: #b64b2a;
  font-size: 1.4rem;
}

.equipment-note p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

/* =========================================
   5. BOTTOM ENQUIRY BANNER
   ORIGINAL LATERITE-RED BACKGROUND
========================================= */

.equipment-enquiry-banner {
  position: relative;
  isolation: isolate;
  padding: 4rem 0;
  overflow: hidden;
  background-color: #a94229;
  background-image: linear-gradient(
    100deg,
    #7f2e1d 0%,
    #a94229 100%
  );
  border-bottom: 4px solid #7f2e1d;
}

.equipment-enquiry-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.equipment-enquiry-copy {
  flex: 1 1 560px;
  max-width: 700px;
}

.equipment-enquiry-banner .equipment-eyebrow {
  color: #ffe0cc;
}

.equipment-enquiry-content h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.equipment-enquiry-content p:not(.equipment-eyebrow) {
  margin: 0;
  color: #fff1e9;
  line-height: 1.8;
}

.equipment-enquiry-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.equipment-contact-button,
.equipment-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid #fff;
  border-radius: 5px;
  background-color: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.equipment-contact-button:hover,
.equipment-contact-button:focus-visible,
.equipment-whatsapp-button:hover,
.equipment-whatsapp-button:focus-visible {
  border-color: #fff;
  background-color: #fff;
  color: #a94229;
}

.equipment-contact-button:focus-visible,
.equipment-whatsapp-button:focus-visible {
  outline: 3px solid #ffd0ad;
  outline-offset: 3px;
}

/* =========================================
   6. TABLET
========================================= */

@media (max-width: 991.98px) {
  .equipment-page .equipment-hero {
    min-height: 380px;
    padding: 4rem 0;
    background-position: 60% center;
  }

  .equipment-services-section {
    padding: 4rem 0;
  }

  .equipment-enquiry-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .equipment-enquiry-copy {
    flex-basis: auto;
    max-width: 100%;
  }

  .equipment-enquiry-actions {
    width: 100%;
  }
}

/* =========================================
   7. MOBILE
========================================= */

@media (max-width: 575.98px) {
  .equipment-page .equipment-hero {
    min-height: 350px;
    padding: 3rem 0;
    background-position: 65% center;
  }

  .equipment-hero h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .equipment-hero-description {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .equipment-services-section,
  .equipment-additional-section {
    padding: 3rem 0;
  }

  .equipment-section-heading {
    margin-bottom: 1.75rem;
  }

  .equipment-section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .equipment-card-visual {
    min-height: 165px;
  }

  .equipment-card-body {
    padding: 1.35rem;
  }

  .equipment-card-button {
    width: 100%;
  }

  .equipment-enquiry-banner {
    padding: 3rem 0;
  }

  .equipment-enquiry-content h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .equipment-enquiry-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .equipment-contact-button,
  .equipment-whatsapp-button {
    width: 100%;
    min-height: 48px;
  }

  .equipment-note {
    padding: 1rem;
  }
}

/* =========================================
   8. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .equipment-service-card,
  .equipment-card-button,
  .equipment-contact-button,
  .equipment-whatsapp-button {
    transition: none;
  }

  .equipment-service-card:hover {
    transform: none;
  }
}
