@import url("home-revamp.css");

/* Website Development — enterprise digital infrastructure page */

.wd-page {
  --wd-navy: #022d62;
  --wd-navy-mid: #0a4a8a;
  --wd-accent: #00c2a8;
  --wd-bg: #f8fafc;
  --wd-muted: #5a6578;
  --wd-border: #e8edf2;
  --wd-dark: #041a38;
}

/* —— Hero (matches services-hero / careers-hero revamp) —— */
.wd-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #022d62 0%, #0a4a8a 45%, #022d62 100%) !important;
  overflow: hidden;
  padding: 0 !important;
  border-bottom: none;
}

.wd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/web_development.jpg") center/cover no-repeat;
  opacity: 0.14;
  z-index: 0;
}

.wd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 45, 98, 0.9) 0%, rgba(2, 45, 98, 0.72) 55%, rgba(2, 45, 98, 0.45) 100%);
  z-index: 1;
}

.wd-hero__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 15px 2.5rem;
  max-width: 920px;
}

.wd-hero.rg-hero h1 {
  text-align: left;
  max-width: 820px;
}

.wd-hero .rg-hero-lead {
  text-align: left;
  margin: 0 0 2rem;
  max-width: 720px;
}

.wd-hero .rg-hero-ctas {
  justify-content: flex-start;
}

/* Trust metrics — 6 across on desktop, stacked on mobile */
.wd-hero-trust.rg-trust-pills {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding-top: 1.75rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  justify-content: stretch;
  flex-wrap: unset;
}

.wd-hero-trust .rg-trust-pill {
  min-width: 0;
  padding: 0 0.15rem;
}

.wd-hero-trust .rg-trust-pill strong {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
}

.wd-hero-trust .rg-trust-pill span {
  display: block;
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  hyphens: auto;
}

@media (max-width: 991px) {
  .wd-hero__inner {
    padding: 3.5rem 15px 1.5rem;
  }

  .wd-hero-trust.rg-trust-pills {
    padding-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .wd-hero__inner {
    padding: 3.25rem 15px 1.25rem;
  }

  .wd-hero-trust.rg-trust-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.75rem;
    padding-top: 1.35rem;
    padding-bottom: 0.5rem;
  }

  .wd-hero-trust .rg-trust-pill {
    text-align: center;
    padding: 0.35rem 0.25rem;
  }

  .wd-hero-trust .rg-trust-pill strong {
    font-size: 1.2rem;
  }

  .wd-hero-trust .rg-trust-pill span {
    font-size: 0.68rem;
    text-align: center;
    line-height: 1.3;
  }
}

/* —— Sections shared —— */
.wd-section {
  padding: 4.75rem 0;
}

.wd-section--light {
  background: var(--wd-bg);
}

