/* ============================================
   Certified Program Page - Modern Design v2
   Consistent with Workshop Catalog styling
   Accessible, Responsive, Production-Ready
   ============================================ */

/* ===== Hero Section ===== */
.cp-hero {
  background-image: linear-gradient(
      100deg,
      rgba(30, 41, 59, 0.92) 0%,
      rgba(45, 55, 72, 0.8) 35%,
      rgba(55, 65, 81, 0.5) 60%,
      rgba(100, 116, 139, 0.25) 100%
    ),
    url("/e15/pages/company/assets/certified-pr.jpg");
  background-size: cover;
  background-position: center 53%;
  padding: 60px 0 50px;
}

.cp-hero-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.cp-hero-text {
  padding-top: 10px;
}

.cp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 16px;
}

.cp-hero-label i {
  color: #ffc107;
}

.cp-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Anchor button with bounce animation */
.cp-btn-anchor {
  position: relative;
}

.cp-arrow-bounce {
  font-size: 0.75em;
  margin-left: 4px;
  animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.cp-btn-anchor:hover .cp-arrow-bounce {
  animation: none;
  transform: translateY(2px);
}

/* Academy Badge - Under buttons */
.cp-academy-badge {
  margin-top: 32px;
}

.cp-academy-badge img {
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Glassmorphism Sidebar Card ===== */
.cp-hero-sidebar {
  position: relative;
  z-index: 10;
}

.cp-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Compact header row */
.cp-card-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cp-dates-card .cp-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
  box-shadow: 0 4px 12px var(--primary-glow);
  flex-shrink: 0;
}

.cp-card-header-text {
  flex: 1;
}

.cp-card-header-text h3 {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
  font-size: 1.1em;
}

.cp-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9em;
  margin: 0;
}

.cp-location i {
  color: var(--primary);
  font-size: 0.85em;
}

.cp-dates-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.cp-dates-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-light);
  border-radius: 8px;
  margin-bottom: 6px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95em;
  transition: all 0.25s ease;
}

.cp-dates-list li:last-child {
  margin-bottom: 0;
}

.cp-dates-list li:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}

.cp-dates-list li i {
  color: var(--primary);
  font-size: 0.95em;
}

.cp-card-meta {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.cp-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-medium);
  font-size: 0.9em;
  padding: 5px 0;
}

.cp-meta-item i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

/* ===== Section Headers ===== */
.cp-section-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 35px;
}

.cp-section-header-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.cp-section-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 14px;
  font-size: 1.4em;
  box-shadow: 0 4px 16px var(--primary-glow);
  flex-shrink: 0;
}

.cp-section-header h2 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.75em;
}

.cp-section-subtitle {
  margin: 6px 0 0;
  color: var(--text-medium);
  font-size: 1.05em;
  line-height: 1.5;
}

/* ===== Procedure Section - Timeline ===== */
.cp-procedure-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.cp-steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.cp-steps-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 70px;
  right: 70px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.cp-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cp-step-marker {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  position: relative;
}

.cp-step-number {
  width: 56px;
  height: 56px;
  background: white;
  color: var(--primary-dark);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.cp-step:hover .cp-step-number {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.cp-step-content h3 {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 10px;
  font-size: 1.05em;
}

.cp-step-content p {
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95em;
}

.cp-step-content a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.cp-step-content a:hover {
  text-decoration: underline;
}
/* ===== Examination Section ===== */
.cp-exam-section {
  padding: 60px 0;
  background: white;
}

.cp-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.cp-exam-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cp-exam-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px var(--primary-glow);
  transform: translateY(-4px);
}

.cp-exam-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

/* Elegant slate/warm gray icons */
.cp-exam-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  flex-shrink: 0;
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.25);
}

