/* ===== CBT Portal Page Styles ===== */
/* Theme: #335596 (blue), #74c5b5 (teal), Poppins */

/* Hero Section */
.cbt-hero {
  background: linear-gradient(135deg, #335596 0%, #1a3a6e 50%, #74c5b5 100%);
  padding: 80px 0 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cbt-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(116,197,181,0.15) 0%, transparent 50%);
  animation: cbt-pulse-bg 8s ease-in-out infinite;
}
@keyframes cbt-pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}
.cbt-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.cbt-hero p {
  font-size: clamp(15px, 1.8vw, 20px);
  max-width: 750px;
  margin: 0 auto 25px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.cbt-hero .cbt-hero-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #74c5b5;
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.cbt-hero .cbt-hero-btn:hover {
  background: #fff;
  color: #335596;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* Section Titles */
.cbt-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.cbt-section-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: #335596;
  font-weight: 700;
  margin-bottom: 10px;
}
.cbt-section-title p {
  color: #666;
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}
.cbt-section-title .cbt-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #74c5b5, #335596);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== How It Works — Flow Section ===== */
.cbt-flow-section {
  padding: 70px 0;
  background: #f8fafb;
}
.cbt-flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.cbt-flow-step {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(51,85,150,0.08);
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}
.cbt-flow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(51,85,150,0.15);
  border-color: #74c5b5;
}
.cbt-flow-step .step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #335596, #74c5b5);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cbt-flow-step .step-icon {
  width: 70px;
  height: 70px;
  margin: 10px auto 15px;
  background: linear-gradient(135deg, rgba(51,85,150,0.08), rgba(116,197,181,0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #335596;
  transition: all 0.4s ease;
}
.cbt-flow-step:hover .step-icon {
  background: linear-gradient(135deg, #335596, #74c5b5);
  color: #fff;
  transform: scale(1.1);
}
.cbt-flow-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: #335596;
  margin-bottom: 8px;
}
.cbt-flow-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Row Connector (arrow between rows) */
.cbt-row-connector {
  text-align: center;
  padding: 18px 0;
  color: #74c5b5;
  font-size: 28px;
  animation: cbt-arrow-down 1.5s ease-in-out infinite;
}
@keyframes cbt-arrow-down {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* Responsive: 2 columns on tablet */
@media (max-width: 991px) {
  .cbt-flow-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
/* Responsive: 1 column on mobile */
@media (max-width: 576px) {
  .cbt-flow-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Role Cards Section ===== */
.cbt-roles-section {
  padding: 70px 0;
}
.cbt-role-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.cbt-role-card {
  flex: 0 0 calc(33.333% - 30px);
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 4px 20px rgba(51,85,150,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
}
.cbt-role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(51,85,150,0.15);
  border-bottom-color: #74c5b5;
}
.cbt-role-card .role-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #335596, #74c5b5);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: #fff;
  transition: all 0.4s ease;
}
.cbt-role-card:hover .role-icon {
  transform: rotateY(180deg);
  border-radius: 50%;
}
.cbt-role-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #335596;
  margin-bottom: 12px;
}
.cbt-role-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.cbt-role-card ul {
  text-align: left;
  padding-left: 20px;
  margin-top: 12px;
}
.cbt-role-card ul li {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .cbt-role-card {
    flex: 0 0 calc(50% - 20px);
  }
}
@media (max-width: 576px) {
  .cbt-role-card {
    flex: 0 0 100%;
  }
}

/* ===== Features Section ===== */
.cbt-features-section {
  padding: 70px 0;
  background: #f8fafb;
}
.cbt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}
.cbt-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(51,85,150,0.06);
  transition: all 0.3s ease;
}
.cbt-feature-item:hover {
  box-shadow: 0 6px 20px rgba(51,85,150,0.12);
  transform: translateY(-3px);
}
.cbt-feature-item .feature-icon {
  flex: 0 0 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(51,85,150,0.1), rgba(116,197,181,0.15));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #335596;
}
.cbt-feature-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: #335596;
  margin-bottom: 4px;
}
.cbt-feature-item p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ===== Class Approval Section ===== */
.cbt-approval-section {
  padding: 70px 0;
  text-align: center;
}
.cbt-approval-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0;
}
.cbt-approval-logo {
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(51,85,150,0.08);
  transition: all 0.3s ease;
}
.cbt-approval-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(51,85,150,0.15);
}
.cbt-approval-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Approval badge list (text-based) */
.cbt-approval-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.cbt-approval-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(51,85,150,0.05), rgba(116,197,181,0.08));
  border: 1px solid #e0e8f0;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #335596;
  transition: all 0.3s ease;
}
.cbt-approval-badge:hover {
  background: linear-gradient(135deg, #335596, #74c5b5);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.cbt-approval-badge i {
  color: #74c5b5;
  font-size: 16px;
}
.cbt-approval-badge:hover i {
  color: #fff;
}

/* ===== CTA Section ===== */
/* ===== Client Testimonials Section ===== */
.cbt-testimonials-section {
  padding: 70px 0;
  background: #f8fafb;
}
.cbt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.cbt-testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 4px 20px rgba(51,85,150,0.07);
  position: relative;
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
}
.cbt-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(51,85,150,0.14);
  border-top-color: #74c5b5;
}
.cbt-testimonial-card .cbt-quote-icon {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 32px;
  color: rgba(116,197,181,0.25);
  line-height: 1;
}
.cbt-testimonial-card .cbt-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.cbt-testimonial-card .cbt-testimonial-text {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
}
.cbt-testimonial-card .cbt-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f0f2f5;
  padding-top: 18px;
}
.cbt-testimonial-card .cbt-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #335596, #74c5b5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.cbt-testimonial-card .cbt-author-info h6 {
  font-size: 14px;
  font-weight: 700;
  color: #335596;
  margin: 0 0 3px;
}
.cbt-testimonial-card .cbt-author-info span {
  font-size: 12px;
  color: #888;
  line-height: 1.3;
  display: block;
}
.cbt-testimonials-summary {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cbt-testimonials-summary .cbt-stat {
  text-align: center;
}
.cbt-testimonials-summary .cbt-stat .cbt-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #335596;
  display: block;
  line-height: 1.2;
}
.cbt-testimonials-summary .cbt-stat .cbt-stat-label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
  display: block;
}
@media (max-width: 576px) {
  .cbt-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .cbt-testimonials-summary {
    gap: 24px;
  }
  .cbt-testimonials-summary .cbt-stat .cbt-stat-number {
    font-size: 26px;
  }
}

/* ===== CTA Section ===== */
.cbt-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #335596, #1a3a6e);
  text-align: center;
  color: #fff;
}
.cbt-cta-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 15px;
}
.cbt-cta-section p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 25px;
}
.cbt-cta-section .cbt-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #74c5b5;
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
}
.cbt-cta-section .cbt-cta-btn:hover {
  background: #fff;
  color: #335596;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-decoration: none;
}
.cbt-cta-section .cbt-cta-btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: #fff;
  border: 2px solid #74c5b5;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px;
}
.cbt-cta-section .cbt-cta-btn-outline:hover {
  background: #74c5b5;
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}
