/* Page Specific Styling */

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* Allow mouse interaction */
}

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Let clicks pass through to the canvas if needed, or target child elements explicitly */
  max-width: 800px;
}

.hero-content * {
  pointer-events: auto; /* Re-enable pointer events for buttons/text */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span.gradient-text {
  background: var(--gradient-creative);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* Sections General */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.section-tag {
  color: var(--accent-purple);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Card Additions */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 75px;
}

.card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-meta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-price {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Bootcamp Highlight Cards (Bigger structures) */
.bootcamp-card {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.bootcamp-card:nth-child(even) {
  flex-direction: row-reverse;
}

.bootcamp-img-container {
  flex: 1.2;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 16/10;
}

.bootcamp-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bootcamp-card:hover .bootcamp-img-container img {
  transform: scale(1.05);
}

.bootcamp-info {
  flex: 1;
}

.bootcamp-features {
  list-style: none;
  margin: 1.5rem 0;
}

.bootcamp-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.bootcamp-features svg {
  color: var(--accent-orange);
  width: 18px;
  height: 18px;
}

@media (max-width: 992px) {
  .bootcamp-card, .bootcamp-card:nth-child(even) {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* About Page Styles */
.about-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}

.about-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-creative);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Styles */
.contact-hero {
  padding: 10rem 0 4rem;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Detail Templates Layout */
.detail-hero {
  padding: 10rem 0 4rem;
  position: relative;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.curriculum-list {
  list-style: none;
  margin-top: 2rem;
}

.curriculum-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.curriculum-week {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent-purple);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.curriculum-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}
