/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.6;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.rhinobore-header {
  height: 80px;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  position: relative;   /* 👈 REQUIRED */
}


.header-row {
  display: flex;
  align-items: center;
  width: 100%;
}

/* LOGO (LEFT) */
.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}

/* NAV (RIGHT) */
.header-nav {
  margin-left: auto;
  position: relative;
}

/* MENU */
.main-menu {
  list-style: none;
  display: flex;
  gap: 36px;
  position: relative;
}

.main-menu li {
  list-style: none;
}

.main-menu a {
  position: relative;
  text-decoration: none;
  font-size: 15px;          /* slightly lighter visual weight */
  font-weight: 400;         /* thinner font */
  color: #6f6f6f;           /* neutral corporate grey */
  padding: 28px 0;
  transition: color 0.2s ease;
}
/* TEXT COLOR ON HOVER */
.main-menu a:hover,
.current-menu-item > a {
  color: #0072ce;
}

/* TEXT COLOR ON ACTIVE PAGE */
.current-menu-item > a {
  color: #0072ce;
}

/* DOT INDICATOR */
.menu-dot {
  position: absolute;
  bottom: -3px;              /* 👈 sits ON the border line */
  width: 6px;
  height: 6px;
  background: #0072ce;
  border-radius: 50%;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
  opacity: 0;
  z-index: 5;
}



