/* ==========================================================
   NS3D HOMEPAGE
   homepage.css
   ========================================================== */


/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
  --navy: #03172d;
  --navy-2: #06233f;
  --blue: #11b7cd;
  --blue-dark: #0793b8;
  --ink: #0b1c34;
  --text: #23374d;
  --line: #d9e2ea;
  --soft: #f4f7fa;
  --white: #ffffff;

  --home-navy: #031b33;
  --home-navy-deep: #021326;
  --home-cyan: #05a9cc;
  --home-cyan-bright: #0ab8d7;
}


/* ==========================================================
   GLOBAL
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.home-page {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 94px;
  background: linear-gradient(
    90deg,
    #02162b 0%,
    #04243d 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-shell {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  width: 168px;
}


/* ==========================================================
   DESKTOP NAVIGATION
   ========================================================== */

.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 22px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--blue);
}


/* ==========================================================
   DROPDOWN NAVIGATION
   ========================================================== */

.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.nav-dropdown > .nav-link {
  height: 100%;
}

/*
  top:100% means the dropdown begins directly at the
  bottom of its parent menu item.

  This removes the mouse dead-zone that previously caused
  the dropdown to disappear before it could be selected.
*/

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 220px;
  padding: 10px;
  background: #05233d;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .28);
  z-index: 2000;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
  display: grid;
}

.nav-dropdown-content a {
  display: block;
  padding: 11px 13px;
  color: #dfeaf4;
  font-size: 13px;
  white-space: nowrap;
  transition:
    background .2s ease,
    color .2s ease;
}

.nav-dropdown-content a:hover,
.nav-dropdown-content a:focus {
  background: rgba(17, 183, 205, .12);
  color: #fff;
}


/* ==========================================================
   HEADER QUOTE BUTTON
   ========================================================== */

.header-quote {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    #02a5c7,
    #078db0
  );
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 173, 210, .22);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.header-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 173, 210, .3);
}


/* ==========================================================
   MOBILE MENU BUTTON
   ========================================================== */

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.mobile-menu-toggle img {
  width: 28px;
  filter: brightness(0) invert(1);
}


/* ==========================================================
   HERO
   ========================================================== */

.home-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 18, 34, .97) 0%,
      rgba(3, 27, 49, .91) 28%,
      rgba(3, 27, 49, .66) 49%,
      rgba(3, 27, 49, .14) 78%,
      rgba(3, 27, 49, .05) 100%
    );
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 112px;
  color: #fff;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy .eyebrow {
  margin: 0 0 17px;
  color: #16c0df;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .02em;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 48px;
  line-height: 1.07;
  letter-spacing: -1.2px;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.btn-primary,
.btn-outline,
.dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--blue),
    #078fb7
  );
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(3, 23, 45, .25);
}

.btn-primary:hover,
.btn-outline:hover,
.dark-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}


/* ==========================================================
   HERO BENEFITS
   ========================================================== */

.hero-benefits {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 28px;
  width: 760px;
  max-width: calc(100% - 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  font-size: 16px;
}

.benefit-item strong,
.benefit-item small {
  display: block;
}

.benefit-item strong {
  font-size: 12px;
}

.benefit-item small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}


/* ==========================================================
   TOOLS STRIP
   ========================================================== */

.tools-strip {
  background: linear-gradient(
    100deg,
    #087f9e 0%,
    #07a9ca 48%,
    #0586a6 100%
  );
  color: #fff;
}

.tools-strip-grid {
  min-height: 166px;
  display: grid;
  grid-template-columns: 250px repeat(5, 1fr);
  align-items: stretch;
}

.tools-intro {
  padding: 25px 26px 23px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tools-intro h2 {
  margin: 0 0 9px;
  font-size: 16px;
  text-transform: uppercase;
}

.tools-intro p {
  max-width: 190px;
  margin: 0 0 15px;
  line-height: 1.45;
  font-size: 12px;
}

.dark-button {
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  gap: 12px;
  background: #04182e;
  color: #fff;
  font-size: 11px;
}

.tool-tile {
  position: relative;
  min-width: 0;
  min-height: 166px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .28);
  transition: background .2s ease;
}

