:root {
  --dantech-brown: #7a3607;
  --dantech-brown-dark: #592808;
  --dantech-copper: #8b3f0a;
  --dantech-copper2: #692F05;
  --ink: #182235;
  --body: #475266;
  --muted: #697386;
  --line: #d9dee7;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --blue: #234e78;
  --blue-deep: #163d64;
  --shadow: 0 14px 36px rgba(18, 32, 52, 0.10);
  --radius: 16px;
  --max-width: 1680px;
}

/* ---------- Shared Layout ---------- */

.rd-shell {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

#rd-cloud-highlight {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0.1) 100%), url("https://www.dantechcorp.com/assets/images/amazon/rdcloudops/rdcloudops-hero.png");
  background-repeat: no-repeat;
}

/* ---------- Hero ---------- */

.rd-hero {
  position: relative;
  overflow: hidden;
  
}

.rd-hero::before {
  content: "";
  position: absolute;
  inset: 0;  
  pointer-events: none;
}

.rd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(540px, .96fr);
  gap: clamp(44px, 5vw, 92px);
  align-items: center;
  min-height: 560px;
  padding-top: 20px;
  padding-bottom: 48px;
}

.rd-hero-copy {
  max-width: 800px;
}

.rd-eyebrow {
  margin: 0 0 13px;
  color: #566276;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rd-eyebrow span {
  color: #566276;
}

.rd-hero-copy h2 {
  margin: 0;
  font-family:'Rubik-Medium';
  color: #101722;
  font-size: clamp(1rem, 2.7vw, 4rem);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 800;
}

.rd-hero-copy h2 span {
  display: block;
  margin-top: 4px;
  color: var(--dantech-copper2);
  font-size: clamp(0.8rem, 2.5vw, 3.8rem);
}

.rd-lead {
  margin: 20px 0 12px;
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  line-height: 1.35;
  color: #3d495d;
  font-weight: 400;
}

.rd-intro {
  margin: 0;
  max-width: 760px;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
}

.rd-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.rd-benefit-list li {
  position: relative;
  padding-left: 38px;
  color: #263246;
  font-weight: 700;
  line-height: 1.35;
}

.rd-benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(90deg,rgba(105, 47, 5, 1) 0%, rgba(74, 37, 13, 1) 100%);
  font-size: .86rem;
  font-weight: 800;
}

.rd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rd-btn:hover {
  transform: translateY(-2px);
}

.rd-btn-primary {
  color: #fff;
  background: linear-gradient(90deg,rgba(105, 47, 5, 1) 0%, rgba(74, 37, 13, 1) 100%);
  box-shadow: 0 10px 24px rgba(110, 48, 9, .20);
}

.rd-btn-primary:hover {
  box-shadow: 0 13px 30px rgba(110, 48, 9, .28);
}

.rd-btn-primary img{
  vertical-align: middle;
  height: 1.2rem;
}

.rd-btn-secondary {
  color: var(--dantech-brown);
  background: rgba(255,255,255,.88);
  border: 2px solid #a05a22;
}

.rd-btn-secondary:hover {
  background: #fff;
}

.rd-btn-secondary img{
  vertical-align: middle;
  height: 1.2rem;
}

/* ---------- Hero Visual ---------- */

.rd-hero-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-visual-photo {
  width: min(100%, 690px);
  height: min(100%, 500px);
  position: absolute;
  left: -5rem;
}

.rd-visual-photo img{
   height: 25rem;
}

.rd-acceleration-card {
  width: min(100%, 690px);
  padding: 24px 28px 26px;
  border: 1px solid rgba(148, 169, 188, .28);
  border-radius: 18px;
  background: rgba(248, 252, 255, .88);
  box-shadow: 0 28px 70px rgba(21, 57, 88, .20);
  backdrop-filter: blur(14px);
}

.rd-card-title {
  margin: 0;
  text-align: center;
  color: #173456;
  font-size: 1.35rem;
  font-weight: 800;
}

.rd-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 18px;
}

.rd-chip-row span {
  padding: 7px 16px;
  border-radius: 999px;
  background: #e8eef4;
  color: #34506b;
  font-size: .85rem;
  font-weight: 700;
}

