/* ==========================================================================
   CODAR TECH AFRICA - INNER PAGES (Phase 3+)
   Shared styles for solutions, about, services pages
   ========================================================================== */

/* ===== Mission / Vision boxes ===== */
.mv-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  position: relative;
  transition: all var(--transition-base);
}
.mv-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--codar-primary-light);
}
.mv-box .mv-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
}
.mv-box.accent .mv-icon { background: var(--gradient-accent); color: #0A1733; }
.mv-box h4 { margin-bottom: 12px; font-size: 1.3rem; }
.mv-box p { font-size: 0.96rem; margin: 0; }

/* ===== Value cards ===== */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--codar-primary-light);
}
.value-card .value-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}
.value-card h6 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* ===== Journey / Timeline ===== */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--border-soft);
  transform: translateX(-50%);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding: 24px 0;
}
.timeline-item .timeline-content {
  width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: all var(--transition-base);
}
.timeline-item .timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--codar-primary-light);
}
.timeline-item.left .timeline-content { margin-right: auto; }
.timeline-item.right .timeline-content { margin-left: auto; }
.timeline-item .timeline-dot {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 22px; height: 22px;
  background: var(--gradient-primary);
  border: 4px solid var(--bg-body);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-blue);
  z-index: 2;
}
.timeline-item .timeline-year {
  display: inline-block;
  background: var(--gradient-accent);
  color: #0A1733;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.timeline-item h5 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.92rem; margin: 0; }

@media (max-width: 767.98px) {
  .timeline::before { left: 22px; }
  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content { width: calc(100% - 56px); margin-left: 56px; }
  .timeline-item .timeline-dot { left: 22px; }
}

/* ===== Comparison Table (for online vs onsite, etc.) ===== */
.compare-table {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-table table { margin: 0; }
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-color: var(--border-soft) !important;
}
.compare-table thead th {
  background: var(--bg-soft);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-table thead th.featured-col {
  background: var(--gradient-primary);
  color: #fff;
}
.compare-table tbody td { font-size: 0.92rem; color: var(--text-secondary); }
.compare-table tbody td.feat { color: var(--text-primary); font-weight: 600; }
.compare-table tbody td .yes { color: var(--codar-success); font-size: 1.2rem; }
.compare-table tbody td .no { color: var(--codar-danger); font-size: 1.2rem; opacity: 0.7; }
.compare-table tbody tr:hover { background: rgba(30, 94, 255, 0.03); }

/* ===== Big quote / pull-quote ===== */
.pull-quote {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -30px; left: 30px;
  font-size: 16rem;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.pull-quote::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: var(--codar-accent);
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(60px);
}
.pull-quote > * { position: relative; z-index: 1; }
.pull-quote blockquote {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 30px;
  font-style: italic;
}
.pull-quote .quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pull-quote .quote-author img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--codar-accent);
}
.pull-quote .quote-author strong { display: block; color: #fff; font-size: 1.05rem; }
.pull-quote .quote-author small { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

@media (max-width: 575.98px) {
  .pull-quote { padding: 40px 26px; }
  .pull-quote::before { font-size: 8rem; top: -10px; }
}

/* ===== Service / offering cards (large) ===== */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--codar-primary-light);
}
.service-card .service-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card .service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-card .service-img-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--codar-accent);
  color: #0A1733;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-card .service-body { padding: 28px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h4 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { font-size: 0.94rem; margin-bottom: 18px; }
.service-card .service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.service-card .service-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card .service-features li i {
  color: var(--codar-success);
  flex-shrink: 0;
  margin-top: 4px;
}
.service-card .service-cta { margin-top: auto; }

/* ===== Contact info card / location card ===== */
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--transition-base);
}
.location-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.location-card .location-img {
  height: 200px;
  overflow: hidden;
}
.location-card .location-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.location-card .location-body { padding: 24px; }
.location-card .location-tag {
  display: inline-block;
  background: rgba(30, 94, 255, 0.1);
  color: var(--codar-primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.location-card h5 { margin-bottom: 6px; }
.location-card .location-addr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.location-card .location-addr i { color: var(--codar-primary-light); margin-top: 3px; flex-shrink: 0; }

/* ===== CTA banner inside pages ===== */
.inline-cta {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 50px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: var(--codar-accent);
  border-radius: 50%;
  opacity: 0.18;
}
.inline-cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.06;
}
.inline-cta > * { position: relative; z-index: 1; }
.inline-cta h2 { color: #fff; }
.inline-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
@media (max-width: 575.98px) {
  .inline-cta { padding: 36px 24px; }
}

/* ===== Big numbered list (curriculum / steps) ===== */
.numbered-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.numbered-step .step-circle {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}
.numbered-step h6 { margin-bottom: 4px; font-size: 1.05rem; }
.numbered-step p { font-size: 0.9rem; margin: 0; }

/* ===== Industry / sector tags ===== */
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin: 4px;
}
.industry-tag:hover {
  background: var(--codar-primary-light);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.industry-tag i { color: var(--codar-primary-light); transition: color var(--transition-fast); }
.industry-tag:hover i { color: #fff; }

/* ===== Two-column feature row ===== */
.feature-row-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-row-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
@media (max-width: 991.98px) {
  .feature-row-img img { height: 380px; }
}
@media (max-width: 575.98px) {
  .feature-row-img img { height: 280px; }
}

/* ===== Logo ribbon ===== */
.logo-ribbon {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
}