.tool-tile:hover {
  background: rgba(255, 255, 255, .08);
}

.tool-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
}

.tool-icon img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tool-grid-icon {
  font-size: 48px;
  line-height: 1;
}

.tool-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.tool-tile small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
}


/* ==========================================================
   GENERAL WHITE SECTIONS
   ========================================================== */

.white-section {
  padding: 24px 0 18px;
  background: #fff;
}

.industries-section {
  padding-top: 8px;
  padding-bottom: 26px;
}


/* ==========================================================
   SECTION HEADINGS
   ========================================================== */

.compact-heading {
  margin-bottom: 20px;
  text-align: center;
}

.compact-heading h2,
.left-heading h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  padding-bottom: 9px;
  color: var(--ink);
  font-size: 17px;
  text-transform: uppercase;
}

.compact-heading h2::after,
.left-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--blue);
}

.left-heading {
  margin-bottom: 22px;
}

.left-heading h2::after {
  left: 0;
  transform: none;
}

/* ==========================================================
   CORE CAPABILITIES
   ========================================================== */

.capability-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.image-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe3ea;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}

/* Semantic image replaces CSS background image */

.card-image {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
  background: #d6e0e8;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.floating-icon {
  position: absolute;
  left: 18px;
  top: 148px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #06a8c7;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.15);
}

.floating-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.card-body {
  min-height: 205px;
  padding: 34px 18px 20px;
}

.card-body h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.3;
}

.card-body p {
  margin: 0;
  color: #415168;
  font-size: 14px;
  line-height: 1.6;
}

/* Two cards per row on tablets */

@media (max-width: 1000px) {
  .capability-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* One card per row on mobile */

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

  .card-image {
    height: 210px;
  }

  .floating-icon {
    top: 188px;
  }

  .card-body {
    min-height: auto;
  }
}

/* ==========================================================
   INDUSTRIES
   ========================================================== */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry-banner {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border-radius: 3px;
  background: #263d50;
  color: #fff;
}


/*
  Full-size semantic background photograph
*/

.industry-image {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  z-index: 0;
}

.industry-banner .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 20, 39, .88),
    rgba(2, 20, 39, .38)
  );
  transition: background .2s ease;
  z-index: 1;
}

.industry-banner:hover .shade {
  background: linear-gradient(
    90deg,
    rgba(0, 120, 150, .86),
    rgba(2, 20, 39, .42)
  );
}


/*
  Decorative industry icon
*/

.industry-banner .industry-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  z-index: 2;
}

.industry-banner strong {
  position: relative;
  font-size: 14px;
  line-height: 1.35;
  z-index: 2;
}


/* ==========================================================
   WHY CHOOSE NS3D
   ========================================================== */

.why-section {
  padding: 25px 0 12px;
  background: linear-gradient(
    90deg,
    #f3f7fa 0%,
    #fff 70%
  );
  border-top: 1px solid #e3ebf1;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.55fr .9fr;
  gap: 34px;
  align-items: stretch;
}

.why-copy {
  padding: 14px 0 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.why-grid article {
  padding: 6px 18px;
  text-align: center;
  border-right: 1px solid #d9e2ea;
}

.why-grid article:last-child {
  border-right: 0;
}

.why-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  color: #08a4c4;
  font-size: 31px;
}

.why-grid .why-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.why-grid p {
  margin: 0;
  color: #3f5165;
  font-size: 11px;
  line-height: 1.55;
}


/* ==========================================================
   QUOTE PANEL
   ========================================================== */

.quote-panel {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  border-radius: 4px;
  background: linear-gradient(
    135deg,
    #082642,
    #03182d
  );
  color: #fff;
}

.quote-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  opacity: .18;
  background-image:
    linear-gradient(
      30deg,
      transparent 40%,
      #14bad0 41%,
      transparent 42%
    ),
    linear-gradient(
      150deg,
      transparent 40%,
      #14bad0 41%,
      transparent 42%
    );
  background-size: 60px 60px;
}

