.sd-switchback-grid {
  position: relative;
  display: flex;
  padding: 155px 0;
  margin: 0 auto;
  gap: 70px;
  align-items: stretch;
  min-height: 660px;
  background: rgba(212, 222, 229, 0.50);
  overflow: hidden;
}
.sd-switchback-grid .photo img {
  position: relative;
}
.sd-switchback-grid .copy {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: max(16px, calc((100vw - 1360px) / 2));
  padding-right: 60px;
  background-color: transparent;
  position: relative;
  z-index: 2;
}
.sd-switchback-grid h2 {
  color: #5187A3;
}
.sd-switchback-grid .copy .lead {
  margin-bottom: 34px;
}
.sd-switchback-grid .copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

/* Icon Grid Layout */
.sd-switchback-grid .icon-grid {
  width: 100%;
  position: relative;
  padding: 0;
}
.sd-switchback-grid .icon-grid-container {
/*   position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px; */
  
  align-items: center;
  display: flex;
  height: 180px;
  justify-content: flex-start;
  max-width: 530px;
  position: relative;
  width: 100%;
}

/* Center SVG hexagon */
.sd-switchback-grid .center-svg {
  position: absolute;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 240px;
  height: auto;
}

.sd-switchback-grid .center-svg img {
  width: 100%;
  height: auto;
  display: block;
}

/* Show desktop SVG by default, hide mobile SVG */
.sd-switchback-grid .center-svg-mobile {
  display: none;
}



