/* ==========================================
   Degree Template Stylesheet
   ========================================== */

/* --- 1. Hero Section --- */
.degree-hero {
  background: linear-gradient(135deg, #0b0f19 0%, #1a233a 100%);
  color: #ffffff;
  padding: 60px 5%;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.degree-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.degree-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.degree-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 900px;
}

/* --- 2. Main Container & Header Section --- */
.degree-main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.degree-header-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.degree-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b0f19;
  margin: 0;
}

.btn-email-info {
  background-color: transparent;
  color: #e65c00;
  border: 1.5px solid #e65c00;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-email-info:hover {
  background-color: #e65c00;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 92, 0, 0.25);
}

/* --- 3. Dynamic Course Cards Grid --- */
.degree-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.degree-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.degree-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Fixed Image Fitting to avoid cropping logos/banners */
.degree-card-img-wrapper {
  height: 180px;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.degree-card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.degree-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.degree-badge {
  align-self: flex-start;
  background: #fff7ed;
  color: #ea580c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.degree-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.degree-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.degree-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
}

.degree-duration {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.btn-view-program {
  background-color: #0b0f19;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-view-program:hover {
  background-color: #e65c00;
}

/* --- 4. Empty State --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.empty-state h2 {
  color: #1e293b;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.empty-state p {
  color: #64748b;
}

/* --- 5. Responsive Adjustments --- */
@media (max-width: 768px) {
  .degree-hero {
    padding: 40px 20px;
  }

  .degree-hero-title {
    font-size: 1.8rem;
  }

  .degree-header-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-email-info {
    width: 100%;
  }
}

/* ==========================================
   Pagination Controls
   ========================================== */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px 0;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  border-color: #e65c00;
  color: #e65c00;
  background-color: #fff7ed;
}

.pagination-btn.active {
  background-color: #0b0f19;
  color: #ffffff;
  border-color: #0b0f19;
}

.pagination-btn.disabled {
  color: #94a3b8;
  border-color: #e2e8f0;
  background-color: #f8fafc;
  cursor: not-allowed;
}

/* ==========================================
   Why Choose BCU Section
   ========================================== */
.why-bcu-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.why-bcu-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b0f19;
  margin-bottom: 35px;
}

.why-bcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.why-bcu-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-bcu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Circular Icon Styles */
.why-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff;
}

.why-icon-circle.blue       { background-color: #2563eb; }
.why-icon-circle.green      { background-color: #16a34a; }
.why-icon-circle.purple     { background-color: #9333ea; }
.why-icon-circle.orange     { background-color: #f97316; }
.why-icon-circle.light-blue { background-color: #0284c7; }
.why-icon-circle.teal       { background-color: #0d9488; }

.why-bcu-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0b0f19;
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-bcu-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Yellow Disclaimer Banner */
.bcu-disclaimer-banner {
  background-color: #fffdf0;
  border: 1.5px solid #fef08a;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.disclaimer-shield-icon {
  flex-shrink: 0;
}

.disclaimer-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b0f19;
  margin: 0 0 4px 0;
}

.disclaimer-content p {
  font-size: 0.9rem;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-bcu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bcu-disclaimer-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .why-bcu-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Modern Progress Line Timeline
   ========================================== */
.how-bcu-section {
  border-radius: 20px;
  padding: 48px 36px;
  margin-top: 50px;
}

.how-bcu-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e65c00;
  background: #fff7ed;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.how-bcu-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
  text-align: center;
}

/* Timeline Wrapper */
.process-timeline-wrapper {
  position: relative;
  margin-bottom: 50px;
}

/* --- Gradient Progress Track (Desktop Horizontal) --- */
.progress-track-container {
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 6px;
  z-index: 1;
}

.progress-track-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  border-radius: 10px;
}

/* Animated Flowing Multi-Color Gradient Line */
.progress-track-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(
    90deg, 
    #1d4ed8 0%, 
    #16a34a 20%, 
    #8b5cf6 40%, 
    #f59e0b 60%, 
    #06b6d4 80%, 
    #2563eb 100%
  );
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
  background-size: 200% 100%;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Grid Layout */
.process-steps-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badge Outer Ring & Node */
.step-badge-wrap {
  position: relative;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.step-badge span {
  position: relative;
  z-index: 2;
}

/* Node Gradient Variations */
.step-badge.step-1 { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.step-badge.step-2 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.step-badge.step-3 { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.step-badge.step-4 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.step-badge.step-5 { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.step-badge.step-6 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* Glowing Pulsing Ring on Hover */
.step-item:hover .step-badge {
  transform: scale(1.18);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.step-badge::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.step-item:hover .step-1::after { border-color: rgba(37, 99, 235, 0.5); }
.step-item:hover .step-2::after { border-color: rgba(22, 163, 74, 0.5); }
.step-item:hover .step-3::after { border-color: rgba(124, 58, 237, 0.5); }
.step-item:hover .step-4::after { border-color: rgba(217, 119, 6, 0.5); }
.step-item:hover .step-5::after { border-color: rgba(8, 145, 178, 0.5); }
.step-item:hover .step-6::after { border-color: rgba(29, 78, 216, 0.5); }

/* Content Card */
.step-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 16px 12px;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.step-item:hover .step-card {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

.step-text {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Trust Banner */
.bcu-trust-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.trust-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-headline {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.trust-subline {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
  
  .progress-track-container {
    display: none; /* Hide horizontal track on multi-row tablet layout */
  }
}

@media (max-width: 640px) {
  .how-bcu-section {
    padding: 32px 16px;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 20px;
  }

  /* Vertical Progress Line for Mobile */
  .process-timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 41px;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #16a34a, #7c3aed, #d97706, #0891b2, #1d4ed8);
    border-radius: 4px;
    z-index: 1;
  }

  .step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .step-badge-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
    z-index: 2;
  }

  .bcu-trust-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   Budget Comparison Table Section
   ========================================== */
.budget-comparison-section {
  margin-top: 50px;
  margin-bottom: 40px;
}

.comparison-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Header Banner */
.comparison-header {
  background-color: #0b1a48;
  padding: 16px 20px;
  text-align: center;
}

.comparison-header h2 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.2px;
}

/* Table Layout */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: #ffffff;
}

.comparison-table th {
  background-color: #eef4ff;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
}

.comparison-table th:last-child {
  border-right: none;
}

.comparison-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  font-size: 0.92rem;
  color: #1e293b;
  vertical-align: middle;
}

.comparison-table td:last-child {
  border-right: none;
}

.col-category {
  font-weight: 700;
  color: #0b1a48;
}

.col-fee {
  font-weight: 700;
  color: #0f172a;
}

.col-bestfor {
  color: #475569;
}

/* Footnote Text */
.comparison-footnote {
  font-size: 0.78rem;
  color: #64748b;
  padding: 12px 20px;
  margin: 0;
  text-align: left;
}

/* CTA Box */
.comparison-cta-box {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  margin: 10px 20px 20px 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-left-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.piggy-icon-wrap {
  background: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.12);
}

.cta-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1a48;
  margin: 0 0 4px 0;
}

.cta-text p {
  font-size: 0.9rem;
  color: #334155;
  margin: 0;
}

/* GET FEE COMPARISON Button */
.btn-fee-comparison {
  background-color: #0b1a48;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-block;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(11, 26, 72, 0.2);
}

.btn-fee-comparison:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
}

/* --- Responsive Formatting --- */
@media (max-width: 768px) {
  .comparison-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .cta-left-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .btn-fee-comparison {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .comparison-header h2 {
    font-size: 1.15rem;
  }

  .comparison-table th, 
  .comparison-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
}