/* ==========================================================================
   HOME PAGE STYLES - OLELE KWANZA GROUP
   ========================================================================== */

/* Ambient breathing background lights */
.hero-glow-orb {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(16, 185, 129, 0.12) 60%, transparent 80%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: orbPulse 10s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(1.15); opacity: 0.95; }
}

/* Hero Section */
.hero-section {
  padding: 3rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-logo-wrapper {
  margin: 0 auto 1.5rem;
  width: 130px;
  height: 130px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 35px rgba(16, 185, 129, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 4s ease-in-out infinite alternate, fadeInDown 0.8s ease forwards;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

.hero-badge {
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease forwards 0.15s;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease forwards 0.25s;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.8s ease forwards 0.35s;
}

/* Key Metrics Counter Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease forwards 0.45s;
}

.metric-card {
  text-align: center;
  position: relative;
}

.metric-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -0.75rem;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-card:nth-child(2) .metric-number {
  color: var(--color-accent);
}

.metric-card:nth-child(3) .metric-number {
  color: var(--color-gold);
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Pillars Section */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5.5rem;
}

.pillar-card {
  padding: 2.25rem 1.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.18);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.08);
  color: #ffffff;
  background: var(--color-primary-gradient);
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Process Section: Hatua 3 za Kujiunga */
.process-section {
  margin-bottom: 5.5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.step-num-bubble {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.process-card:nth-child(2) .step-num-bubble {
  background: var(--color-accent-gradient);
  box-shadow: 0 4px 12px var(--color-accent-glow);
}

.process-card:nth-child(3) .step-num-bubble {
  background: var(--color-gold-gradient);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.process-title {
  font-size: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

.process-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Leadership Contact Showcase */
.leadership-section {
  margin-bottom: 5.5rem;
}

.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 70%);
  pointer-events: none;
}

.leader-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  border: 4px solid var(--border-medium);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.leader-badge-pill {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.leader-info-block {
  flex: 1;
}

.leader-name {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.leader-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.leader-bio {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.leader-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Official Footer */
.site-footer {
  background: rgba(8, 12, 22, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  margin-top: auto;
}

[data-theme="light"] .site-footer {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 340px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.25rem 0 3rem;
  }
  .hero-logo-wrapper {
    width: 105px;
    height: 105px;
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 3rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    min-height: 52px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pillar-card {
    padding: 1.6rem 1.4rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .process-card {
    padding: 1.75rem 1.4rem;
  }
  .leader-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .leader-avatar-wrapper {
    margin: 0 auto;
  }
  .leader-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .leader-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-brand {
    text-align: center;
  }
  .brand-title-box {
    justify-content: center;
  }
  .footer-brand p {
    margin: 0.85rem auto 0;
  }
  .footer-column {
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .metric-card::after {
    display: none !important;
  }
  .metric-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1.75rem 0 2.5rem;
  }
  .hero-logo-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    padding: 0 0.25rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .metrics-strip {
    padding: 1.25rem 1rem;
    margin-bottom: 3rem;
  }
  .metric-number {
    font-size: 1.75rem;
  }
  .pillar-card {
    padding: 1.25rem 1rem;
  }
  .process-card {
    padding: 1.25rem 1rem;
  }
  .leader-card {
    padding: 1.5rem 1rem;
  }
}