.wd-section--dark {
  background: linear-gradient(160deg, #022d62 0%, #041a38 100%);
  color: #fff;
}

.wd-section h2 {
  color: var(--wd-navy);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.wd-section--dark h2,
.wd-section--dark .wd-section__lead {
  color: #fff;
}

.wd-section__lead {
  color: var(--wd-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

.wd-section-header {
  margin-bottom: 2.75rem;
}

/* —— Showcase —— */
.wd-showcase {
  background: #fff;
  padding: 5rem 0;
  overflow: hidden;
}

.wd-showcase-stage {
  margin-top: 2rem;
  padding: 2.5rem 1rem 1.75rem;
  background: linear-gradient(180deg, #f0f5fa 0%, #fff 100%);
  border: 1px solid var(--wd-border);
  border-radius: 24px;
}

.wd-showcase-visual {
  position: relative;
  padding: 0 0.5rem 0.5rem;
  margin-bottom: 1.5rem;
}

.wd-showcase-devices {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.35fr;
  gap: 1.25rem;
  align-items: end;
  max-width: 1000px;
  margin: 0 auto;
}

.wd-device-desktop {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--wd-border);
  box-shadow: 0 24px 60px rgba(2, 45, 98, 0.12);
  overflow: hidden;
}

.wd-device-desktop img {
  width: 100%;
  height: auto;
  display: block;
}

.wd-device-tablet,
.wd-device-mobile {
  border-radius: 12px;
  border: 1px solid var(--wd-border);
  box-shadow: 0 16px 40px rgba(2, 45, 98, 0.1);
  overflow: hidden;
  background: #fff;
}

.wd-device-tablet img,
.wd-device-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.wd-float-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--wd-border);
  border-radius: 50px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wd-navy);
  box-shadow: 0 8px 24px rgba(2, 45, 98, 0.1);
  white-space: nowrap;
  z-index: 2;
}

.wd-float-label i {
  color: var(--wd-accent);
  margin-right: 0.35rem;
}

.wd-float-label--1 { top: 8%; left: 2%; }
.wd-float-label--2 { top: 22%; right: 4%; }
.wd-float-label--3 { bottom: 18%; left: 4%; }
.wd-float-label--4 { top: 42%; right: 10%; }
.wd-float-label--5 { top: 12%; right: 0; }

.wd-analytics-panel {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 1.25rem;
  background: var(--wd-navy);
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wd-analytics-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wd-analytics-panel strong {
  color: var(--wd-accent);
  font-size: 1.25rem;
}

/* —— Offerings —— */
.wd-offering-card {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.wd-offering-card:hover {
  border-color: rgba(0, 194, 168, 0.45);
  box-shadow: 0 20px 56px rgba(2, 45, 98, 0.1);
  transform: translateY(-5px);
}

.wd-offering-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wd-navy), var(--wd-navy-mid));
  color: var(--wd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.15rem;
}

.wd-offering-card h3 {
  font-size: 1.2rem;
  color: var(--wd-navy);
  margin-bottom: 0.65rem;
}

.wd-offering-card p {
  color: var(--wd-muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* —— Process timeline —— */
.wd-timeline-track {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 768px) {
  .wd-timeline-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .wd-timeline-track::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 168, 0.5), transparent);
    z-index: 0;
  }
}

.wd-timeline-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wd-timeline-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 194, 168, 0.4);
  transform: translateY(-3px);
}

.wd-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wd-navy);
  border: 2px solid var(--wd-accent);
  color: var(--wd-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.wd-timeline-card h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.wd-timeline-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

/* —— Tech stack (shared include on this page) —— */
.wd-page .rg-tech-stack.wd-tech-stack-section {
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

/* Legacy tile grid (unused if include is present) */
.wd-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .wd-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .wd-tech-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.wd-tech-tile {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wd-tech-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 168, 0.4);
  box-shadow: 0 12px 32px rgba(2, 45, 98, 0.08);
}

.wd-tech-tile img {
  height: 36px;
  width: auto;
  max-width: 80px;
  margin-bottom: 0.65rem;
  object-fit: contain;
}

.wd-tech-tile i {
  font-size: 2rem;
  color: var(--wd-navy);
  margin-bottom: 0.65rem;
}

.wd-tech-tile span {
  display: block;
  font-weight: 600;
  color: var(--wd-navy);
  font-size: 0.9rem;
}

/* —— AI section —— */
.wd-ai-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .wd-ai-layout {
    grid-template-columns: 1fr 1.1fr;
  }
}

.wd-ai-flow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
}

.wd-ai-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.wd-ai-node:last-child {
  margin-bottom: 0;
}

.wd-ai-node i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 194, 168, 0.2);
  color: #9ff7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wd-ai-node span {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.wd-ai-connector {
  width: 2px;
  height: 14px;
  background: rgba(0, 194, 168, 0.45);
  margin: 0 auto 0.65rem;
}

.wd-ai-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.1rem;
  height: 100%;
}

.wd-ai-feature h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.wd-ai-feature p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.5;
}

/* —— Performance dashboard —— */
.wd-perf-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .wd-perf-layout {
    grid-template-columns: 1fr 1.05fr;
  }
}

.wd-perf-dashboard {
  background: var(--wd-navy);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(2, 45, 98, 0.15);
}

.wd-perf-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wd-perf-dashboard__header h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.wd-perf-dashboard__header span {
  color: var(--wd-accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.wd-perf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.wd-perf-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}

.wd-perf-metric label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.wd-perf-metric .wd-perf-value {
  color: #fff;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.wd-perf-metric .wd-perf-value small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.wd-perf-metric .wd-perf-trend {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wd-accent);
}

.wd-perf-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wd-perf-bullets li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--wd-muted);
  line-height: 1.55;
}