.quote-panel-content {
  position: relative;
  z-index: 2;
  padding: 29px 36px;
}

.quote-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.2;
}

.quote-panel p {
  max-width: 330px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  line-height: 1.55;
}

.quote-panel .phone-line {
  margin-top: 16px;
  margin-bottom: 0;
}


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

.footer {
  background: linear-gradient(
    130deg,
    #061d35,
    #021225
  );
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 42px;
  padding: 31px 0 22px;
}

.footer-brand-logo {
  width: 145px;
}

.footer-brand p {
  max-width: 245px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.6;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #06223e;
  font-size: 12px;
  font-weight: 800;
}

.footer-col .footer-heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 8px 0;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  line-height: 1.45;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}


/* ==========================================================
   RESPONSIVE - 1180px
   ========================================================== */

@media (max-width: 1180px) {

  .site-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 11px;
  }

  .header-quote {
    padding-inline: 16px;
  }

}


/* ==========================================================
   RESPONSIVE - 1050px
   ========================================================== */

@media (max-width: 1050px) {

  .site-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 11px;
  }

  .header-quote {
    padding-inline: 16px;
  }

  .tools-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-intro {
    grid-row: span 2;
  }

  .capability-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

}


/* ==========================================================
   RESPONSIVE - TABLET / MOBILE NAVIGATION
   ========================================================== */

@media (max-width: 820px) {

  .site-header {
    min-height: 70px;
  }

  .nav-shell {
    position: relative;
    min-height: 70px;
  }

  .logo {
    width: 132px;
  }

  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }


  /* --------------------------------------------------------
     MOBILE NAV
     -------------------------------------------------------- */

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 3000;
    padding: 18px 20px 24px;
    background: #04182e;
    flex-direction: column;
    align-items: stretch;
    align-self: auto;
    gap: 0;
    margin-left: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);

    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    min-height: auto;
    padding: 13px 0;
  }

  .nav-link.active::after {
    display: none;
  }


  /* --------------------------------------------------------
     MOBILE DROPDOWNS
     -------------------------------------------------------- */

  .nav-dropdown {
    display: block;
    align-self: auto;
  }

  .nav-dropdown > .nav-link {
    height: auto;
  }

  .nav-dropdown-content {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 10px;
    padding: 6px;
    border: 0;
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
  }

  .nav-dropdown-content a {
    padding: 10px 12px;
  }

  .header-quote {
    align-self: stretch;
    justify-content: center;
    margin-top: 10px;
  }


  /* --------------------------------------------------------
     HERO
     -------------------------------------------------------- */

  .home-hero,
  .hero-layout {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(3, 22, 43, .96),
      rgba(3, 22, 43, .68)
    );
  }

  .hero-layout {
    padding-bottom: 165px;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }


  /* --------------------------------------------------------
     TOOLS
     -------------------------------------------------------- */

  .tools-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-intro {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-right: 0;
  }


  /* --------------------------------------------------------
     CONTENT
     -------------------------------------------------------- */

  .capability-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .why-grid article:nth-child(2) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ==========================================================
   RESPONSIVE - MOBILE
   ========================================================== */

@media (max-width: 560px) {

  .container {
    width: min(100% - 28px, 1180px);
  }


  /* --------------------------------------------------------
     HERO
     -------------------------------------------------------- */

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    bottom: 18px;
  }

  .home-hero,
  .hero-layout {
    min-height: 760px;
  }

  .hero-layout {
    justify-content: flex-start;
    padding-top: 78px;
    padding-bottom: 270px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }


  /* --------------------------------------------------------
     TOOLS
     -------------------------------------------------------- */

  .tools-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-tile {
    min-height: 135px;
  }


  /* --------------------------------------------------------
     CONTENT
     -------------------------------------------------------- */

  .capability-cards,
  .industry-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid #d9e2ea;
    padding-block: 20px;
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .quote-panel-content {
    padding: 28px 24px;
  }


  /* --------------------------------------------------------
     FOOTER
     -------------------------------------------------------- */

  .footer-bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

}

