/* Pere Technologies — Course Page Styles */

/* ── Course Hero ── */
.course-hero {
  background: linear-gradient(135deg, #0f2448 0%, #1a3a6b 60%, #1e4a8a 100%);
  padding: 100px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.course-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  position: relative;
}
.course-eyebrow {
  display: inline-block;
  background: rgba(245,166,35,0.2);
  color: #f5a623;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.course-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
}
.course-salary-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 10px 18px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.course-salary-block strong {
  font-size: 1.15rem;
  color: #f5a623;
}
.course-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.course-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.course-bullets li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #f5a623;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Enroll Card ── */
.course-enroll-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: sticky;
  top: 90px;
  color: #1a1a2e;
}
.enroll-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a3a6b;
  margin-bottom: 4px;
}
.enroll-price-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 20px;
}
.enroll-details {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enroll-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}
.enroll-details li:last-child { border-bottom: none; padding-bottom: 0; }
.enroll-details .e-icon {
  width: 32px;
  height: 32px;
  background: #f0f4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.enroll-details .e-label { font-weight: 600; color: #1a3a6b; font-size: 0.8rem; display: block; }
.enroll-details .e-val { font-size: 0.85rem; color: #555; }
.enroll-btn {
  display: block;
  width: 100%;
  background: #f5a623;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.enroll-btn:hover { background: #e09320; }
.enroll-btn-secondary {
  display: block;
  width: 100%;
  background: transparent;
  color: #1a3a6b;
  border: 2px solid #1a3a6b;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}
.enroll-btn-secondary:hover { background: #1a3a6b; color: #fff; }

/* ── Quick Info Strip ── */
.quick-info-strip {
  background: #f5a623;
  padding: 18px 0;
}
.quick-info-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.quick-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.quick-info-item span.qi-icon {
  font-size: 1.3rem;
}

/* ── Section Wrappers ── */
.course-section {
  padding: 60px 0;
}
.course-section:nth-child(even) {
  background: #f8faff;
}
.course-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 8px;
}
.course-section-subtitle {
  color: #555;
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 600px;
}
.intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
}

/* ── Modules Grid ── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.module-card:hover {
  box-shadow: 0 8px 24px rgba(26,58,107,0.1);
  border-color: #1a3a6b;
}
.module-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5a623;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.module-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 8px;
}
.module-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Highlights Grid ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 10px;
  padding: 16px;
  font-size: 0.9rem;
  color: #333;
}
.highlight-item::before {
  content: '✦';
  color: #f5a623;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Benefits Grid ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #e5eaf5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26,58,107,0.1);
}
.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Tools Grid ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 12px;
  padding: 18px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a3a6b;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-chip:hover {
  border-color: #1a3a6b;
  box-shadow: 0 4px 12px rgba(26,58,107,0.1);
}
.tool-chip img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ── Skills Pills ── */
.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-pill {
  background: #1a3a6b;
  color: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Career Grid ── */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.career-card {
  background: #fff;
  border: 1px solid #e5eaf5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.career-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.career-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 2px;
}
.career-card p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}
.salary-note {
  background: linear-gradient(135deg, #1a3a6b, #1e4a8a);
  color: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}
.salary-note strong { font-size: 1.3rem; color: #f5a623; }

/* ── Why Choose Cards ── */
.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  border-left: 4px solid #f5a623;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

/* ── Syllabus ── */
.syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: syl;
}
.syllabus-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #333;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5eaf5;
  counter-increment: syl;
}
.syllabus-list li::before {
  content: counter(syl, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f5a623;
  flex-shrink: 0;
  line-height: 1.6;
}

/* ── Course CTA Banner ── */
.course-cta-banner {
  background: linear-gradient(135deg, #1a3a6b, #0f2448);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.course-cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.course-cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.course-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Frameworks list ── */
.frameworks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.framework-tag {
  background: #eef2ff;
  color: #1a3a6b;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .course-hero-inner {
    grid-template-columns: 1fr;
  }
  .course-enroll-card {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(4, 1fr); }
  .career-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .course-hero { padding: 90px 0 40px; }
  .modules-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .career-grid { grid-template-columns: 1fr; }
  .why-cards-grid { grid-template-columns: 1fr; }
  .syllabus-list { grid-template-columns: 1fr; }
  .course-hero-ctas { flex-direction: column; }
  .course-hero-ctas .btn { width: 100%; text-align: center; }
  .quick-info-inner { justify-content: flex-start; gap: 12px; }
  .quick-info-item { font-size: 0.82rem; }
  .course-cta-actions { flex-direction: column; align-items: center; }
  .course-cta-actions .btn { width: 100%; max-width: 320px; }
}

@media (max-width: 400px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
