/**
 * UNI STUDENT - Course Finder Stylesheet
 * Find Your Perfect Course - Theme-Perfect & Highly Attractive
 */

/* ==================== HERO SECTION ==================== */
.cf-hero-dark {
  background: radial-gradient(circle at 85% 15%, #182352 0%, #0c0533 55%, #070a1e 100%);
  color: #ffffff;
  padding: 60px 0 10px;
  position: relative;
  overflow: hidden;
}

.cf-hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(135deg, transparent 20%, rgba(0,0,0,0.8) 100%);
  mask-image: linear-gradient(135deg, transparent 20%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ambient glow orbs */
.cf-hero-glow-1 {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 192, 243, 0.28) 0%, rgba(0, 102, 255, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.cf-hero-glow-2 {
  position: absolute;
  bottom: -150px;
  left: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

/* Breadcrumb */
.cf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 22px;
}

.cf-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cf-breadcrumb a:hover {
  color: #182858;
}

.cf-breadcrumb i.bi-chevron-right {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.cf-breadcrumb .active-crumb {
  color: #ffffff;
  font-weight: 600;
}

/* Hero Badge Pill */
.cf-hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 192, 243, 0.12);
  border: 1px solid rgba(0, 192, 243, 0.35);
  border-radius: 50px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.cf-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: cfPulse 2s infinite;
}

@keyframes cfPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Heading */
.cf-hero-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cf-hero-heading {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.18;
  margin: 0;
}

.cf-hero-heading .gradient-text {
  background: linear-gradient(135deg, #182858 0%, #60a5fa 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cf-hero-script {
  font-size: 32px;
  color: #fcd34d;
  line-height: 1;
  transform: rotate(-3deg);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cf-hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 720px;
  line-height: 1.6;
}

/* Master Hero Search Bar */
.cf-hero-search-wrap {
  max-width: 680px;
  position: relative;
  z-index: 5;
  margin-bottom: 20px;
}

.cf-hero-search-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 192, 243, 0.35);
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.cf-hero-search-box:focus-within {
  border-color: #182858;
  box-shadow: 0 0 0 4px rgba(0, 192, 243, 0.25), 0 20px 45px rgba(0, 0, 0, 0.5);
}

.cf-hero-search-box i.search-ico {
  font-size: 19px;
  margin-right: 12px;
}

.cf-hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.cf-hero-search-input::placeholder {
  color: #94a3b8;
}

.cf-hero-search-clear {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 17px;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.cf-hero-search-clear:hover {
  color: #ffffff;
}

.cf-hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: linear-gradient(135deg, #182858 0%, #182858 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.45);
  white-space: nowrap;
}

.cf-hero-search-btn:hover {
  background: linear-gradient(135deg, #182858 0%, #00a8d6 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.55);
}

/* Trending Quick Searches */
.cf-hero-trending-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trending-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-quick-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.cf-quick-tag:hover {
  background: rgba(0, 192, 243, 0.2);
  border-color: #182858;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Stats Strip */
.cf-hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 26px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  max-width: 780px;
  flex-wrap: wrap;
}

.cf-hero-stat-item {
  display: flex;
  flex-direction: column;
}

.cf-hero-stat-num {
  font-size: 20px;
  font-weight: 900;
  color: #fcd34d;
  line-height: 1.2;
}

.cf-hero-stat-lbl {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-hero-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==================== MAIN WORKSPACE ==================== */
.cf-workspace {
  background-color: #f8fafc;
  padding: 40px 0 80px;
  min-height: 800px;
}

/* Left Column: Filter Card */
.cf-filter-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 29, 54, 0.05);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.cf-filter-header {
  background: linear-gradient(135deg, #0c0533 0%, #27326c 100%);
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #182858;
}

.cf-filter-title {
  display: flex;
  color: #ffffff;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}

.cf-filter-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f59e0b;
  color: #0c0533;
  font-size: 11px;
  font-weight: 900;
}

.cf-filter-clear-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.cf-filter-clear-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.02);
}

.cf-filter-body {
  padding: 22px 20px 16px;
}

.cf-filter-group {
  margin-bottom: 16px;
}

.cf-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #1e293b;
  margin-bottom: 6px;
}

.cf-filter-label i {
  color: #182858;
  font-size: 13px;
}

.cf-filter-input, .cf-filter-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
}

.cf-filter-input:focus, .cf-filter-select:focus {
  border-color: #182858;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
  outline: none;
}

.cf-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}