.wd-perf-bullets i {
  color: var(--wd-accent);
  margin-top: 0.2rem;
}

/* —— Case studies —— */
.wd-case-card {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.wd-case-card:hover {
  box-shadow: 0 22px 56px rgba(2, 45, 98, 0.12);
  transform: translateY(-4px);
}

.wd-case-card__img {
  height: 180px;
  overflow: hidden;
}

.wd-case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wd-case-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wd-case-metric {
  display: inline-block;
  background: rgba(0, 194, 168, 0.12);
  color: #008f7a;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.wd-case-industry {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wd-muted);
  margin-bottom: 0.35rem;
}

.wd-case-card h3 {
  color: var(--wd-navy);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.wd-case-card p {
  font-size: 0.88rem;
  color: var(--wd-muted);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

/* —— Why —— */
.wd-why-point {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.wd-why-point__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--wd-navy), var(--wd-navy-mid));
  color: var(--wd-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-why-point h4 {
  color: var(--wd-navy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.wd-why-point p {
  color: var(--wd-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

.wd-stat-card {
  background: #fff;
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  padding: 1.35rem 1rem;
  text-align: center;
  height: 100%;
}

.wd-stat-card strong {
  display: block;
  color: var(--wd-navy);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.wd-stat-card span {
  color: var(--wd-muted);
  font-size: 0.82rem;
}

.wd-monitor {
  background: linear-gradient(160deg, #f0f5fa, #fff);
  border: 1px solid var(--wd-border);
  border-radius: 16px;
  padding: 1.25rem;
}

.wd-monitor__chart {
  height: 120px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(0, 194, 168, 0.25) 0%, transparent 65%),
    #fff;
  border: 1px solid var(--wd-border);
  margin-bottom: 0.75rem;
}

/* —— Final CTA —— */
.wd-cta-premium {
  background: linear-gradient(135deg, #022d62 0%, #0a4a8a 55%, #041a38 100%);
  border-radius: 0;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wd-cta-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(0, 194, 168, 0.2), transparent 45%);
}

.wd-cta-premium .container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding-left: clamp(1rem, 5vw, 5rem);
  padding-right: clamp(1rem, 5vw, 5rem);
}

.wd-cta-premium__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: 100%;
}

.wd-cta-premium h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.65rem;
  max-width: 640px;
}

.wd-cta-premium p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 620px;
  line-height: 1.65;
}

.wd-cta-premium .btn-primary-round {
  background: var(--wd-accent);
  border-color: var(--wd-accent);
  color: var(--wd-navy);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  white-space: nowrap;
}

.wd-cta-premium .btn-primary-round:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--wd-navy);
}

.wd-cta-premium .btn-outline-light {
  border-color: rgba(159, 247, 235, 0.95);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  box-shadow: inset 0 0 0 1px rgba(159, 247, 235, 0.28);
  white-space: nowrap;
}

.wd-cta-premium .btn-outline-light:hover,
.wd-cta-premium .btn-outline-light:focus {
  background: #9ff7eb;
  border-color: #9ff7eb;
  color: var(--wd-navy);
  box-shadow: 0 14px 34px rgba(159, 247, 235, 0.22);
}

/* Trust bar on page */
.wd-trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--wd-border);
  padding: 1.75rem 0;
}

/* Responsive */
@media (max-width: 991px) {
  .wd-showcase-devices {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .wd-device-tablet,
  .wd-device-mobile {
    display: none;
  }

  .wd-float-label {
    display: none;
  }

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

  .wd-cta-premium__inner {
    text-align: center;
    justify-content: center;
  }

  .wd-cta-premium h2,
  .wd-cta-premium p {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .wd-section {
    padding: 3.5rem 0;
  }

  .wd-timeline-track::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wd-offering-card:hover,
  .wd-case-card:hover,
  .wd-timeline-card:hover,
  .wd-tech-tile:hover {
    transform: none;
  }
}
