/* ============================================
   LAYOUT & SECTIONS
   ============================================ */

/* ========== HERO SECTION ========== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
  animation: logoFloat 6s ease-in-out infinite;
}

.hero-logo {
  height: 150px;
  filter: drop-shadow(0 0 30px rgba(0, 217, 225, 0.8));
  margin: 0 auto;
}

.hero-title {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease-out;
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1.4s ease-out;
}

.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--accent-lime);
  white-space: nowrap;
  margin: 0 auto;
  animation:
    typing 4s steps(60, end) 0.5s 1 normal both,
    blinkCaret 0.75s step-end infinite 0.5s;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
  line-height: 1.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1.6s ease-out;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin: 3rem auto;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.8s ease-out;
}

.stat-mini {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 217, 225, 0.08);
  border: 1px solid rgba(0, 217, 225, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  min-width: 180px;
  transition: all 0.4s ease;
}

.stat-mini:hover {
  background: rgba(0, 217, 225, 0.15);
  border-color: var(--accent-lime);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 217, 225, 0.3);
}

.stat-value {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-lime);
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.6);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-titles);
  font-size: 0.9rem;
  color: var(--text-cyan);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  animation: fadeInUp 2s ease-out;
}

/* ========== SOLUTIONS SECTION ========== */
.solutions-section {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(5, 7, 15, 0.9));
}

/* ========== IMPACT SECTION ========== */
.impact-section {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(5, 7, 15, 0.95));
  overflow: hidden;
}

.impact-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.impact-stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 225, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.impact-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 217, 225, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.impact-stat-card:hover::before {
  opacity: 1;
}

.impact-stat-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(0, 217, 225, 0.4);
  border-color: var(--accent-lime);
}

.stat-visualization {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
}

.stat-circle {
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(0, 217, 225, 0.1);
  stroke-width: 8;
}

.circle-progress {
  fill: none;
  stroke: var(--primary-cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  filter: drop-shadow(0 0 10px rgba(0, 217, 225, 0.6));
  transition: stroke-dashoffset 2s ease-out;
}

.stat-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.stat-number-large {
  font-family: var(--font-hero);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-titles);
  font-size: 1.2rem;
  color: var(--text-cyan);
  font-weight: 700;
  margin-top: 0.5rem;
}

.stat-label-large {
  font-family: var(--font-titles);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.stat-sublabel {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-style: italic;
}

/* Africa Map Container */
.africa-map-container {
  margin-top: 6rem;
  padding: 3rem;
  background: rgba(0, 217, 225, 0.05);
  border: 1px solid rgba(0, 217, 225, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.map-title {
  text-align: center;
  font-family: var(--font-titles);
  font-size: 2.2rem;
  color: var(--accent-lime);
  margin-bottom: 2rem;
}

.map-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

/* ========== TECHNOLOGIES SECTION ========== */
.tech-section {
  padding: 120px 0;
  background: var(--background-dark);
  position: relative;
}

.tech-stack-visual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.tech-category {
  background: rgba(0, 217, 225, 0.05);
  border: 1px solid rgba(0, 217, 225, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.tech-category:hover {
  background: rgba(0, 217, 225, 0.08);
  border-color: var(--accent-lime);
  box-shadow: 0 15px 50px rgba(0, 217, 225, 0.2);
  transform: translateY(-8px);
}

.tech-category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tech-icon-large {
  font-size: 3rem;
  filter: drop-shadow(0 0 15px rgba(0, 217, 225, 0.5));
}

.tech-category-title {
  font-family: var(--font-titles);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-item {
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(0, 217, 225, 0.1), rgba(204, 255, 0, 0.05));
  border: 1px solid rgba(0, 217, 225, 0.3);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-cyan);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  background: linear-gradient(135deg, rgba(0, 217, 225, 0.2), rgba(204, 255, 0, 0.15));
  border-color: var(--accent-lime);
  color: var(--accent-lime);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
  transform: translateY(-4px) scale(1.05);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(5, 7, 15, 0.95), rgba(10, 14, 39, 0.9));
  position: relative;
}

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

.contact-form-container {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 217, 225, 0.3);
  border-radius: 24px;
  padding: 3rem;
}

.contact-form {
  position: relative;
}

.form-success {
  text-align: center;
  padding: 3rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-lime));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--background-dark);
  font-weight: 900;
  box-shadow: 0 0 40px rgba(0, 217, 225, 0.6);
}

.contact-info-panel {
  background: rgba(0, 217, 225, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 217, 225, 0.25);
  border-radius: 24px;
  padding: 3rem;
}

.contact-logo-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-logo {
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(0, 217, 225, 0.7));
  display: inline-block;
  animation: logoFloat 6s ease-in-out infinite;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 217, 225, 0.08);
  border-radius: 16px;
  border-left: 3px solid var(--accent-lime);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(0, 217, 225, 0.12);
  transform: translateX(10px);
  box-shadow: 0 0 20px rgba(0, 217, 225, 0.2);
}

.info-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.5));
  flex-shrink: 0;
}

.info-content h4 {
  font-family: var(--font-titles);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.info-content a:hover {
  color: var(--primary-cyan);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 217, 225, 0.1);
  border: 1px solid rgba(0, 217, 225, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-lime));
  border-color: var(--accent-lime);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 217, 225, 0.4);
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-cyan);
  transition: fill 0.3s ease;
}

.social-link:hover svg {
  fill: var(--background-dark);
}

/* ========== FOOTER (Si nécessaire) ========== */
.footer {
  padding: 3rem 0;
  background: var(--background-darker);
  border-top: 1px solid rgba(0, 217, 225, 0.2);
  text-align: center;
}

.footer p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer a {
  color: var(--primary-cyan);
  font-weight: 600;
}

.footer a:hover {
  color: var(--accent-lime);
}