/* UTILS */
.header-utils {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-utils a {
  color: #666;
  text-decoration: none;
}

.header-utils a:hover {
  color: #0072ce;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: #555;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}.grid-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}


/* ===== FOOTER ===== */
/* ===== rhinobore FOOTER ===== */

.rhinobore-footer {
  background: #2f2f2f;
  color: #bdbdbd;
  padding: 40px 0;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* LEFT SIDE */
.footer-left {
  max-width: 600px;
}

.footer-privacy {
  display: inline-block;
  background: #4a4a4a;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer-privacy:hover {
  background: #5c5c5c;
}

.footer-address {
  margin: 12px 0 6px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 13px;
  color: #9a9a9a;
}

/* RIGHT SIDE */
.footer-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* SOCIAL ICONS (minimal, text-based) */
.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: #cfcfcf;
  font-size: 16px;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #ffffff;
}

/* FAMILY SITE DROPDOWN */
.footer-family button {
  background: transparent;
  border: 1px solid #555;
  color: #cfcfcf;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}

.footer-family button span {
  margin-left: 6px;
}

.footer-family button:hover {
  border-color: #777;
  color: #fff;
}
/* ===== rhinobore HERO ===== */

.rhinobore-hero {
  position: relative;
  height: 420px;
  background-image: url("/wp-content/themes/rhinobore-industrial-pro/assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Subtle dark overlay like rhinobore */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
}

/* Text container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  padding-right: 40px;
}

/* Typography */
.hero-text {
  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.5;
}

/* =========================
   RESPONSIVE NAV
========================= */

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  width: 24px;
  height: 18px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 8px;
}

.nav-toggle span:nth-child(3) {
  top: 16px;
}

/* OPEN STATE (X) */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}


/* ---------- TABLET ---------- */
@media (max-width: 1023px) {
  .main-menu {
    gap: 24px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

  .header-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;              /* 👈 solid background */
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06); /* subtle depth */
    display: none;
    z-index: 20;
  }

  .header-nav.active {
    display: block;
  }

  .main-menu {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 24px 0;
  }
}
/* =========================
   PRODUCT HERO (rhinobore STYLE)
========================= */

.product-hero {
  background: #f2f2f2;
  padding: 80px 0;
}

.product-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

/* IMAGE */
.product-hero-image {
  flex: 0 0 65%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTENT CARD */
.product-hero-card {
  position: absolute;
  right: 10%;
  background: #ffffff;
  padding: 60px 50px;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-hero-card h2 {
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.product-hero-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* MORE LINK */
.hero-more {
  font-size: 15px;
  text-decoration: none;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-more span {
  font-size: 18px;
  line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .product-hero-inner {
    flex-direction: column;
  }

  .product-hero-image {
    flex: none;
    width: 100%;
  }

  .product-hero-card {
    position: relative;
    max-width: 100%;
    right: auto;
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 40px 0;
  }

  .product-hero-card {
    padding: 40px 30px;
  }

  .product-hero-card h2 {
    font-size: 26px;
  }
}

/* =========================
   CONTACT PAGE (NO FORM)
========================= */

.contact-hero {
  padding: 100px 0 60px;
  background: #f5f5f5;
  text-align: center;
}

.contact-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 18px;
  color: #666;
}

/* GRID */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* INFO */
.contact-info h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-info p {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-details a {
  color: #0072ce;
  text-decoration: none;
}

/* MAP */
.contact-map {
  width: 100%;
  height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }

  .contact-hero h1 {
    font-size: 32px;
  }
}
/* =========================
   MEGA DROPDOWN (SLIDE DOWN)
========================= */

.main-menu > li {
  position: relative;
}

/* BASE STATE (HIDDEN) */
.main-menu > li > .sub-menu {
  position: absolute;
  top: calc(100% - 1px);      /* 👈 KEY FIX */
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  width: 900px;

  background: #ffffff;
  padding: 24px 32px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-top: 1px solid #e6e6e6;
  z-index: 100;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* SHOW ON HOVER */
.main-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* REMOVE BULLETS */
.sub-menu {
  list-style: none;
}

/* CARD STYLE */
.sub-menu li {
  text-align: left;
}

.sub-menu li a {
  text-decoration: none;
  color: #111;
  display: block;
}

/* IMAGE */
.sub-menu li a::before {
  content: "";
  display: block;
  height: 110px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
}

/* TITLES */
.sub-menu li a span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.sub-menu li a small {
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

/* CARD IMAGES */
.sub-menu li.menu-fine-boring a::before {
  background-image: url("http://rhinobore.com/wp-content/uploads/2026/01/7799dd802c321bab7104f1efda7754db-e1769599470492.jpeg");
}

/* =========================
   MOBILE BEHAVIOR
========================= */
@media (max-width: 768px) {

  .main-menu > li > .sub-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    padding: 20px;

    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-menu > li.open > .sub-menu {
    display: block;
  }

  .menu-dot {
    display: none;
  }
}
/* =========================
   KEEP DOT VISIBLE WHEN SUBMENU IS OPEN
========================= */

/* When hovering the parent menu item */
.main-menu > li:hover ~ .menu-dot,
.main-menu > li:hover .menu-dot {
  opacity: 1;
}

/* Specifically when hovering Products with submenu */
.main-menu > li.menu-item-has-children:hover ~ .menu-dot {
  opacity: 1;
}

/* Prevent dot from hiding when cursor moves into submenu */
.main-menu > li.menu-item-has-children:hover > .sub-menu ~ .menu-dot {
  opacity: 1;
}

/* =========================
   TOOL CATEGORY – REUSABLE
========================= */

.tool-category-section {
  padding: 100px 0;
}

.tool-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tool-category-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.tool-category-content .lead {
  font-size: 18px;
  margin-bottom: 20px;
}
.tool-category-visual {
  position: relative;
}

/* IMAGE WRAPPER */
.visual-image {
  position: relative;
  padding-bottom: 60px; /* space for overlapping card */
}


.visual-image img {
  width: 100%;
  display: block;
  border-radius: 6px;
}
.tool-card {
  position: absolute;
  bottom: 10px;       /* 👈 pushes card OUTSIDE image */
  left: -30px;         /* 👈 overlaps to the LEFT */

  width: 280px;
  background: #ffffff;
  padding: 20px 22px;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.04);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.12),
    0 6px 14px rgba(0,0,0,0.06);

  z-index: 10;
}

@media (hover: hover) {
  .tool-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 26px 60px rgba(0, 0, 0, 0.16),
      0 10px 24px rgba(0, 0, 0, 0.08);
  }
}
.tool-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0072ce; /* Rhinobore blue */
  border-radius: 10px 0 0 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .tool-category-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }
}
/* =========================
   SINGLE TOOL CARD POSITION
========================= */


/* =========================
   SINGLE TOOL CARD – OUTSIDE IMAGE (BOTTOM LEFT)
========================= */

.tool-card-single {
  position: absolute;
  bottom: 40px;      /* sits in reserved space */
  left: -40px;     /* inset from left edge */
}
/* =========================
   TOOL CARD – SPEC LIST
========================= */

.tool-specs {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.tool-specs li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
}

/* Spec name */
.spec-label {
  color: #0072ce;          /* Rhinobore blue */
  font-weight: 500;
  min-width: 90px;         /* keeps alignment clean */
}

/* Spec value */
.spec-value {
  color: #444;             /* dark gray for readability */
}



/* =========================
   PRODUCT LINES – MODERN GRID
========================= */

.product-lines-modern {
  background: #f6f6f6;
}

.section-title {
  margin-bottom: 40px;
}

/* GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 20px;
  align-items: center;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.10);
}

/* IMAGE */
.product-image {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.product-content {
  position: relative;
  padding-right: 40px;
}

.product-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* ARROW */
.product-arrow {
  position: absolute;
  bottom: 0;
  right: 0;

  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6495ED;        /* deep industrial red */
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  text-decoration: none;

  transition: background 0.3s ease;
}

.product-arrow:hover {
  background: #0047AB;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-image {
    width: 100%;
    height: 160px;
  }

  .product-content {
    padding-right: 0;
  }

  .product-arrow {
    position: static;
    margin-top: 12px;
  }
}
/* =========================
   ABOUT US – BLUE THEME
========================= */

.about-blue {
  background: #f4f8fc; /* soft blue-gray */
}

.about-blue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* IMAGE */
.about-blue-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.12);
}