.cp-exam-card:nth-child(1) .cp-exam-icon {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.cp-exam-card:nth-child(2) .cp-exam-icon {
  background: linear-gradient(135deg, #78716c 0%, #57534e 100%);
}

.cp-exam-card:nth-child(3) .cp-exam-icon {
  background: linear-gradient(135deg, #a1a1aa 0%, #71717a 100%);
}

.cp-exam-meta {
  flex: 1;
}

.cp-exam-duration {
  display: inline-block;
  background: var(--bg-light);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--text-medium);
  margin-top: 8px;
  border: 1px solid var(--border);
}

.cp-exam-meta h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.15em;
}

.cp-exam-card-content p {
  color: var(--text-medium);
  line-height: 1.65;
  margin: 0;
}

.cp-exam-item {
  margin-bottom: 16px;
}

.cp-exam-item:last-child {
  margin-bottom: 0;
}

.cp-exam-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cp-exam-item p {
  margin: 0;
}

/* ===== Assessment Levels Card ===== */
.cp-levels-card {
  background: linear-gradient(135deg, rgba(107, 184, 190, 0.08) 0%, rgba(107, 184, 190, 0.03) 100%);
  border: 1px solid rgba(107, 184, 190, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
}

.cp-levels-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cp-levels-header i {
  font-size: 1.4em;
  color: var(--primary);
}

.cp-levels-header h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
}

.cp-levels-card > p {
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0 0 24px;
}

.cp-levels-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cp-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.25s ease;
}

.cp-level-badge i {
  font-size: 1.15em;
}

.cp-level-badge:hover {
  transform: translateY(-3px);
}

.cp-level-associate {
  background: linear-gradient(135deg, #9dc3e7 0%, #7aadd9 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(122, 173, 217, 0.4);
}

.cp-level-specialist {
  background: linear-gradient(135deg, #6bb8be 0%, #5aa8ae 100%);
  color: white;
  box-shadow: 0 6px 16px rgba(107, 184, 190, 0.4);
}

.cp-level-expert {
  background: linear-gradient(135deg, #ffc000 0%, #e6ac00 100%);
  color: #422006;
  box-shadow: 0 6px 16px rgba(230, 172, 0, 0.4);
}

/* ===== Info Section ===== */
.cp-info-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.cp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
}

.cp-info-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  height: 100%;
}

.cp-info-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cp-info-card-header i {
  font-size: 1.5em;
  color: var(--primary);
}

.cp-info-card-header h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
}

/* Fees Card - Enhanced Typography */
.cp-fees-card .cp-info-card-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 70px);
}

.cp-fees-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 20px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(107, 184, 190, 0.08) 100%);
  border-radius: 12px;
  margin-bottom: 16px;
}

.cp-fees-amount {
  text-align: center;
}

.cp-fees-currency {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.cp-fees-value {
  display: block;
  font-size: 2.8em;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.cp-fees-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.cp-fees-note {
  text-align: center;
  color: var(--text-medium);
  font-size: 0.95em;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.cp-fees-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-fees-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-medium);
  line-height: 1.6;
  margin: 0 0 12px;
  font-size: 0.95em;
}

.cp-fees-info p:last-child {
  margin-bottom: 0;
}

.cp-fees-info p i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Renewal Card */
.cp-info-card-content p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 14px;
}

.cp-info-card-content p:last-child {
  margin-bottom: 0;
}

.cp-info-card-content h4 {
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0 14px;
  font-size: 1em;
}

.cp-renewal-steps {
  margin: 0;
  padding-left: 20px;
}

.cp-renewal-steps li {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 8px;
}

.cp-renewal-steps li:last-child {
  margin-bottom: 0;
}

.cp-renewal-steps strong {
  color: var(--text-dark);
}
/* ===== Modules Section - New Horizontal Layout ===== */
.cp-modules-section {
  padding: 70px 0;
  background: white;
  scroll-margin-top: 80px;
}

.cp-modules-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cp-module-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-module-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px var(--primary-glow);
  transform: translateY(-3px);
}

.cp-module-content {
  width: 100%;
}

.cp-module-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cp-module-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-weight: 800;
  font-size: 1.1em;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--primary-glow);
  flex-shrink: 0;
}

.cp-module-header h3 {
  margin: 0;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.2em;
  line-height: 1.35;
  flex: 1;
}

