/* ============================================
   CEDA PROJECT PAGE STYLES
   ============================================ */

/* ── HERO BANNER ─────────────────────────── */
.ceda-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  background:
    radial-gradient(ellipse 60% 70% at 90% 50%, rgba(249,115,22,0.15) 0%, transparent 70%),
    linear-gradient(135deg, #f3f4f6 0%, #ffffff 50%, #fff7ed 100%);
  border-bottom: 1px solid var(--grey-light);
}

[data-theme="dark"] .ceda-hero {
  background:
    radial-gradient(ellipse 60% 70% at 90% 50%, rgba(249,115,22,0.2) 0%, transparent 70%),
    linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1a120a 100%);
}

.ceda-hero__inner { max-width: 720px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--orange); }

.ceda-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.ceda-hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -2px;
}

.ceda-hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ceda-hero__tagline {
  font-size: 1rem;
  color: var(--grey-dark);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ceda-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── SECTIONS ────────────────────────────── */
.ceda-section {
  padding: 70px 5%;
  background: var(--white);
}

.ceda-section--alt {
  background: var(--grey-subtle);
}

.ceda-container {
  max-width: 1100px;
  margin: 0 auto;
}

.ceda-container--narrow {
  max-width: 720px;
  margin: 0 auto;
}

.ceda-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
  position: relative;
}

.ceda-section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 0.6rem;
}

.ceda-section__title--center { text-align: center; }
.ceda-section__title--center::after { margin-left: auto; margin-right: auto; }

.ceda-section__sub {
  text-align: center;
  color: var(--grey);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* ── OVERVIEW ────────────────────────────── */
.ceda-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ceda-overview__text p {
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.ceda-overview__text a {
  color: var(--orange);
  font-weight: 600;
}

.ceda-overview__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.stat-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.stat-card__icon {
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  margin-bottom: 0.25rem;
}

.stat-card__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

[data-theme="dark"] .stat-card {
  background: #1e293b;
}

/* ── FEATURES ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.feature-card__icon {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
}

[data-theme="dark"] .feature-card {
  background: #1e293b;
}

/* ── TECH STACK ──────────────────────────── */
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  min-width: 100px;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.stack-item i {
  font-size: 1.75rem;
  color: var(--orange);
}

.stack-item:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

[data-theme="dark"] .stack-item {
  background: #1e293b;
}

/* ── ROLE CARD ───────────────────────────── */
.role-card {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.role-card p {
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.role-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

[data-theme="dark"] .role-card {
  background: #1e293b;
}

/* ── CTA SECTION ─────────────────────────── */
.ceda-cta {
  padding: 70px 5%;
  background: var(--black);
  color: var(--white);
}

.ceda-cta h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.ceda-cta p {
  color: var(--grey-mid);
  font-size: 0.95rem;
}

[data-theme="dark"] .ceda-cta {
  background: #0a0f1a;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .ceda-overview { grid-template-columns: 1fr; gap: 2rem; }
  .ceda-overview__stats { grid-template-columns: 1fr 1fr; }
  .ceda-hero__title { letter-spacing: -1px; }
}