.rd-flow {
  display: grid;
  grid-template-columns: 145px 34px minmax(145px, 1fr) 34px 178px;
  align-items: center;
  gap: 8px;
}

.rd-flow-team,
.rd-flow-dantech {
  min-height: 170px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid #dfe7ee;
  box-shadow: 0 10px 24px rgba(29, 56, 81, .08);
}

.rd-flow-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 12px;
}

.rd-team-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.rd-flow-team strong {
  color: #173456;
  font-size: 1rem;
}

.rd-flow-team small {
  margin-top: 6px;
  color: #52677b;
  line-height: 1.25;
}

.rd-flow-dantech {
  display: grid;
  place-items: center;
  min-height: 86px;
  border-radius: 999px;
}

.rd-dantech-mark {
  color: #53280f;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.rd-flow-arrow {
  text-align: center;
  color: #3f7cab;
  font-size: 2rem;
  font-weight: 300;
}

.rd-flow-results {
  display: grid;
  gap: 10px;
}

.rd-flow-results > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255,255,255,.84);
  border: 1px solid #dbe6ee;
}

.rd-flow-results strong {
  color: #214b73;
  font-size: .88rem;
  line-height: 1.2;
}

.rd-result-icon {
  color: #2f6794;
  font-size: 1.25rem;
  font-weight: 800;
}

.rd-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 11px;
  background: linear-gradient(180deg, #2b5c85, #183f62);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .87rem;
}

.rd-outcomes span + span {
  position: relative;
}

.rd-outcomes span + span::before {
  content: "•";
  position: absolute;
  left: -9px;
  color: rgba(255,255,255,.7);
}

/* ---------- Capability Cards ---------- */

.rd-capabilities {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  padding: 10px 0 18px;
}

.rd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rd-service-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
  border: 1px solid #e1e6ec;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 42, 62, .06);
}

.rd-service-icon {
  display: grid;
  place-items: flex-start;
}

.rd-service-icon img {
  height: 5rem;
  align-self: start;
  vertical-align: top;
  margin-bottom: 1rem;
}

.rd-service-icon svg {
  width: 45px;
  height: 45px;
}

.rd-service-card h3 {
  margin: 0 0 6px;
  color: #4c4540;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: bold;
  font-family: Rubik-Medium;
}

.rd-service-card p {
  margin: 0;
  color: #667184;
  line-height: 1.45;
}

/* ---------- Industry Intro ---------- */

.rd-industry {
  padding: 16px 0 48px;
  background: #fff;
}

.rd-section-heading {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 24px;
}

.rd-section-heading h2 {
  margin: 0;
  color: ##38261b;
  font-size: clamp(1.3rem, 1.6vw, 2rem);
  text-align: center;
  font-family: Rubik-Medium;
}

.rd-rule {
  height: 1px;
  background: #cfd6de;
}

.rd-industry p {
  max-width: 1270px;
  margin: 10px auto 0;
  text-align: center;
  color: #687386;
  font-size: 1rem;
  line-height: 1.55;
}

#awswwdhls_sec2_txt h2, #awswwdhls_sec3_txt h2 {
  font-family: Rubik-Medium;
  font-size: 1.8rem;
  color: #625f5d;
}

#awswwdhls_sec2_txt h3, #awswwdhls_sec3_txt h3 {
  font-family: Rubik-Medium;
  font-size: 1.4rem;
  color: #040d67;
  padding-top: 1rem;
  margin-bottom: 0.5rem;
}

#awswwdhls_sec2_txt, #awswwdhls_sec3_txt{
   font-size: 1.25rem;
   color: #6a6563;
   letter-spacing: 0.3px;
   font-family: OpenSans-400;    
}

#awswwdhls_sec2_txt b, #awswwdhls_sec3_txt b {
  color: #451b05;
}

.link-style {
  color: #09169c;
  font-weight: normal;
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .rd-hero-grid {
    grid-template-columns: 1fr;
  }

  .rd-hero-copy {
    max-width: 980px;
  }

  .rd-hero-visual {
    min-height: auto;
  }

  .rd-visual-photo {
    inset: 5% -32px -18% 40%;
  }
}