.cp-module-badge {
  flex-shrink: 0;
  margin-left: auto;
}

.cp-module-badge img {
  width: 168px;
  height: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  filter: grayscale(100%);
  transition: filter 0.5s ease, box-shadow 0.35s ease;
}

.cp-module-card:hover .cp-module-badge img {
  filter: grayscale(0%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.cp-module-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cp-module-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.cp-module-section h4 i {
  font-size: 0.95em;
}

.cp-module-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cp-module-section ul li {
  position: relative;
  padding-left: 16px;
  color: var(--text-medium);
  line-height: 1.55;
  margin-bottom: 6px;
  font-size: 0.9em;
}

.cp-module-section ul li:last-child {
  margin-bottom: 0;
}

.cp-module-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.cp-module-workshops h4 {
  color: var(--text-dark);
}

.cp-module-workshops ul li {
  font-weight: 500;
  color: var(--text-dark);
}

.cp-module-workshops ul li::before {
  background: var(--primary-dark);
}


.cp-module-workshops h4 {
  color: var(--text-dark);
}

.cp-module-workshops ul li {
  font-weight: 500;
  color: var(--text-dark);
}

.cp-module-workshops ul li::before {
  background: var(--primary-dark);
}

/* ===== Gallery Section ===== */
.cp-gallery-section {
  padding: 70px 0;
  background: var(--bg-light);
}

.cp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cp-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-gallery-item:hover img {
  transform: scale(1.1);
}

.cp-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107, 184, 190, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.cp-gallery-overlay i {
  color: white;
  font-size: 2em;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s ease;
}

.cp-gallery-item:hover .cp-gallery-overlay {
  background: rgba(107, 184, 190, 0.7);
}

.cp-gallery-item:hover .cp-gallery-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ===== CTA Section ===== */
.cp-cta-section {
  padding: 60px 0;
  background: white;
}

.cp-cta-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  color: white;
  box-shadow: 0 16px 48px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.cp-cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cp-cta-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  flex-shrink: 0;
}

.cp-cta-content {
  flex: 1;
}

.cp-cta-content h3 {
  font-weight: 700;
  font-size: 1.6em;
  margin: 0 0 8px;
  color: white;
}

.cp-cta-content p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
  font-size: 1.05em;
}

.cp-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.cp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cp-cta-btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cp-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--primary-dark);
}

.cp-cta-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cp-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  color: white;
}
/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large screens */
@media (max-width: 1200px) {
  .cp-hero-content {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .cp-module-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cp-module-badge img {
    width: 140px;
  }
}

/* Medium screens */
@media (max-width: 992px) {
  .cp-hero {
    padding: 50px 0 45px;
  }

  .cp-hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cp-hero-sidebar {
    max-width: 400px;
  }

  .cp-academy-badge {
    margin-top: 24px;
  }

  .cp-steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .cp-steps-timeline::before {
    display: none;
  }

  .cp-exam-grid {
    grid-template-columns: 1fr;
  }

  .cp-info-grid {
    grid-template-columns: 1fr;
  }

  .cp-module-card {
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 24px;
  }

  .cp-module-badge {
    width: 120px;
  }

  .cp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }

  .cp-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cp-cta-btn {
    justify-content: center;
  }
}

