/* ==========================================================================
   INDUSTRIAL-TRAINING-IN-MOHALI.CSS - selectors used exclusively on this page.
   Prefix: itm-
   Hero section reuses the shared .bl-hero* component from global.css
   (no page-specific hero CSS needed here).
   ========================================================================== */

/* ------------------------------------------------------------------------
   COURSE CARDS
   Each card sets its domain via [data-domain="..."] which drives the
   --itm-solid / --itm-grad / --itm-badge-bg custom properties below.
   Colors reuse existing site tokens/gradients (global.css vars + the
   same gradient combos already used on courses.php) so every domain
   stays visually consistent with the rest of the site.

   Markup/class names are unchanged from before (itm-course-card,
   itm-domain-badge, itm-logo-chip[--multi], itm-course-icon,
   itm-course-title, itm-course-desc, itm-course-btn). Design: a slim,
   full-width domain-colored header bar at the top of the card (repurposing
   .itm-domain-badge from a pill into that bar), a flat icon tile below
   it, and a divider-topped text link as the footer CTA - a cleaner,
   more editorial "product card" look. Card padding lives on the
   left/right margins of each inner element instead of the card itself,
   so the header bar can bleed edge-to-edge.
   ------------------------------------------------------------------------ */

.itm-course-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.itm-course-card:hover {
  transform: translateY(-5px);
  border-color: var(--itm-solid, var(--primary));
  box-shadow: var(--shadow-md);
}

/* Slim, full-width, domain-colored header bar (was a pill badge before) */
.itm-domain-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  background: var(--itm-grad, var(--gradient-primary));
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.itm-domain-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Flat icon tile (used for domains with no official logo, e.g. Digital
   Marketing) - tinted background instead of a solid gradient fill. */
.itm-course-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--itm-badge-bg, rgba(108, 99, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--itm-solid, var(--primary));
  margin: 0 20px 16px;
  flex-shrink: 0;
}

/* Real technology logos (Java/Python/MERN/etc.) - shown instead of
   .itm-course-icon on cards where an official, recognizable logo exists.
   White square tile with a domain-tinted border so every logo (including
   dark/monochrome ones like Express.js) stays clearly visible in both
   light and dark theme. */
.itm-logo-chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--itm-badge-bg, rgba(108, 99, 255, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 9px;
  margin: 0 20px 16px;
  flex-shrink: 0;
}

.itm-logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Multi-logo variant (e.g. MERN = Mongo+Express+React+Node,
   Web Designing = HTML5+CSS3) - wider tile, smaller individual icons. */
.itm-logo-chip--multi {
  width: auto;
  min-width: 48px;
  height: 48px;
  gap: 6px;
  padding: 7px 10px;
}

.itm-logo-chip--multi img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.itm-course-title {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 20px 8px;
  line-height: 1.3;
}

.itm-course-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 20px 16px;
  flex-grow: 1;
}

/* Footer CTA - a divider-topped text link (icon + label), instead of a
   filled/outline button - reads as a clean, editorial "card footer". */
.itm-course-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  color: var(--itm-solid, var(--primary));
  font-size: 0.84rem;
  font-weight: 700;
  transition: var(--transition);
}

.itm-course-btn i { transition: var(--transition); }

.itm-course-card:hover .itm-course-btn { border-top-color: var(--itm-solid, var(--primary)); }
.itm-course-btn:hover i { transform: translateX(4px); }

/* Domain color mapping - matched to each technology's real brand colors
   so every domain reads instantly (red/blue = Java, blue/yellow = Python,
   green = MERN/MongoDB). */

