
/* ==========================================================================
   Rule 6: Page Banner & Breadcrumb Styles
   ========================================================================== */

.page-banner {
  position: relative;
  padding: 85px 0 75px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.banner-breadcrumb a {
  color: #cbd5e1;
  transition: var(--transition);
}

.banner-breadcrumb a:hover {
  color: var(--secondary);
}

.banner-breadcrumb span {
  color: #94a3b8;
}

.banner-breadcrumb .current {
  color: var(--white);
  font-weight: 700;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 0 50px;
  }

  .page-title {
    font-size: 2.1rem;
  }

  .page-subtitle {
    font-size: 0.98rem;
  }
}


/* ==========================================================================
   Page Projects & Roadmaps Custom Styles
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Roadmaps Section */
.roadmaps-section {
  padding: 90px 0;
  background: var(--light);
}

.roadmaps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.roadmap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.roadmap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
}

.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rm-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-web {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-ai {
  background: #ede9fe;
  color: #6d28d9;
}

.tag-design {
  background: #cffafe;
  color: #0e7490;
}

.rm-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rm-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 12px;
  min-height: 55px;
}

.rm-title a:hover {
  color: var(--brand);
}

.rm-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.rm-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.rm-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-v {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-k {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rm-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.rm-skills span {
  font-size: 0.78rem;
  background: var(--light);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.rm-btn {
  margin-top: auto;
  width: 100%;
}

/* Capstones Section */
.capstones-section {
  padding: 95px 0;
  background: var(--white);
}

.capstones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.capstone-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.capstone-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.1);
}

.capstone-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.capstone-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.capstone-card:hover .capstone-img-wrap img {
  transform: scale(1.06);
}

.capstone-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

.capstone-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.capstone-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.capstone-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.capstone-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.capstone-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.capstone-author strong {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .roadmaps-grid,
  .capstones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .roadmaps-grid,
  .capstones-grid {
    grid-template-columns: 1fr;
  }
}
