/* Design Thinking Page Styles */
.dd-stage-gallery {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.dd-stage-btn {
  border: none;
  background: #e9eef7;
  color: #313e5a;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 1.2rem;
  padding: 1.2rem 2.1rem;
  margin: 0 0.6rem;
  transition: 0.19s;
  box-shadow: none;
  font-size: 1.14rem;
}

.dd-stage-btn.active,
.dd-stage-btn:focus {
  background: #0066cc;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 60, 120, 0.1);
}

.dd-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.dd-tool-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 7px 21px -7px rgba(0, 32, 67, 0.12);
  padding: 2rem 1.4rem 1.2rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: 0.18s;
  min-width: 0;
}

.dd-tool-card:hover {
  box-shadow: 0 14px 28px -12px rgba(0, 102, 204, 0.13);
  transform: translateY(-2px) scale(1.03);
  background: #f6fbff;
}

.dd-tool-logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9eef7;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 900;
  color: #729bd3;
  overflow: hidden;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(207, 215, 227, 0.2);
}

.dd-tool-card-title {
  font-weight: 700;
  margin-bottom: 0.3em;
  font-size: 1.15rem;
  line-height: 1.2;
}

.dd-tool-card-desc {
  font-size: 1.4rem !important;
  color: #444;
  line-height: 1.6 !important;
}

.dd-tool-link {
  color: #0066cc;
  text-decoration: underline;
  font-size: 1.08rem;
}

.dd-main-tabs {
  border-bottom: 2.5px solid #e5eaf1;
  margin-top: 2.1rem;
  margin-bottom: 0.2rem;
  gap: 2rem;
}

.dd-main-tab {
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  font-weight: 700;
  font-size: 1.8rem !important;
  padding: 1.3rem 1.8rem;
  color: #0d1d36;
  cursor: pointer;
  position: relative;
  transition: color 0.12s;
}

.dd-main-tab.active {
  color: #2072c7;
}

.dd-main-tab.active::after {
  content: '';
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -3px;
  height: 3px;
  background: #2072c7;
  border-radius: 2px;
}

.dd-main-tab:focus {
  color: #ff6b35;
  text-decoration: underline;
}

.dd-double-diamond-tab.active {
  opacity: 1;
  filter: brightness(1.1);
}

.dd-double-diamond-tab {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.dd-double-diamond-tab:hover {
  opacity: 1;
}

/* Double Diamond Navigation - Maintain horizontal layout */
.dd-double-diamond-tabs {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin-bottom: 2.5rem !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

.dd-double-diamond-tab {
  flex-shrink: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.dd-double-diamond-tab svg {
  display: block !important;
  margin: 0 auto !important;
  width: 200px !important;
  height: 200px !important;
}

@media (max-width: 991px) {
  .dd-double-diamond-tabs {
    gap: 0 !important;
  }
  
  .dd-double-diamond-tab svg {
    width: 160px !important;
    height: 160px !important;
  }
}

@media (max-width: 767px) {
  .dd-double-diamond-tabs {
    flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    padding: 0 0.5rem !important;
    width: 100% !important;
  }
  
  .dd-double-diamond-tab {
    flex-shrink: 0 !important;
  }
  
  .dd-double-diamond-tab svg {
    width: 100px !important;
    height: 100px !important;
  }

  .dd-stage-gallery {
    flex-direction: column;
    gap: 0.7rem;
  }

  .dd-stage-btn {
    margin-bottom: 0.8rem;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .dd-double-diamond-tabs {
    flex-wrap: nowrap !important;
    gap: 0 !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    padding: 0 0.25rem !important;
    width: 100% !important;
  }
  
  .dd-double-diamond-tab svg {
    width: 85px !important;
    height: 85px !important;
  }
}

@media (max-width: 400px) {
  .dd-double-diamond-tabs {
    padding: 0 !important;
  }
  
  .dd-double-diamond-tab svg {
    width: 75px !important;
    height: 75px !important;
  }

  .dd-main-tabs {
    gap: 0.5rem;
    align-items: stretch;
  }

  .dd-main-tab {
    font-size: 1.8rem !important;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}

/* Guidebook Card - Match tool card width and styling */
.dd-guidebook-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 7px 21px -7px rgba(0, 32, 67, 0.12);
  padding: 2rem 1.4rem 1.2rem 1.4rem;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.dd-guidebook-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dd-guidebook-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.25);
  object-fit: contain;
}

/* On mobile, make guidebook card match tool card width exactly */
@media (max-width: 767px) {
  .dd-guidebook-card {
    padding: 1.5rem 1.2rem;
  }
  
  .dd-guidebook-card .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .dd-guidebook-card .col-md-8,
  .dd-guidebook-card .col-md-4 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  
  .dd-guidebook-image-wrapper {
    margin-top: 1.5rem;
    width: 100%;
  }
  
  .dd-guidebook-image {
    width: 100%;
    max-width: 100%;
  }
}