.itm-course-card[data-domain="java"] {
  --itm-solid: #EA2D2E;
  --itm-grad: linear-gradient(135deg, #EA2D2E 0%, #0074BD 100%);
  --itm-badge-bg: rgba(234, 45, 46, 0.12);
}

.itm-course-card[data-domain="python"] {
  --itm-solid: #306998;
  --itm-grad: linear-gradient(135deg, #306998 0%, #FFD43B 100%);
  --itm-badge-bg: rgba(48, 105, 152, 0.12);
}

.itm-course-card[data-domain="mern"] {
  --itm-solid: #47A248;
  --itm-grad: linear-gradient(135deg, #4FAA41 0%, #3FA037 100%);
  --itm-badge-bg: rgba(71, 162, 72, 0.12);
}

.itm-course-card[data-domain="testing"] {
  --itm-solid: #FF6B6B;
  --itm-grad: linear-gradient(135deg, #FF6B6B 0%, #ff8e53 100%);
  --itm-badge-bg: rgba(255, 107, 107, 0.12);
}

.itm-course-card[data-domain="webdesign"] {
  --itm-solid: #f5576c;
  --itm-grad: var(--gradient-warm);
  --itm-badge-bg: rgba(245, 87, 108, 0.12);
}

.itm-course-card[data-domain="digital"] {
  --itm-solid: #fda085;
  --itm-grad: var(--gradient-gold);
  --itm-badge-bg: rgba(253, 160, 133, 0.16);
}

/* ------------------------------------------------------------------------
   WHY CHOOSE US - flagship pillars (Practical Training / Mock Interviews /
   Industry-Level Curriculum) + supporting highlight grid
   ------------------------------------------------------------------------ */

.itm-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.itm-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--itm-grad, var(--gradient-primary));
  opacity: 0.06;
  pointer-events: none;
}

.itm-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.itm-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--itm-grad, var(--gradient-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.itm-pillar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
}

.itm-pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  position: relative;
}

.itm-pillar[data-domain="java"]   { --itm-grad: linear-gradient(135deg, #EA2D2E 0%, #0074BD 100%); }
.itm-pillar[data-domain="mern"]   { --itm-grad: linear-gradient(135deg, #4FAA41 0%, #3FA037 100%); }
.itm-pillar[data-domain="digital"] { --itm-grad: var(--gradient-gold); }

.itm-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.itm-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 99, 255, 0.35);
}

.itm-why-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}

.itm-why-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.itm-why-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 767px) {
  .itm-pillar { padding: 24px 20px; }
  .itm-course-card { padding-bottom: 18px; }
  .itm-domain-badge,
  .itm-course-icon,
  .itm-logo-chip,
  .itm-course-title,
  .itm-course-desc,
  .itm-course-btn { margin-left: 16px; margin-right: 16px; }
  .itm-domain-badge { margin-left: 0; margin-right: 0; padding: 9px 16px; }
}

/* ------------------------------------------------------------------------
   TRAINING DURATION SECTION - compact, 2 parts (6 Months / 45 Days).
   Deliberately short vertical padding so it reads as a slim block
   between the hero and the courses section, not a full section.
   ------------------------------------------------------------------------ */

.itm-duration-section {
  padding: 34px 0 8px;
}

.itm-duration-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.itm-duration-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 22px 18px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.itm-duration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.itm-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  color: #fff;
}

.itm-duration-badge--popular { background: var(--gradient-gold); color: #5a3d00; }
.itm-duration-badge--quick   { background: var(--gradient-cool); color: #023047; }

.itm-duration-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.itm-duration-title i { color: var(--primary); }

.itm-duration-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.itm-duration-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.itm-duration-points i {
  color: #2ecc71;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .itm-duration-section { padding: 26px 0 4px; }
  .itm-duration-card { padding: 18px 18px 16px; }
}

/* ------------------------------------------------------------------------
   SECTION DIVIDER - thin gradient line + centered icon badge, used
   between the hero and the courses section so the two don't blend
   into one visual block.
   ------------------------------------------------------------------------ */

.itm-section-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%);
}

.itm-section-divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  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);
}

/* ------------------------------------------------------------------------
   QUICK CONTACT STRIP (compact, full-width, Call + WhatsApp -
   placed right after the Courses section)
   ------------------------------------------------------------------------ */

.itm-quick-contact {
  padding: 26px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.itm-quick-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.itm-quick-contact-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.itm-quick-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.itm-quick-contact-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.3;
}

.itm-quick-contact-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.itm-quick-contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.itm-quick-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;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
}

.itm-quick-contact-btn--call {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.itm-quick-contact-btn--call:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.itm-quick-contact-btn--whatsapp {
  background: #047e3d;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.itm-quick-contact-btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
  filter: brightness(1.08);
}

@media (max-width: 767px) {
  .itm-quick-contact { padding: 22px 0; }
  .itm-quick-contact-inner { flex-direction: column; text-align: center; }
  .itm-quick-contact-left { flex-direction: column; text-align: center; }
  .itm-quick-contact-actions { width: 100%; flex-direction: column; }
  .itm-quick-contact-btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------------
   SECOND CTA (content left, lead-form right)
   ------------------------------------------------------------------------ */

.itm-cta2 { background: var(--bg-section); }

.itm-cta2-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.itm-cta2-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 520px;
}

.itm-cta2-points {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itm-cta2-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.itm-cta2-points i { color: var(--success); font-size: 1.05rem; }

.itm-cta2-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.itm-cta2-call-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.itm-cta2-call-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.itm-cta2-call-number {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}


/* PHP domain card colour */
.itm-course-card[data-domain="php"] {
  --itm-solid: #777BB3;
  --itm-grad: linear-gradient(135deg, #8993BE 0%, #4F5B93 100%);
  --itm-badge-bg: rgba(119, 123, 179, 0.14);
}