/* Small screens */
@media (max-width: 768px) {
  .cp-hero {
    padding: 40px 0 35px;
  }

  .cp-hero h1 {
    font-size: 2rem;
  }

  .cp-hero-actions {
    flex-direction: column;
  }

  .cp-hero-actions .ws-hero-btn {
    width: 100%;
    justify-content: center;
  }

  .cp-hero-sidebar {
    max-width: none;
  }

  .cp-academy-badge img {
    max-width: 220px;
  }

  .cp-section-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .cp-section-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
  }

  .cp-section-header h2 {
    font-size: 1.5em;
  }

  .cp-steps-timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .cp-step-marker {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
  }

  .cp-step-number {
    width: 48px;
    height: 48px;
    font-size: 1.15em;
  }

  .cp-step-content {
    flex: 1;
  }

  .cp-procedure-section,
  .cp-exam-section,
  .cp-info-section,
  .cp-modules-section,
  .cp-gallery-section,
  .cp-cta-section {
    padding: 45px 0;
  }

  .cp-exam-card,
  .cp-info-card {
    padding: 22px;
  }

  .cp-fees-highlight {
    padding: 22px 16px;
  }

  .cp-fees-value {
    font-size: 2.2em;
  }

  .cp-levels-badges {
    flex-direction: column;
    gap: 12px;
  }

  .cp-level-badge {
    justify-content: center;
  }

  .cp-module-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cp-module-badge {
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
  }

  .cp-module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cp-cta-card {
    padding: 28px;
  }

  .cp-cta-icon {
    width: 64px;
    height: 64px;
    font-size: 1.6em;
  }

  .cp-cta-content h3 {
    font-size: 1.35em;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .cp-hero {
    padding: 35px 0 30px;
  }

  .cp-hero h1 {
    font-size: 1.7rem;
  }

  .cp-hero-label {
    font-size: 0.8em;
    padding: 6px 12px;
  }

  .cp-glass-card {
    padding: 20px;
  }

  .cp-card-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cp-dates-list li {
    padding: 8px 10px;
    font-size: 0.9em;
  }

  .cp-academy-badge img {
    max-width: 180px;
  }

  .cp-exam-card-header {
    flex-direction: column;
    gap: 12px;
  }

  .cp-fees-highlight {
    flex-direction: column;
    gap: 16px;
  }

  .cp-fees-divider {
    width: 60px;
    height: 1px;
  }

  .cp-module-section ul li {
    font-size: 0.85em;
  }

    .cp-module-badge img {
    width: 100px;
  }

  .cp-module-code {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1em;
  }

  .cp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cp-cta-actions {
    gap: 10px;
  }

  .cp-cta-btn {
    padding: 12px 20px;
    font-size: 0.95em;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states */
.ws-hero-btn:focus,
.cp-cta-btn:focus,
.cp-gallery-item:focus,
.cp-module-card:focus-within {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.cp-step-content a:focus,
.cp-info-card-content a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Focus visible for keyboard navigation */
.ws-hero-btn:focus-visible,
.cp-cta-btn:focus-visible,
.cp-gallery-item:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cp-module-card,
  .cp-exam-card,
  .cp-gallery-item,
  .cp-cta-btn,
  .cp-dates-list li,
  .cp-level-badge,
  .cp-module-badge img,
  .cp-gallery-item img,
  .cp-gallery-overlay,
  .cp-gallery-overlay i,
  .cp-step-number,
  .cp-arrow-bounce {
    transition: none;
    animation: none;
  }

  .cp-module-card:hover,
  .cp-exam-card:hover,
  .cp-gallery-item:hover,
  .cp-cta-btn:hover,
  .cp-level-badge:hover,
  .cp-step:hover .cp-step-number {
    transform: none;
  }

  .cp-module-card:hover .cp-module-badge img,
  .cp-gallery-item:hover img {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .cp-module-card,
  .cp-exam-card,
  .cp-info-card,
  .cp-glass-card {
    border-width: 3px;
  }

  .cp-level-badge {
    border: 2px solid currentColor;
  }

  .cp-step-number {
    border-width: 4px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .cp-hero {
    background: #f0f0f0 !important;
    padding: 30px 0;
  }

  .cp-hero h1,
  .cp-hero p,
  .cp-hero-label {
    color: #000 !important;
  }

  .cp-hero-actions,
  .cp-hero-sidebar,
  .cp-cta-section,
  .cp-gallery-section,
  .cp-academy-badge {
    display: none !important;
  }

  .cp-module-card,
  .cp-exam-card,
  .cp-info-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .cp-module-card {
    grid-template-columns: 80px 1fr;
  }

  .cp-module-badge {
    width: 80px;
  }

  a {
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}