.cf-btn-search-sidebar {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0c0533 0%, #27326c 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(12, 5, 51, 0.2);
}

.cf-btn-search-sidebar:hover {
  background: linear-gradient(135deg, #27326c 0%, #182858 100%);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  transform: translateY(-1px);
}

/* Counselor Card in Sidebar */
.cf-sidebar-counselor-card {
  margin: 18px 16px 20px;
  padding: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 14px;
}

.cf-counselor-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cf-counselor-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #182858;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.15);
  flex-shrink: 0;
}

.cf-counselor-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0c0533;
  margin: 0;
}

.cf-counselor-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
}

.cf-counselor-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 12px;
}

.cf-sidebar-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.cf-sidebar-wa-btn:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ==================== RIGHT COLUMN CONTENT ==================== */
/* Active Filter Tags Strip */
.cf-active-tags-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cf-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0c0533;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(12, 5, 51, 0.15);
}

.cf-tag-pill .btn-remove-tag {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.cf-tag-pill .btn-remove-tag:hover {
  color: #f87171;
}

/* Results Top Bar */
.cf-results-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.cf-results-count-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
}

.cf-results-count-text strong {
  color: #0c0533;
  font-weight: 800;
  margin: 0 4px;
}

.cf-results-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf-sort-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}

.cf-sort-select {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.cf-sort-select:focus {
  border-color: #182858;
}

/* Course Cards Grid */
.cf-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* Enhanced Course Card */
.cf-course-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 29, 54, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cf-course-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(15, 29, 54, 0.1);
  transform: translateY(-3px);
}

.cf-card-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.cf-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0c0533;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 50px;
}

.cf-location-badge i {
  font-size: 12px;
}

.cf-level-tag {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: #182858;
  border: 1px solid #bfdbfe;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}

.cf-card-course-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cf-card-uni-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 16px;
}

.cf-card-uni-name i.bi-bank {
  color: #182858;
  font-size: 15px;
}

/* 2x2 Specs Grid */
.cf-card-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.cf-spec-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}

.cf-spec-box i {
  color: #182858;
  font-size: 16px;
  flex-shrink: 0;
}

.cf-spec-box .spec-text {
  font-size: 12.5px;
  line-height: 1.3;
  color: #64748b;
}

.cf-spec-box .spec-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* Caution Warning Box */
.cf-card-warning-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 16px;
}

/* Card Action Buttons */
.cf-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.cf-btn-view-details {
  height: 42px;
  border: 1.5px solid #182858;
  background: #ffffff;
  color: #182858;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-btn-view-details:hover {
  background: #eff6ff;
  color: #182858;
}

