/* What We Do Page Dedicated Stylesheet */

/* Page Hero Banner */
.wwd-page-hero {
  padding: 90px 0 80px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 247, 255, 0.88) 100%), url('assets/back.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.wwd-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1d4ed8;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.wwd-page-hero h1 {
  font-size: 58px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}

.wwd-page-hero p {
  font-size: 21.5px;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* 8 Core Capabilities Grid (4 Boxes Per Row) */
.capabilities-section {
  padding: 70px 0;
  background: #ffffff;
}

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

.capability-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 14px 34px -4px rgba(37, 99, 235, 0.16);
}

.cap-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.capability-card h4 {
  font-size: 19.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.capability-card p {
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.cap-accent-bar {
  width: 40px;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
  margin-top: 18px;
}

/* Advanced Diagnostic Tool Block Styling */
.diagnostic-block {
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 52px 46px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 40px -10px rgba(11, 19, 41, 0.35);
  color: #ffffff;
  margin-top: 64px;
}

.diag-header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.diag-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.diag-header-text h3 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.diag-header-text p {
  font-size: 18px;
  color: #94a3b8;
  margin: 0;
}

.diag-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diag-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px 24px;
  transition: all 0.3s ease;
}

.diag-feature-card:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-3px);
}

.diag-feature-card h4 {
  font-size: 18.5px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 8px;
  line-height: 1.35;
}

.diag-feature-card p {
  font-size: 15.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

/* Flexible Control Modes Block Styling */
.control-modes-block {
  margin-top: 64px;
  background: #ffffff;
  border-radius: 24px;
  padding: 52px 46px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.modes-header {
  text-align: center;
  margin-bottom: 36px;
}

.modes-header h3 {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modes-header p {
  font-size: 18px;
  color: #64748b;
  margin: 0;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mode-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.mode-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  position: relative;
  flex-shrink: 0;
}

.check-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mode-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0.3px;
}

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

@media (max-width: 768px) {
  .wwd-page-hero { padding: 48px 16px 36px; text-align: center; }
  .wwd-page-hero h1 { font-size: 30px !important; line-height: 1.25; }
  .capabilities-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .diagnostic-block { padding: 24px 18px; border-radius: 18px; }
  .diag-header-row { flex-direction: column; text-align: center; gap: 14px; }
  .diag-header-text h3 { font-size: 22px; }
  .control-modes-block { padding: 28px 18px; border-radius: 18px; }
  .modes-header h3 { font-size: 22px; }
  .mode-card { padding: 20px 16px; flex-direction: row; gap: 14px; }
}
