/* ==============================================================================
   ALL CAREER PROGRAMS & CERTIFICATIONS - EXACT IMAGE 2 HERO SECTION
   Clean, High-Contrast Typography, Crisp Artwork & Zero Overlapping Artifacts
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

.all-courses-hero-exact {
  position: relative;
  background: linear-gradient(135deg, #f7fdfb 0%, #ffffff 50%, #f8fafc 100%);
  padding: 44px 0 40px 0;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

/* Subtle, Soft Corner Accents that NEVER obscure any text */
.hero-corner-wave-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.05) 55%, transparent 72%);
  border-radius: 0 0 100% 0;
  pointer-events: none;
  z-index: 0;
}

.hero-corner-wave-bl {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 160px;
  background: radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.08) 50%, transparent 70%);
  border-radius: 0 100% 0 0;
  pointer-events: none;
  z-index: 0;
}

.hero-corner-wave-bl-inner {
  display: none;
}

.hero-decor-dots {
  display: none; /* Dot matrix is already inside the artwork */
}

.ach-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.ach-hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr 1.08fr;
  gap: 24px;
  align-items: center;
}

/* ==============================================================================
   COL 1: LEFT CONTENT (Badge, Heading, Subtitle, 4 Features, Stats Bar)
   ============================================================================== */
.ach-col-left {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.ach-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #065f46;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.ach-badge-pill svg {
  color: #059669;
}

.ach-hero-title {
  font-size: 44px;
  font-weight: 900;
  color: #07152B;
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.ach-hero-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 28px 0;
  max-width: 520px;
}

/* 4 Feature Cards (High Contrast & Clear Typography) */
.ach-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.ach-feat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ach-feat-icon-sq {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-soft-green {
  background: #e6f9f0;
}

.bg-soft-purple {
  background: #f3e8ff;
}

.bg-soft-blue {
  background: #e0f2fe;
}

.bg-soft-mint {
  background: #d1fae5;
}

.ach-feat-title {
  font-size: 13px;
  font-weight: 800;
  color: #07152B;
  margin: 0;
  line-height: 1.3;
}

.ach-feat-desc {
  font-size: 11px;
  color: #475569;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* Stats Pill Strip */
.ach-stats-pill-strip {
  background: #f0fdf9;
  border: 1.5px solid #bbf7d0;
  border-radius: 9999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
  width: fit-content;
  max-width: 100%;
}

.ach-stat-unit {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-avatars-wrap {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.ach-avatar-group {
  display: flex;
  align-items: center;
}

.ach-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  object-fit: cover;
}

.ach-avatar:first-child {
  margin-left: 0;
}

.ach-stat-info {
  display: flex;
  flex-direction: column;
}

.ach-stat-heading {
  font-size: 12.5px;
  font-weight: 800;
  color: #07152B;
  line-height: 1.2;
}

.ach-stat-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ach-stat-number {
  font-size: 15px;
  font-weight: 900;
  color: #07152B;
  line-height: 1.2;
}

.ach-stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 1px;
}

.ach-stat-caption {
  font-size: 11px;
  color: #475569;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
}

.ach-stat-divider {
  width: 1px;
  height: 28px;
  background: #cbd5e1;
  flex-shrink: 0;
}

/* ==============================================================================
   COL 2: CENTER PRE-COMPOSED HIGH-RES ARTWORK
   ============================================================================== */
.ach-col-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.ach-girl-center-stage {
  position: relative;
  width: 120%;
  margin-left: -10%; /* offset the extra width to keep her centered */
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1.15); /* Enlarge her significantly */
  transform-origin: center center;
}

.ach-center-artwork-img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  display: block;
}

/* ==============================================================================
   COL 3: RIGHT LEAD GUIDANCE FORM CARD
   ============================================================================== */
.ach-col-right {
  position: relative;
  z-index: 2;
}

.ach-lead-form-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 26px;
  padding: 30px 26px;
  box-shadow: 0 18px 44px -10px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 2;
}