.cf-btn-enquire {
  height: 42px;
  background: linear-gradient(135deg, #0c0533 0%, #182858 100%);
  border: none;
  color: #ffffff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}

.cf-btn-enquire:hover {
  background: linear-gradient(135deg, #27326c 0%, #182858 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.4);
}

/* Load More Button */
.cf-load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.cf-btn-load-more,
.cf-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  background: linear-gradient(135deg, #0c0533 0%, #27326c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(12, 5, 51, 0.2);
}

.cf-btn-load-more:hover,
.cf-load-more-btn:hover {
  background: linear-gradient(135deg, #27326c 0%, #182858 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  color: #ffffff;
}

.cf-btn-load-more i,
.cf-load-more-btn i {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.cf-btn-load-more:hover i,
.cf-load-more-btn:hover i {
  transform: translateY(2px);
}

/* Floating WhatsApp Button on Left Edge */
.cf-floating-wa {
  position: fixed;
  left: 20px;
  bottom: 40px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  z-index: 9999;
  transition: all 0.25s ease;
  text-decoration: none;
}

.cf-floating-wa:hover {
  background: #1eb956;
  color: #ffffff;
  transform: scale(1.08);
}

/* Select2 in Filter Sidebar */
.cf-filter-card .select2-container--default .select2-selection--single {
  height: 44px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background-color: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
}

.cf-filter-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px !important;
  padding-left: 14px !important;
  font-size: 13.5px !important;
  color: #0f172a !important;
}

.cf-filter-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  right: 10px !important;
}

.cf-filter-card .select2-container--default.select2-container--focus .select2-selection--single,
.cf-filter-card .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #182858 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .cf-cards-grid {
    grid-template-columns: 1fr;
  }
  .cf-filter-card {
    position: static;
    margin-bottom: 24px;
  }
}

@media (max-width: 576px) {
  .cf-hero-heading {
    font-size: 32px;
  }
  .cf-card-specs-grid {
    grid-template-columns: 1fr;
  }
  .cf-card-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   INSTANT COURSE FINDER (Homepage Hero Card Styling)
   High-converting, polished, beautiful card & Select2 controls
   ========================================================= */

.cf-finder-card {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 34px 34px 28px !important;
  box-shadow: 0 25px 60px -12px rgba(13, 18, 56, 0.22), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  position: relative !important;
  color: #0f172a !important;
}

.cf-finder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b 0%, #182858 50%, #182858 100%);
  border-radius: 0 0 4px 4px;
}

.cf-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 24px !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.cf-card-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.cf-card-icon {
  width: 48px !important;
  height: 48px !important;
  background: linear-gradient(135deg, #0c0533 0%, #182858 100%) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.28) !important;
  flex-shrink: 0 !important;
}

.cf-card-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0c0533 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

.cf-card-subtitle {
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  margin-top: 3px !important;
}

.cf-match-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2) !important;
  white-space: nowrap !important;
}

.cf-match-badge i {
  color: #f59e0b !important;
  font-size: 13px !important;
  animation: pulse-glow 2s infinite ease-in-out !important;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Micro-Labels & Icons */
.cf-input-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 7px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.cf-input-label i {
  font-size: 13px !important;
}

.cf-input-container {
  position: relative !important;
  width: 100% !important;
}

.cf-input-ico {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
}

.cf-input-container:focus-within .cf-input-ico {
  color: #182858 !important;
}

/* Form inputs (Course name, Campus, etc.) */
.cf-form-control {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px 0 46px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cf-form-control:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

.cf-form-control:focus {
  border-color: #182858 !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12) !important;
  outline: none !important;
  background: #ffffff !important;
}

.cf-form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
}

/* Select2 dropdown styling for Instant Course Finder */
.cf-finder-card .select2-container {
  width: 100% !important;
  display: block !important;
}

.cf-finder-card .select2-container--default .select2-selection--single {
  height: 50px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
}

.cf-finder-card .select2-container--default .select2-selection--single:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

.cf-finder-card .select2-container--default.select2-container--open .select2-selection--single,
.cf-finder-card .select2-container--default.select2-container--focus .select2-selection--single {
  background: #ffffff !important;
  border-color: #182858 !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12) !important;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 46px !important;
  padding-right: 36px !important;
  line-height: 48px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  right: 14px !important;
  top: 0 !important;
  width: 20px !important;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #64748b transparent transparent transparent !important;
  border-width: 6px 5px 0 5px !important;
}

.cf-finder-card .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #182858 !important;
  border-width: 0 5px 6px 5px !important;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__clear {
  font-size: 18px !important;
  color: #94a3b8 !important;
  right: 32px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
      position: absolute;
}

.cf-finder-card .select2-container--default .select2-selection--single .select2-selection__clear:hover {
  color: #ef4444 !important;
}

/* Submit Button */
.btn-cf-submit {
  width: 100% !important;
  height: 52px !important;
  background: linear-gradient(135deg, #0c0533 0%, #182858 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.32) !important;
  margin-top: 8px !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn-cf-submit i {
  color: #fbbf24 !important;
  font-size: 17px !important;
  transition: transform 0.25s ease !important;
}

.btn-cf-submit:hover {
  background: linear-gradient(135deg, #151d52 0%, #182858 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(0, 102, 255, 0.42) !important;
  color: #ffffff !important;
}

.btn-cf-submit:hover i {
  transform: scale(1.15) !important;
}

.btn-cf-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25) !important;
}

/* Trust Strip */
.cf-trust-strip {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px dashed #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 600 !important;
  flex-wrap: wrap !important;
}

.cf-trust-strip span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.cf-trust-strip i {
  color: #10b981 !important;
  font-size: 13px !important;
}

/* Global Select2 Dropdown Popup Window */
.select2-dropdown {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 45px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  z-index: 99999 !important;
  background-color: #ffffff !important;
  animation: cfFadeIn 0.15s ease-out !important;
}

@keyframes cfFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.select2-search--dropdown {
  padding: 10px 12px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.select2-search--dropdown .select2-search__field {
  height: 38px !important;
  border-radius: 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 0 12px !important;
  font-size: 13.5px !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #182858 !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12) !important;
}

.select2-results__options {
  max-height: 260px !important;
  padding: 6px !important;
}

.select2-results__option {
  padding: 9px 14px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  margin-bottom: 2px !important;
  transition: all 0.12s ease !important;
}

.select2-results__option--highlighted[aria-selected] {
  background-color: #182858 !important;
  color: #ffffff !important;
}

.select2-results__option[aria-selected="true"] {
  background-color: #eff6ff !important;
  color: #182858 !important;
  font-weight: 700 !important;
}

/* =========================================================
   REAL-TIME AI LIVE WEB SEARCH STYLES (TAVILY + GROQ)
   ========================================================= */
.cf-ai-live-banner {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(240, 253, 250, 0.95) 100%);
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
  position: relative;
  overflow: hidden;
  animation: cfFadeInUp 0.35s ease-out;
}

@keyframes cfFadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.cf-live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.5);
  animation: cfPulseDot 1.8s infinite;
}