/* Grid layout for icons - horizontal layout */
.sd-switchback-grid .icon-items {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.sd-switchback-grid .icon-text {
  display: flex;
  align-items: center;
  position: absolute;
}

/* Left side - 2 items stacked vertically */
.sd-switchback-grid .icon-items > .icon-text:nth-child(1) {
  left: -60px;
  top: 9px;
  text-align: left;
}

.sd-switchback-grid .icon-items > .icon-text:nth-child(2) {
  left: -60px;
  bottom: 20px;
  text-align: left;
}

/* Right side - 2 items stacked vertically */
.sd-switchback-grid .icon-items > .icon-text:nth-child(3) {
  right: -140px;
  top: 20px;
  text-align: left;
}

.sd-switchback-grid .icon-items > .icon-text:nth-child(4) {
  right: -140px;
  bottom: 20px;
  text-align: left;
}

.sd-switchback-grid .icon-text .text h4 {
  margin: 0;
  color: #34373B;
/*   font-family: "DIN Next LT Pro", sans-serif; */
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  width: 230px;
}

.sd-switchback-grid .visual {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.sd-switchback-grid .visual svg {
  position: absolute;
  right: -67%;
  top: 50%;
  transform: translateY(-50%);
  width: 1000px;
  height: auto;
  z-index: 2;
}
.sd-switchback-grid .visual svg.frame {
  width: 1000px;
  max-width: none;
  display: block;
}
@media (min-width: 1500px) {
  .sd-switchback-grid {
    align-items: center;
    justify-content: space-between;
    display: flex;
    gap: 0px;
    margin: 0 auto;
    min-height: 838.078px;
/*     padding-top: 60px; */
    position: relative;
  }
  .sd-switchback-grid .visual {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%;
    display: flex;
    align-items: center;
    padding: 0;
  }
  .sd-switchback-grid .visual svg {
    position: absolute;
    left: 21%;
    top: 50%;
    transform: translateY(-50%);
    width: 1100px;
    height: auto;
  }
}
@media (max-width: 1199px) {
  .sd-switchback-grid {
    min-height: 615px;
  }
  .sd-switchback-grid .visual {
    width: 55%;
  }
  .sd-switchback-grid .visual svg {
    width: 800px;
    right: -64%;
  }
  .sd-switchback-grid .photo img {
    left: 10%;
  }
}
@media (max-width: 1040px) {
  .sd-switchback-grid {
    flex-direction: column;
    min-height: auto;
    padding: 80px 18px 80px 18px;
    overflow: visible;
  }
  .sd-switchback-grid .copy {
    flex: 0 0 100%;
    padding: 0px;
    align-items: center;
    text-align: left;
  }
  
  .sd-switchback-grid h2, 
  .sd-switchback-grid .copy .lead {
    text-align: center;
  }

  .sd-switchback-grid .icon-grid-container {
    flex-direction: row;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    position: relative;
  }

  /* Hide desktop SVG and mobile vertical SVG */
  .sd-switchback-grid .center-svg-desktop,
  .sd-switchback-grid .center-svg-mobile {
    display: none;
  }

  /* Add center hexagon with absolute positioning */
/*   .sd-switchback-grid .icon-grid-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: -171px;
    bottom: 0;
    width: 98px;
    background-image: url("data:image/svg+xml,%3Csvg width='98' height='710' viewBox='0 0 98 710' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-103.903 5.16211C-99.1725 0.742962 -91.8275 0.74296 -87.0967 5.16211L91.5938 172.084C94.0859 174.412 95.501 177.67 95.501 181.08V528.92C95.501 532.33 94.0859 535.588 91.5938 537.916L-87.0967 704.838C-91.8275 709.257 -99.1725 709.257 -103.903 704.838L-282.594 537.916C-285.086 535.588 -286.501 532.33 -286.501 528.92V181.08C-286.501 177.67 -285.086 174.412 -282.594 172.084L-103.903 5.16211Z' stroke='%231E5D85' stroke-width='3.37901'/%3E%3C/svg%3E");
    background-size: 98px auto;
    background-repeat: repeat-y;
    background-position: left top;
    z-index: 1;
  } */
  .sd-switchback-grid .icon-grid-container:before {
    background-image: url("data:image/svg+xml,%3Csvg width='98' height='710' viewBox='0 0 98 710' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-103.903 5.16211C-99.1725 0.742962 -91.8275 0.74296 -87.0967 5.16211L91.5938 172.084C94.0859 174.412 95.501 177.67 95.501 181.08V528.92C95.501 532.33 94.0859 535.588 91.5938 537.916L-87.0967 704.838C-91.8275 709.257 -99.1725 709.257 -103.903 704.838L-282.594 537.916C-285.086 535.588 -286.501 532.33 -286.501 528.92V181.08C-286.501 177.67 -285.086 174.412 -282.594 172.084L-103.903 5.16211Z' stroke='%231E5D85' stroke-width='3.37901'/%3E%3C/svg%3E");
    background-position: 0 0;
    background-repeat: repeat-y;
    background-size: 80px auto;
    bottom: 0;
    content: "";
    left: -20px;
    position: absolute;
    top: -155px;
    width: 100px;
    z-index: 1;
  }
  .sd-switchback-grid .icon-grid {
    left: 0 !important;
  }

  /* Mobile icon grid layout */
  .sd-switchback-grid .icon-items {
    flex-direction: column;
/*     left: -48px;
    gap: 35px;
    top: -21px; */
    left: -94px;
    gap: 13px;
    top: -13px;
    height: auto;
    align-items: flex-start;
    display: flex;
    flex-wrap: nowrap;
    flex: 1;
    padding: 0 0 118px 120px;
    position: relative;
    z-index: 2;
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(1),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(2),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(3),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(4) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    text-align: left;
    z-index: 3;
  }

  /* Add numbered icons before each icon-text */
  .sd-switchback-grid .icon-text::before {
    content: '';
    display: block;
    width: 64px !important;
    height: 64px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-right: 16px;
    position: relative;
    z-index: 3;
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(1)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/1.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(2)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/2.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(3)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/3.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(4)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/4.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(1),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(2),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(3),
  .sd-switchback-grid .icon-items > .icon-text:nth-child(4) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    text-align: left;
  }

  /* Add numbered icons before each icon-text */
  .sd-switchback-grid .icon-text::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-right: 16px;
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(1)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/1.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(2)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/2.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(3)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/3.svg');
  }

  .sd-switchback-grid .icon-items > .icon-text:nth-child(4)::before {
    background-image: url('https://8842240.fs1.hubspotusercontent-na1.net/hubfs/8842240/Dagard-2025-website/4.svg');
  }

  .sd-switchback-grid .icon-text .text h4 {
    max-width: 100%;
    width: auto;
/*     width: 200px; */
  }

  .sd-switchback-grid .visual {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: column;
  }
  .sd-switchback-grid .visual svg {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    right: auto;
    top: -74px;
    transform: none;
    margin: 0 auto;
  }
  
  .sd-switchback-grid {
    gap: 0px;
  }
}
@media (max-width: 767px) {
  .sd-switchback-grid .eyebrow {
    text-align: center;
    margin: 0;
    font-size: 20px;
  }
  .sd-switchback-grid .eyebrow:before {
    content: ".";
    font-size: 0px;
    position: relative;
    left: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
  }
  .sd-switchback-grid h1,
  .sd-switchback-grid .copy .lead {
    text-align: center;
  }
}
@media (max-width: 992px) {
  .sd-switchback-grid .visual svg {
    left: 50%;
  }
}
@media (max-width: 480px) {
  .sd-switchback-grid .visual svg {
    left: 23%;
  }
  
  .sd-switchback-grid .icon-text .text h4 {
    width: 250px;
  }
}
@media (max-width: 400px) {
  .sd-switchback-grid .icon-text .text h4 {
    width: 200px;
  }
}
@media (min-width: 992px) {
  .sd-switchback-grid .icon-grid {
/*     left: 12%; */
    left: 8%;
  }
  .sd-switchback-grid .photo img {
    left: 50%;
  }
}