/* Emerald green tab sticking out at top-right */
.ach-form-corner-accent {
  position: absolute;
  top: -8px;
  right: -6px;
  width: 68px;
  height: 68px;
  background: #00705a;
  border-radius: 22px;
  z-index: 1;
}

.ach-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.ach-form-title {
  font-size: 23px;
  font-weight: 800;
  color: #07152B;
  margin: 0 0 6px 0;
  line-height: 1.22;
}

.ach-form-subtitle {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 18px 0;
  line-height: 1.45;
}

.ach-form-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.ach-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 0 12px;
  height: 42px;
  transition: all 0.2s ease;
}

.ach-input-wrap:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.ach-input-icon {
  color: #94a3b8;
  flex-shrink: 0;
  margin-right: 8px;
}

.ach-form-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 12.5px;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
}

.ach-form-input::placeholder {
  color: #94a3b8;
}

.ach-input-wrap.select-wrap {
  position: relative;
  padding-right: 28px;
}

.ach-form-select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 12.5px;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.ach-input-wrap.select-wrap::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ach-input-wrap.textarea-wrap {
  height: auto;
  align-items: flex-start;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.ach-input-wrap.textarea-wrap .ach-input-icon {
  margin-top: 3px;
}

.ach-form-textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 12.5px;
  color: #0f172a;
  background: transparent;
  resize: none;
  font-family: inherit;
  line-height: 1.4;
}

.ach-form-textarea::placeholder {
  color: #94a3b8;
}

.ach-form-submit-btn {
  width: 100%;
  height: 46px;
  background: linear-gradient(180deg, #10243e 0%, #07152b 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(7, 21, 43, 0.22);
  transition: all 0.2s ease;
}

.ach-form-submit-btn:hover {
  background: linear-gradient(180deg, #183358 0%, #0a1c38 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7, 21, 43, 0.32);
}

.ach-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11.5px;
  color: #64748B;
  font-weight: 500;
}

/* Doodle: Real Skills Real Opportunities */
.ach-doodle-bottom-right {
  position: absolute;
  bottom: -46px;
  right: -6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: 'Caveat', cursive, sans-serif;
  color: #059669;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  pointer-events: none;
  z-index: 3;
}

.ach-doodle-bottom-right svg {
  transform: rotate(-10deg);
}

/* ==============================================================================
   RESPONSIVE DESIGN
   ============================================================================== */
@media (max-width: 1240px) {
  .ach-hero-grid {
    grid-template-columns: 1.25fr 0.9fr 1fr;
    gap: 20px;
  }
  .ach-hero-title {
    font-size: 38px;
  }
  .ach-features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .ach-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ach-col-left {
    text-align: center;
    align-items: center;
  }
  .ach-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .ach-features-row {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    max-width: 580px;
    width: 100%;
  }
  .ach-stats-pill-strip {
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
  }
  .ach-doodle-bottom-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .ach-hero-title {
    font-size: 30px;
  }
  .ach-features-row {
    grid-template-columns: 1fr;
  }
  .ach-form-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .ach-stat-divider {
    display: none;
  }
  .ach-stats-pill-strip {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    border-radius: 18px;
  }
}


/* ==============================================================================
   EXACT IMAGE 2 DISCIPLINES SECTION & COURSE CARDS
   ============================================================================== */

.exact-disciplines-section {
  position: relative;
  background: #fbfcfe;
  padding: 48px 0 60px 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  border-top: 1px solid #f1f5f9;
}

.exact-disciplines-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Header Row: Title on Left, 2-Row Filter Pills on Right */
.exact-disc-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.exact-disc-title-col {
  flex: 1;
  min-width: 320px;
  max-width: 520px;
}

.exact-disc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
  color: #7e22ce;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.exact-title-with-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.exact-disc-main-title {
  font-size: 38px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.exact-curved-arrow {
  position: relative;
  top: -4px;
  flex-shrink: 0;
}

.exact-disc-subtitle {
  font-size: 14.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 12px 0 0 0;
}

/* Right Filter Pills Column: 2 Rows */
.exact-filter-pills-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.exact-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.exact-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  font-family: inherit;
}