@keyframes cfPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cf-live-tag-pill {
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.cf-ai-live-summary {
  font-size: 13px;
  line-height: 1.55;
  color: #1e293b;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid #0d9488;
}

.cf-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cf-source-pill:hover {
  background: #182858;
  color: #ffffff;
  border-color: #182858;
}

.cf-source-pill i {
  font-size: 10px;
  color: #0066ff;
}

.cf-source-pill:hover i {
  color: #ffffff;
}

/* Match Score Badge on Card */
.cf-match-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.2) 100%);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cf-card-reasoning {
  background: #f8fafc;
  border-left: 3px solid #10b981;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Card Button Group (4 buttons: View, Web, Enquire, WhatsApp) */
.cf-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cf-btn-view-details {
  flex: 1 1 calc(50% - 4px);
  min-width: 120px;
  height: 38px;
  border: 1.5px solid #182858;
  background: #ffffff;
  color: #182858;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-btn-view-details:hover {
  background: #eff6ff;
  color: #182858;
}

.cf-btn-uni-web {
  flex: 1 1 calc(50% - 4px);
  min-width: 120px;
  height: 38px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-btn-uni-web:hover {
  border-color: #0066ff;
  color: #0066ff;
  background: #f0f7ff;
}

.cf-btn-enquire {
  flex: 1 1 calc(80% - 8px);
  height: 40px;
  background: linear-gradient(135deg, #0c0533 0%, #182858 100%);
  border: none;
  color: #ffffff;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cf-btn-enquire:hover {
  background: linear-gradient(135deg, #27326c 0%, #0066ff 100%);
  color: #ffffff;
}

.cf-btn-card-wa {
  flex: 0 0 40px;
  height: 40px;
  background: #25d366;
  border: none;
  color: #ffffff;
  border-radius: 8px;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cf-btn-card-wa:hover {
  background: #1eb857;
  color: #ffffff;
  transform: translateY(-1px);
}