/* ==========================================================
   ONLINE TOOL DETAILS
   ========================================================== */

.tool-details-section {
  padding: 46px 0 38px;
  background: #f4f7fa;
  border-bottom: 1px solid #e1e8ee;
}

.tool-details-section .compact-heading {
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-intro {
  margin: 18px auto 0;
  color: #415168;
  font-size: 14px;
  line-height: 1.65;
}

.tool-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tool-detail-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 3px;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.tool-detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 183, 205, .45);
  box-shadow: 0 10px 24px rgba(3, 23, 45, .08);
}

.tool-detail-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #11b7cd,
    #078fb7
  );
}

.tool-detail-icon img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tool-detail-content {
  min-width: 0;
}

.tool-detail-content h3 {
  margin: 1px 0 10px;
  color: #0b1c34;
  font-size: 16px;
  line-height: 1.3;
}

.tool-detail-content h3 a {
  transition: color .2s ease;
}

.tool-detail-content h3 a:hover {
  color: #0793b8;
}

.tool-detail-content p {
  margin: 0 0 10px;
  color: #415168;
  font-size: 12px;
  line-height: 1.6;
}

.tool-detail-content p a {
  color: #078fab;
  font-weight: 700;
}

.tool-detail-content p a:hover {
  text-decoration: underline;
}

.tool-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: #078fab;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-detail-link span {
  font-size: 16px;
  transition: transform .2s ease;
}

.tool-detail-link:hover span {
  transform: translateX(3px);
}





/* ==========================================================
   TOOL DETAILS RESPONSIVE
   ========================================================== */

@media (max-width: 820px) {

  .tool-details-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 560px) {

  .tool-details-section {
    padding: 36px 0 30px;
  }

  .tool-detail-card {
    gap: 14px;
    padding: 18px;
  }

  .tool-detail-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .tool-detail-icon img {
    width: 25px;
    height: 25px;
  }

}

/* =========================
   TOOLS STRIP CAROUSEL
========================= */

.tools-strip-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}


/* CAROUSEL OUTER SHELL */

.tools-carousel-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}


/* ACTUAL SCROLLING AREA */

.tools-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;

  gap: 14px;

  width: 100%;
  min-width: 0;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x proximity;

  padding: 4px 52px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}


.tools-carousel::-webkit-scrollbar {
  display: none;
}


/* IMPORTANT:
   Prevent existing .tool-tile rules
   from shrinking the carousel cards.
*/

.tools-carousel > .tool-tile {
  flex: 0 0 180px !important;
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px;

  scroll-snap-align: start;
}


/* ARROWS */

.tools-carousel-btn {
  position: absolute;
  top: 50%;

  width: 42px;
  height: 42px;

  transform: translateY(-50%);

  z-index: 20;

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

  padding: 0;

  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;

  background: rgba(2,6,23,0.94);

  color: #fff;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 4px 16px
    rgba(0,0,0,0.4);
}


.tools-carousel-btn:hover {
  background: #11b7cd;
  color: #001018;
}


.tools-carousel-prev {
  left: 4px;
}


.tools-carousel-next {
  right: 4px;
}


/* Disabled at either end */

.tools-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

  .tools-strip-layout {
    grid-template-columns:
      210px
      minmax(0,1fr);
  }


  .tools-carousel > .tool-tile {
    flex-basis: 165px !important;
    width: 165px !important;
    min-width: 165px !important;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .tools-strip-layout {
    display: block;
  }


  .tools-intro {
    margin-bottom: 18px;
  }


  .tools-carousel {
    padding-left: 4px;
    padding-right: 4px;

    -webkit-overflow-scrolling: touch;
  }


  .tools-carousel-btn {
    display: none;
  }


  .tools-carousel > .tool-tile {
    flex-basis: 155px !important;
    width: 155px !important;
    min-width: 155px !important;
  }

}