/* ==========================================================================
   WEB-DEVELOPMENT-IN-MOHALI.CSS
   Selectors used exclusively on this page.  Prefix: wdm-
   Accent: sky blue, scoped to .wdm-page so site-wide --primary stays untouched.
   Reuses global.css tokens/components (.bl-hero*, .section-label, .section-title).
   ========================================================================== */

.wdm-page {
  --wdm-solid: #0369A1;
  --wdm-grad: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
  --wdm-soft: rgba(3, 105, 161, 0.10);
}

/* Dark theme: lighter blue so text/borders stay readable on dark cards */
[data-theme="dark"] .wdm-page {
  --wdm-solid: #38BDF8;
  --wdm-soft: rgba(56, 189, 248, 0.14);
}

.wdm-page .section-label::before { background: var(--wdm-grad); }
.wdm-page .bl-hero-badge { background: var(--wdm-soft); border-color: rgba(3, 105, 161, 0.25); color: var(--wdm-solid); }
.wdm-page .bl-hero-badge-dot { background: var(--wdm-solid); }
.wdm-page .bl-hero-chip i,
.wdm-page .bl-floating-tag i { color: var(--wdm-solid); }
.wdm-page .bl-hero-icon-wrap { background: var(--wdm-grad); box-shadow: 0 24px 64px rgba(3, 105, 161, 0.35); }

/* Divider */
.wdm-divider {
  position: relative; height: 1px; max-width: 1100px; margin: 18px auto 38px;
  background: linear-gradient(90deg, transparent 0%, var(--border-color) 15%, var(--border-color) 85%, transparent 100%);
}
.wdm-divider-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--wdm-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  box-shadow: var(--shadow-md); border: 4px solid var(--bg-main);
}

/* Technology track cards */
.wdm-track {
  height: 100%; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-left: 5px solid var(--wdm-solid); border-radius: var(--radius-lg);
  padding: 24px 22px 20px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.wdm-track:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wdm-track-logos { display: flex; gap: 8px; align-items: center; min-height: 46px; margin-bottom: 14px; }
.wdm-track-logos img { width: 44px; height: 44px; padding: 8px; object-fit: contain; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 12px; }
/* Dark theme: white tile so dark logos (Python, Express, Java) stay visible */
[data-theme="dark"] .wdm-track-logos img { background: #fff; }
.wdm-track-logos i { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: var(--wdm-grad); border-radius: 12px; }
.wdm-track-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.wdm-track-desc { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 14px; }
.wdm-track-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.wdm-track-tags span { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--wdm-soft); color: var(--wdm-solid); }
.wdm-track-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-color); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wdm-track-ideal { font-size: 0.76rem; color: var(--text-secondary); }
.wdm-track-ideal i { color: var(--wdm-solid); }
.wdm-track-link { font-size: 0.82rem; font-weight: 800; color: var(--wdm-solid); text-decoration: none; white-space: nowrap; }

/* Quick contact strip */
.wdm-contact { padding: 26px 0; background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.wdm-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.wdm-contact-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.wdm-contact-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--wdm-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; box-shadow: var(--shadow-md); }
.wdm-contact-title { font-size: 1.02rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; }
.wdm-contact-desc { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }
.wdm-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wdm-contact-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius-full); font-weight: 700; font-size: 0.86rem; text-decoration: none; color: #fff; white-space: nowrap; box-shadow: var(--shadow-sm); transition: var(--transition); }
.wdm-contact-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.wdm-contact-btn--call { background: var(--wdm-grad); }
.wdm-contact-btn--wa { background: #047e3d; }

/* Project cards */
.wdm-proj { height: 100%; display: flex; gap: 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.wdm-proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--wdm-solid); }
.wdm-proj-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--wdm-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.wdm-proj-title { font-size: 1rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.wdm-proj-desc { font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.5; }
.wdm-proj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wdm-proj-chips span { font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--bg-section); border: 1px solid var(--border-color); color: var(--text-secondary); }

/* Learning journey (horizontal connected steps) */
.wdm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.wdm-steps::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed var(--wdm-solid); opacity: 0.4; }
.wdm-step { position: relative; text-align: center; padding: 0 8px; }
.wdm-step-dot { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--wdm-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; border: 4px solid var(--bg-main); box-shadow: var(--shadow-md); position: relative; }
.wdm-step-no { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wdm-solid); }
.wdm-step-title { font-size: 1rem; font-weight: 800; color: var(--text-primary); margin: 4px 0; }
.wdm-step-desc { font-size: 0.84rem; color: var(--text-secondary); margin: 0; }

/* Why choose us */
.wdm-why-list { list-style: none; padding: 0; margin: 18px 0 0; }
.wdm-why-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 0.95rem; color: var(--text-primary); }
.wdm-why-list i { color: var(--wdm-solid); margin-top: 3px; }
.wdm-tile { height: 100%; text-align: center; padding: 26px 14px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.wdm-tile strong { display: block; font-size: 2rem; font-weight: 800; background: var(--wdm-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wdm-tile span { font-size: 0.82rem; color: var(--text-secondary); }

/* Also explore */
.wdm-also-title { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
.wdm-also-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); text-decoration: none; color: var(--text-secondary); font-size: 0.82rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.wdm-also-card:hover { transform: translateY(-4px); border-color: var(--wdm-solid); box-shadow: var(--shadow-md); }
.wdm-also-card i { font-size: 1.5rem; color: var(--wdm-solid); }
.wdm-also-card strong { display: block; color: var(--text-primary); font-size: 0.95rem; }

@media (max-width: 991px) {
  .wdm-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .wdm-steps::before { display: none; }
}
@media (max-width: 767px) {
  .wdm-contact-inner, .wdm-contact-left { flex-direction: column; text-align: center; }
  .wdm-contact-actions { width: 100%; flex-direction: column; }
  .wdm-contact-btn { width: 100%; justify-content: center; }
  .wdm-steps { grid-template-columns: 1fr; }
}