.exact-filter-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
  transition: all 0.2s ease;
}

.exact-filter-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.exact-filter-btn.active {
  background: #1e1b4b;
  border-color: #1e1b4b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 27, 75, 0.22);
}

.exact-filter-btn.active svg {
  stroke: #ffffff;
}

/* 3-Column Flagship Cards Grid */
.exact-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.exact-course-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.2px solid #edf0f5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
}

.exact-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

/* Card Thumbnail Area */
.exact-card-thumb {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #0f172a;
}

.exact-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.exact-course-card:hover .exact-card-thumb img {
  transform: scale(1.04);
}

.exact-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.badge-purple { background: linear-gradient(135deg, #7c3aed, #6366f1); }
.badge-blue { background: linear-gradient(135deg, #10b981, #059669); }
.badge-orange { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.badge-pink { background: linear-gradient(135deg, #db2777, #ec4899); }
.badge-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.badge-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.badge-emerald { background: linear-gradient(135deg, #059669, #10b981); }

/* Card Body */
.exact-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.exact-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.exact-meta-cat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-icon-sq {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon-sq.purple { background: #f5f3ff; color: #7c3aed; }
.cat-icon-sq.blue { background: #ECFDF5; color: #059669; }
.cat-icon-sq.orange { background: #fff7ed; color: #ea580c; }
.cat-icon-sq.pink { background: #fdf2f8; color: #db2777; }
.cat-icon-sq.teal { background: #f0fdfa; color: #0d9488; }
.cat-icon-sq.indigo { background: #eef2ff; color: #4f46e5; }

.cat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
}

.exact-meta-duration {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.exact-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.exact-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  min-height: 38px;
}

/* Checklist Items */
.exact-card-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.exact-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
}

.check-bullet-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-bullet-icon svg {
  width: 10px;
  height: 10px;
  stroke: #ffffff;
  stroke-width: 2.8;
}

.check-bullet-icon.purple { background: #6366f1; }
.check-bullet-icon.blue { background: #059669; }
.check-bullet-icon.orange { background: #ea580c; }
.check-bullet-icon.pink { background: #db2777; }
.check-bullet-icon.teal { background: #0d9488; }
.check-bullet-icon.indigo { background: #4f46e5; }

/* Card Footer */
.exact-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.exact-card-level {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.exact-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8.5px 18px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.exact-card-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.exact-card-btn.btn-purple { background: #312e81; }
.exact-card-btn.btn-blue { background: #059669; }
.exact-card-btn.btn-orange { background: #ea580c; }
.exact-card-btn.btn-pink { background: #be185d; }
.exact-card-btn.btn-teal { background: #0f766e; }
.exact-card-btn.btn-indigo { background: #3730a3; }
.exact-card-btn.btn-dev { background: #047857; }
.exact-card-btn.btn-cloud { background: #059669; }

/* Circular Arrow Variant Button (Image 2 Bottom Row) */
.exact-card-btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #1e1b4b;
}

.exact-card-btn-circle:hover {
  transform: scale(1.08);
  filter: brightness(1.2);
}

/* ==============================================================================
   ALL 486+ COURSES DIRECTORY SECTION
   ============================================================================== */

.all-catalog-section {
  padding: 70px 0 90px 0;
  background: #ffffff;
  border-top: 1px solid #eef2f6;
  font-family: 'Inter', sans-serif;
}

.all-catalog-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.all-catalog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.all-catalog-title {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.all-catalog-subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.all-catalog-search-wrap {
  max-width: 680px;
  margin: 0 auto 28px;
  position: relative;
}

.all-catalog-search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.all-catalog-search-box:focus-within {
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.12);
}

.all-catalog-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
}

.all-catalog-search-box input::placeholder {
  color: #94a3b8;
}

.all-catalog-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  display: none;
}

.all-catalog-clear-btn:hover {
  color: #0f172a;
}

.all-catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.all-catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-tab-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.catalog-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.catalog-tab-btn.active {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.all-catalog-count {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
}

.all-catalog-count strong {
  color: #059669;
}

/* Catalog Cards Grid */
.all-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.catalog-course-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

.catalog-course-item:hover {
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.catalog-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.catalog-item-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
}

.catalog-item-badge.testing { background: #ecfdf5; color: #047857; }
.catalog-item-badge.data { background: #fdf2f8; color: #be185d; }
.catalog-item-badge.analytics { background: #fff7ed; color: #c2410c; }
.catalog-item-badge.dev { background: #ECFDF5; color: #059669; }
.catalog-item-badge.cloud { background: #f5f3ff; color: #6d28d9; }
.catalog-item-badge.cyber { background: #fef2f2; color: #b91c1c; }
.catalog-item-badge.management { background: #f8fafc; color: #475569; }

.catalog-item-duration {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

.catalog-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.catalog-item-title a {
  color: inherit;
  text-decoration: none;
}

.catalog-item-title a:hover {
  color: #059669;
}

.catalog-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f8fafc;
  margin-top: 8px;
}

.catalog-item-cert {
  font-size: 11.5px;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.catalog-item-link {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.catalog-item-link:hover {
  text-decoration: underline;
}

.all-catalog-load-more {
  text-align: center;
  margin-top: 36px;
}

.btn-catalog-load-more {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-catalog-load-more:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

/* ==============================================================================
   RESPONSIVE ENHANCEMENTS FOR TABLETS & MOBILES
   ============================================================================== */
@media (max-width: 1080px) {
  .ach-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .ach-col-left {
    text-align: center;
    align-items: center;
  }
  .ach-badge-pill {
    margin: 0 auto 14px auto;
  }
  .ach-hero-title {
    font-size: clamp(28px, 5vw, 42px) !important;
    max-width: 800px;
    margin: 0 auto 16px auto;
  }
  .ach-hero-sub {
    max-width: 640px;
    margin: 0 auto 24px auto;
    font-size: 15px;
  }
  .ach-features-grid {
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 24px auto;
  }
  .ach-stats-ribbon {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
  }
  .ach-col-center {
    display: flex;
    justify-content: center;
  }
  .ach-artwork-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .ach-col-right {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .exact-form-card {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
  .exact-disc-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .exact-filter-pills-col {
    align-items: flex-start;
    width: 100%;
  }
  .exact-filter-row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .exact-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .all-courses-hero-exact {
    padding: 28px 0 36px 0;
  }
  .ach-hero-container {
    padding: 0 18px;
  }
  .ach-hero-title {
    font-size: clamp(25px, 6vw, 34px) !important;
  }
  .ach-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ach-stats-ribbon {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
    padding: 16px 14px;
  }
  .ach-stat-item {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
  }
  .ach-stat-item:nth-child(3),
  .ach-stat-item:nth-child(4) {
    border-bottom: none;
  }
  .exact-courses-grid {
    grid-template-columns: 1fr;
  }
  .exact-disc-main-title {
    font-size: 28px;
  }
  .exact-curved-arrow {
    display: none;
  }
  .all-catalog-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .exact-form-card {
    padding: 22px 18px;
  }
  /* Prevent iOS Safari zoom on inputs */
  .exact-form-input,
  .exact-form-select {
    font-size: 16px !important;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .ach-features-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .ach-hero-title {
    font-size: 24px !important;
    line-height: 1.25;
  }
  .ach-artwork-wrapper {
    max-width: 300px;
  }
  .btn-catalog-load-more {
    width: 100%;
    padding: 12px 20px;
  }
}
