/* ============================================================
   TechnoBridge Homepage (index.php) Stylesheet
   - Hero Badge, Domain Strip & CTAs
   - Career Fit Categories Section (5-Column Grid, Badges, Micro-skills)
   - Multi-domain Hero Visual (Cutout Image & Floating Badges)
   ============================================================ */

/* Hero Badges & Trust Strip */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4ff;
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid #c7d2fe;
}

.hero-domain-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hero-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 20px;
  color: #334155;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-domain-pill:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f8fafc;
  transform: translateY(-1px);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 15px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.hero-btn-yellow,
.hero-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
}

.hero-btn-yellow {
  background-color: var(--orange-color, #ffb607);
  color: #000000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.hero-btn-yellow:hover {
  background-color: #e6a405;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.hero-btn-blue {
  background-color: var(--primary-color, #23217c);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(35, 33, 124, 0.25);
}

.hero-btn-blue:hover {
  background-color: #1a1860;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(35, 33, 124, 0.35);
}

@media (max-width: 600px) {
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero-btn-yellow,
  .hero-btn-blue {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   Eye-Catchy & Simple Career Categories Section (Icon/Logo Focus)
   ============================================================ */
.career-categories-section {
  padding: 40px 0 42px 0;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 50%, #f8fafc 100%);
  position: relative;
  scroll-margin-top: 90px;
}

.category-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px auto;
}

/* 5-Column Category Cards Grid */
.career-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.category-highlight-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #e8eef5;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  outline: none;
  overflow: hidden;
}

/* Subtle Top Accent Line */
.category-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 5;
  transition: height 0.25s ease;
}

.cat-theme-cr::before { background: linear-gradient(90deg, #0ea5e9, #0284c7); }
.cat-theme-mc::before { background: linear-gradient(90deg, #10b981, #059669); }
.cat-theme-dm::before { background: linear-gradient(90deg, #ec4899, #db2777); }
.cat-theme-ai::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }
.cat-theme-it::before { background: linear-gradient(90deg, #f59e0b, #d97706); }

/* Hover Elevation & Tinted Background */
.category-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(35, 33, 124, 0.12), 0 6px 14px -3px rgba(15, 23, 42, 0.04);
}
.cat-theme-cr:hover {
  border-color: #7dd3fc;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%);
}
.cat-theme-mc:hover {
  border-color: #6ee7b7;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 42%);
}
.cat-theme-dm:hover {
  border-color: #f472b6;
  background: linear-gradient(180deg, #fdf2f8 0%, #ffffff 42%);
}
.cat-theme-ai:hover {
  border-color: #a5b4fc;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 42%);
}
.cat-theme-it:hover {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 42%);
}

/* Top Row: Icon/Logo Container & Badge Chip */
.cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cat-icon-container {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.cat-theme-cr .cat-icon-container {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 10px 20px -3px rgba(14, 165, 233, 0.4);
}
.cat-theme-mc .cat-icon-container {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.4);
}
.cat-theme-dm .cat-icon-container {
  background: linear-gradient(135deg, #ec4899, #db2777);
  box-shadow: 0 10px 20px -3px rgba(236, 72, 153, 0.4);
}
.cat-theme-ai .cat-icon-container {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 10px 20px -3px rgba(99, 102, 241, 0.4);
}
.cat-theme-it .cat-icon-container {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 10px 20px -3px rgba(245, 158, 11, 0.4);
}

.category-highlight-card:hover .cat-icon-container {
  transform: scale(1.1) rotate(4deg);
}

/* Badge Chip */
.cat-badge-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cat-theme-cr .cat-badge-chip { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.cat-theme-mc .cat-badge-chip { background: #d1fae5; color: #059669; border: 1px solid #a7f3d0; }
.cat-theme-dm .cat-badge-chip { background: #fce7f3; color: #db2777; border: 1px solid #fbcfe8; }
.cat-theme-ai .cat-badge-chip { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.cat-theme-it .cat-badge-chip { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }

/* Card Body */
.cat-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Prominent Category Title */
.cat-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin: 0 0 12px 0;
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.cat-theme-cr:hover .cat-card-title { color: #0284c7; }
.cat-theme-mc:hover .cat-card-title { color: #059669; }
.cat-theme-dm:hover .cat-card-title { color: #db2777; }
.cat-theme-ai:hover .cat-card-title { color: #4f46e5; }
.cat-theme-it:hover .cat-card-title { color: #d97706; }

/* "For:" Qualification Tag */
.cat-fit-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.35;
}

.cat-fit-tag i {
  font-size: 0.82rem;
  color: var(--primary-color, #23217c);
  flex-shrink: 0;
}

/* Micro Skills Tags */
.cat-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  margin-top: auto;
}

.cat-skill-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.category-highlight-card:hover .cat-skill-pill {
  background: #ffffff;
  border-color: #cbd5e1;
}

/* Action Footer */
.cat-card-footer {
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.25s ease;
}

.cat-action-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #475569;
  transition: all 0.25s ease;
}

.category-highlight-card:hover .cat-action-arrow {
  background: var(--primary-color, #23217c);
  color: #ffffff;
  transform: translateY(2px);
}

.cat-theme-cr:hover .cat-card-footer { color: #0284c7; }
.cat-theme-mc:hover .cat-card-footer { color: #059669; }
.cat-theme-dm:hover .cat-card-footer { color: #db2777; }
.cat-theme-ai:hover .cat-card-footer { color: #4f46e5; }
.cat-theme-it:hover .cat-card-footer { color: #d97706; }

/* Responsive Grid */
@media (max-width: 1200px) {
  .career-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .career-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 540px) {
  .career-categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .career-categories-section {
    padding: 30px 0 30px 0;
  }
}

/* Multi-domain Hero Visual - Clean White Cutout Style */
.hero-trio-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  background: transparent !important;
}

.hero-trio-img {
  width: 100% !important;
  max-width: 580px !important;
  height: auto !important;
  aspect-ratio: 4/3 !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 2 !important;
  transition: transform 0.3s ease !important;
  background: transparent !important;
}

.hero-trio-img:hover {
  transform: translateY(-4px) !important;
}

.hero-floating-pill {
  position: absolute !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 9px 16px !important;
  border-radius: 50px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.pill-ai {
  top: 20px !important;
  left: -20px !important;
  animation: floatUp 3.5s ease-in-out infinite alternate !important;
}

.pill-cr {
  bottom: 25px !important;
  right: -15px !important;
  animation: floatDown 4s ease-in-out infinite alternate !important;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

@keyframes floatDown {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(8px);
  }
}

@media (max-width: 991px) {
  .hero-floating-pill {
    display: none !important;
  }

  .hero-trio-img {
    max-width: 100% !important;
  }
}