/* CONTENT */
.about-blue-content {
  max-width: 520px;
}

/* SMALL HEADING */
.about-kicker {
  font-size: 13px;
  font-weight: 600;
  color: #0072ce;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

/* MAIN TITLE */
.about-blue-content h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-blue-content h2 span {
  color: #0072ce;
}

/* INTRO TEXT */
.about-intro {
  font-size: 16px;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* BULLET POINTS */
.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

/* CHECK ICON */
.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0072ce;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-blue-grid {
    grid-template-columns: 1fr;
  }

  .about-blue-content {
    max-width: 100%;
  }
}

body {
  background: #f4f8fc; /* soft blue-gray */
}

/* =====================================================
   Tool Category – Alternating Layout with Floating Card
   ===================================================== */

/* Section spacing */
.tool-category-section {
  padding: 100px 0;
}

/* Grid layout */
.tool-category-grid {
  display: flex;
  align-items: center;
  gap: 80px;
}

.tool-category-content,
.tool-category-visual {
  display: block;
}
/* Reverse orientation */
.tool-category-section.layout-reverse .tool-category-grid {
  flex-direction: row-reverse;
}

/* Text width */
.tool-category-content {
  max-width: 520px;
}

/* -----------------------------
   Image Card (Anchor Element)
   ----------------------------- */
.tool-category-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative; /* anchor for floating card */
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  max-width: 520px;
}

.visual-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* -----------------------------
   Floating Spec Card
   ----------------------------- */
.floating-cards {
  position: absolute;
  bottom: -28px;   /* overlap bottom */
  right: -28px;    /* overlap right edge */
  z-index: 10;
}

.tool-category-section.layout-reverse .floating-cards {
  right: auto;
  left: -28px;
}

/* Spec card */
.info-card {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  max-width: 320px;
}

/* Spec text */
.info-card p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card .label {
  color: #1e40af; /* Rhinobore blue */
  font-weight: 600;
}

/* -----------------------------
   Mobile Behaviour
   ----------------------------- */
@media (max-width: 900px) {

  .tool-category-grid {
    flex-direction: column;
    gap: 40px;
  }

  .floating-cards {
    position: static;
    margin-top: 16px;
  }

  .visual-card {
    max-width: 100%;
  }
}
/* MEDIA COLUMN */
.rb-media {
  flex: 1;
}