@media (max-width: 980px) {
  .rd-shell {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .rd-benefit-list,
  .rd-card-grid {
    grid-template-columns: 1fr;
  }

  .rd-flow {
    grid-template-columns: 1fr;
  }

  .rd-flow-arrow {
    transform: rotate(90deg);
  }

  .rd-flow-results {
    grid-template-columns: repeat(3, 1fr);
  }

  .rd-flow-team {
    min-height: 140px;
  }

  .rd-flow-dantech {
    min-height: 74px;
  }
}

@media (max-width: 720px) {
  #rd-cloud-highlight-mobile {
     background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0.1) 100%), url("https://www.dantechcorp.com/assets/images/amazon/rdcloudops/rdcloudops-hero.png");
     background-repeat: no-repeat;
  }

  .rd-page-title .rd-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rd-hero-grid {
    padding-top: 26px;
    padding-bottom: 5px;
  }

  .rd-hero-copy h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .rd-eyebrow {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .rd-hero-copy h2 span {
    font-size: clamp(0.8rem, 7vw, 3.8rem);
  }
  
  .rd-hero-visual {
      min-height: auto;
  }

  
  .rd-visual-photo {
    inset: unset;
    position: relative;
    width: 43rem;
    height: 24rem;
    background-image: url("https://www.dantechcorp.com/assets/images/amazon/rdcloudops/rd-hero-dantech-accelaration.png");
    background-size: cover;
  }
  
  .rd-cta-row,
  .rd-btn {
    width: 100%;
  }

  .rd-acceleration-card {
    padding: 18px;
  }

  .rd-chip-row span {
    padding: 6px 12px;
  }

  .rd-flow-results {
    grid-template-columns: 1fr;
  }

  .rd-outcomes {
    grid-template-columns: 1fr;
  }

  .rd-outcomes span + span::before {
    display: none;
  }

  .rd-service-card {
    grid-template-columns: 60px 1fr;
    padding: 20px;
  }

  .rd-service-icon {
    width: 58px;
    height: 58px;
  }
  
  .rd-service-icon img {
    height: 6em;
    align-self: start;
    vertical-align: top;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
  }  

  .rd-service-icon svg {
    width: 38px;
    height: 38px;
  }

  .rd-section-heading {
    grid-template-columns: 1fr;
  }

  .rd-section-heading .rd-rule {
    display: none;
  }
}

@media (min-width: 301px) and (max-width: 719px) {
  #rd-cloud-highlight-mobile {
     background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, rgba(0, 0, 0, 0.1) 100%), url("https://www.dantechcorp.com/assets/images/amazon/rdcloudops/rdcloudops-hero.png");
     background-repeat: no-repeat;
  }

  .rd-eyebrow {
    font-size: 0.75rem;
    line-height: 1.6;
    letter-spacing: 0.10em;
  }

  .rd-hero-copy h2 {
    font-size: clamp(1rem, 10vw, 2rem);
  }
  
  .rd-hero-copy h2 span {    
    font-size: clamp(0.8rem, 8vw, 3.8rem);
  }
  
  .rd-lead { 
     font-size: clamp(1.25rem, 1.65vw, 1.75rem);
     line-height: 1.35;
  }  
  
  .rd-hero-visual {
      min-height: auto;
  }
  
  .rd-visual-photo {
    inset: unset;
    position: relative;
    width: 22.5em;
    height: 12.5em;
    background-image: url("https://www.dantechcorp.com/assets/images/amazon/rdcloudops/rd-hero-dantech-accelaration.png");
    background-size: cover;
  }
  
  .rd-service-icon img {
    height: 6em;
    align-self: start;
    vertical-align: top;
    margin-bottom: 1rem;
    padding-bottom: 1.5rem;
  }

 .rd-service-card {
    grid-template-columns: 60px 1fr;
    padding: 17px;
  }
  
  .rd-section-heading h2 {
    font-size: clamp(1.1rem, 1.6vw, 2rem);
    line-height: 1.5;
  }
}
  
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rd-btn {
    transition: none;
  }
}