/* IMAGE BOX (ANCHOR) */
.rb-image-box {
  position: relative;
  width: 520px;              /* FIXED reference width */
  max-width: 100%;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  overflow: visible;         /* 🔥 CRITICAL */
}

/* IMAGE */
.rb-image-box img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* 🔥 FORCE OVERLAP ON IMAGE */
.rb-spec-card {
  position: absolute;
  bottom: 24px;              /* INSIDE image */
  right: 24px;               /* INSIDE image */
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  width: 260px;
  z-index: 10;
}

/* REVERSE */
.rb-layout-reverse .rb-spec-card {
  right: auto;
  left: 24px;
}
/* =========================
   TOOL CATEGORY SECTION
========================= */

.tool-category-section {
  padding: 100px 0;
}

.tool-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT CONTENT */
.tool-category-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.tool-category-content .lead {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.tool-category-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* RIGHT VISUAL */
.tool-category-visual {
  position: relative;
}

/* IMAGE WRAPPER */
.visual-image {
  position: relative;
  padding-bottom: 60px; /* space for floating card */
}

.visual-image img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

/* =========================
   FLOATING TOOL CARD
========================= */

.tool-card {
  position: absolute;
  background: #ffffff;
  padding: 20px 22px;
  width: 280px;

  border-radius: 10px;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.06);

  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* BLUE ACCENT BAR */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0072ce;
  border-radius: 10px 0 0 10px;
}

/* CARD POSITION (OUTSIDE IMAGE) */
.tool-card-single {
  bottom: 0;
  left: 40px;
}

/* CARD TEXT */
.tool-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

/* =========================
   SPEC LIST
========================= */

.tool-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-specs li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}

.spec-label {
  color: #0072ce;
  font-weight: 500;
  min-width: 90px;
}

.spec-value {
  color: #444;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .tool-category-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    position: static;
    width: 100%;
    margin-top: 24px;
  }
}

/* =====================================================
   TOOL CATEGORY – ALTERNATING LAYOUT
===================================================== */

.tool-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Reverse image/content order */
.tool-category-section.layout-reverse .tool-category-grid {
  direction: rtl;
}

.tool-category-section.layout-reverse .tool-category-content,
.tool-category-section.layout-reverse .tool-category-visual {
  direction: ltr;
}

/* Move floating card to correct side */
.tool-category-section.layout-reverse .tool-card {
  left: auto;
  right: -30px;
}
/* =========================
   MODERN HERO SECTION
========================= */

.hero-modern {
  position: relative;
  height: 600px;
  background-image: url('https://rhinobore.com/wp-content/uploads/2026/hero-bg.jpg'); /* replace */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-modern .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* dark overlay */
}

.hero-modern .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  color: #e6e6e6;
}

/* BUTTONS */
.hero-buttons .btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  margin: 0 10px;
}

.btn-primary {
  background: #0072ce;
  color: #fff;
}

.btn-primary:hover {
  background: #005fa3;
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: #0072ce;
  border: 1px solid #0072ce;
}

.btn-secondary:hover {
  background: #e6e6e6;
  color: #004a8f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-modern {
    height: auto;
    padding: 100px 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}
.hero-title {
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

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

/* =========================
   HERO WITH HTML IMAGE
========================= */

.hero-modern {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #000;
}

/* IMAGE WRAPPER */
.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 🔥 critical */
  object-position: center;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25)
  );
  z-index: 1;
}

/* CONTENT */
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
  color: #fff;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin-bottom: 28px;
  color: #e6e6e6;
}

/* BUTTONS */
.hero-buttons .btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 12px;
}

.btn-primary {
  background: #0072ce;
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: #0072ce;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-modern {
    height: auto;
    padding: 100px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}
.hero-content {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-media img {
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

.category-intro {
  padding: 60px 0 40px;
  background: #f4f8fc; /* same soft blue as site */
}

.category-intro h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.category-intro p {
  max-width: 700px;
  font-size: 16px;
  color: #555;
}
