/* ========================================
   AFRICA FUNGENIEUR – MAIN STYLESHEET
   Premium Corporate IT Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy: #0B2545;
  --blue: #1B4F8A;
  --blue-mid: #2563C4;
  --blue-light: #3B82F6;
  --sky: #60A5FA;
  --accent: #F59E0B;
  --accent-green: #10B981;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-light: #E2E8F0;
  --gray: #64748B;
  --dark: #0F172A;
  --text: #1E293B;
  --shadow: 0 4px 24px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 37, 69, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ======== NAVBAR ======== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 37, 69, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white) !important;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.navbar-brand span { color: var(--sky); }
.site-logo-navbar {
  width: min(280px, 34vw);
  height: auto;
  max-height: 68px;
  display: block;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 1.5rem 1rem !important;
  letter-spacing: 0.02em;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 80%; }

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 0.5rem; }
.lang-btn {
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: white;
}

/* ======== BUTTONS ======== */
.btn-primary-af {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  color: white;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 99, 196, 0.4);
}

.btn-primary-af:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 196, 0.5);
  color: white;
}

.btn-outline-af {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-af:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0D3060 50%, var(--blue) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233B82F6' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  right: -100px;
  top: -100px;
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 100px;
  color: var(--sky);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 span { color: var(--sky); }

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky);
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ======== SECTIONS ======== */
.section { padding: 5rem 0; }
.section-alt { background: var(--off-white); }

.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(37, 99, 196, 0.08);
  border: 1px solid rgba(37, 99, 196, 0.15);
  border-radius: 100px;
  color: var(--blue-mid);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.7;
}

/* ======== SERVICE CARDS ======== */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--sky));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(27, 79, 138, 0.1), rgba(59, 130, 246, 0.1));
  color: var(--blue-mid);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.service-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.5rem; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-mid);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link i { transition: var(--transition); }
.service-link:hover i { transform: translateX(4px); }

/* ======== PILLAR CARDS ======== */
.pillar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(27, 79, 138, 0.05), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

.pillar-card:hover {
  background: linear-gradient(145deg, var(--blue), var(--blue-mid));
  color: white;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover h3, .pillar-card:hover .pillar-icon { color: white; }
.pillar-card:hover p { color: rgba(255,255,255,0.8); }

.pillar-icon {
  font-size: 2.5rem;
  color: var(--blue-mid);
  margin-bottom: 1rem;
  display: block;
}

.pillar-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.875rem; color: var(--gray); margin: 0; }

.pillar-card--cloud {
  background: linear-gradient(145deg, rgba(14,165,233,0.08), rgba(6,182,212,0.12));
  border-color: rgba(14,165,233,0.25);
}
.pillar-card--cloud .pillar-icon { color: #0ea5e9; }
.pillar-card--cloud:hover {
  background: linear-gradient(145deg, #0ea5e9, #0284c7);
}

/* ======== WHY CHOOSE US ======== */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.why-item h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--navy); }
.why-item p { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* ======== STAT CARDS (page À propos) ======== */
.stat-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.stat-card--dark {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
}
.stat-card--dark .stat-value { color: var(--sky); }
.stat-card--dark .stat-label { opacity: 0.85; }
.stat-card--light {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
}
.stat-card--light .stat-value { color: var(--blue-mid); }
.stat-card--light .stat-label { color: var(--gray); }
.stat-card--accent {
  background: linear-gradient(135deg, var(--blue-light), var(--sky));
  color: white;
}
.stat-card--accent .stat-label { opacity: 0.85; }
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.9rem; }

/* ======== PROFILE CARDS ======== */
.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.profile-card-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 2rem;
  text-align: center;
  position: relative;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  margin: 0 auto 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.profile-card-header h3 { color: white; font-size: 1.1rem; margin-bottom: 0.25rem; }
.profile-card-header p { color: var(--sky); font-size: 0.85rem; margin: 0; }

.profile-available {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 2px solid white;
}

.profile-body { padding: 1.5rem; }
.profile-category {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(37, 99, 196, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.profile-desc { font-size: 0.9rem; color: var(--gray); margin-bottom: 1rem; }

.profile-skills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag {
  padding: 0.2rem 0.6rem;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text);
}

/* ======== CONSULTANT CARDS ======== */

/* Color tokens per domain */
.consultant-card {
  --c-accent:  #2563C4;
  --c-dark:    #1B4F8A;
  --c-light:   rgba(37,99,196,0.09);
  --c-border:  rgba(37,99,196,0.22);
  --c-glow:    rgba(37,99,196,0.18);
}
.consultant-card[data-domain="reseau"]   { --c-accent:#1e5faa; --c-dark:#0d3d73; --c-light:rgba(30,95,170,0.09); --c-border:rgba(30,95,170,0.22); --c-glow:rgba(30,95,170,0.18); }
.consultant-card[data-domain="securite"] { --c-accent:#dc2626; --c-dark:#991b1b; --c-light:rgba(220,38,38,0.08); --c-border:rgba(220,38,38,0.22); --c-glow:rgba(220,38,38,0.18); }
.consultant-card[data-domain="data"]     { --c-accent:#7c3aed; --c-dark:#5b21b6; --c-light:rgba(124,58,237,0.08); --c-border:rgba(124,58,237,0.22); --c-glow:rgba(124,58,237,0.18); }
.consultant-card[data-domain="dev"]      { --c-accent:#059669; --c-dark:#065f46; --c-light:rgba(5,150,105,0.08); --c-border:rgba(5,150,105,0.22); --c-glow:rgba(5,150,105,0.18); }
.consultant-card[data-domain="cloud"]    { --c-accent:#0284c7; --c-dark:#0c4a6e; --c-light:rgba(2,132,199,0.08); --c-border:rgba(2,132,199,0.22); --c-glow:rgba(2,132,199,0.18); }

.consultant-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 12px rgba(11,37,69,0.07);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.consultant-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 50px var(--c-glow), 0 4px 16px rgba(11,37,69,0.08);
  border-color: var(--c-border);
}

/* ── Header with gradient ── */
.consultant-header {
  background: linear-gradient(145deg, var(--c-dark), var(--c-accent));
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.consultant-header::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.consultant-header::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.consultant-badge-available {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(52,211,153,0.6);
  color: #6ee7b7;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
}
.consultant-badge-available i { font-size: 0.38rem; }

.consultant-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.25);
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.consultant-card:hover .consultant-icon-wrap {
  background: rgba(255,255,255,0.25);
  transform: scale(1.08) rotate(-3deg);
}

.consultant-title {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.consultant-category-tag {
  display: inline-block;
  padding: 0.22rem 0.8rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

/* ── Body ── */
.consultant-body {
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Levels section */
.consultant-levels {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.consultant-levels-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.consultant-levels-label::before {
  content: '';
  display: inline-block;
  width: 12px; height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.consultant-levels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}
.level-badge i { font-size: 0.6rem; }
.level-badge--debutant { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
.level-badge--junior   { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }
.level-badge--confirme { background: #fefce8; border-color: #fde68a; color: #92400e; }
.level-badge--senior   { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.level-badge--expert   { background: #fdf4ff; border-color: #e9d5ff; color: #7e22ce; }

/* Description */
.consultant-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex: 1;
}

/* Skills */
.consultant-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.1rem;
}
.consultant-skills .skill-tag {
  background: var(--c-light);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  color: var(--c-accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
}

/* CTA */
.consultant-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--c-accent), var(--c-dark));
  color: white;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  margin-top: auto;
  letter-spacing: 0.02em;
}
.consultant-cta:hover {
  color: white;
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--c-glow);
}

/* ======== FILTER BUTTONS ======== */
.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: 1.5px solid var(--gray-light);
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}
.filter-btn:hover {
  border-color: var(--blue-light);
  color: var(--blue-mid);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  border-color: transparent;
  color: white;
}

/* ======== BLOG CARDS ======== */
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; font-size: 0.8rem; color: var(--gray); }
.blog-category-badge {
  padding: 0.15rem 0.6rem;
  background: rgba(37, 99, 196, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--blue-mid);
  font-weight: 600;
}

.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--blue-mid); }
.blog-card p { font-size: 0.9rem; color: var(--gray); }

/* ======== CTA SECTION ======== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-section h2 { color: white; }
.cta-section p { color: rgba(255,255,255,0.75); }

/* ======== CONTACT ======== */
.contact-info-card {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  height: 100%;
}

.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h5 { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.25rem; }
.contact-info-item p { color: white; font-size: 0.95rem; margin: 0; }

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-label { font-weight: 500; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--navy); }
.form-control, .form-select {
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ======== FOOTER ======== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--sky); }
.site-logo-footer {
  width: min(300px, 100%);
  height: auto;
  max-height: 78px;
  max-width: 100%;
  display: block;
  background: white;
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer-title {
  color: white;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--sky); }

.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; align-items: flex-start; }
.footer-contact-item i { color: var(--sky); margin-top: 0.1rem; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.9rem; }

.footer-divider { border-color: rgba(255,255,255,0.08); margin: 2rem 0 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.85rem; margin: 0; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--blue-light);
  color: white;
  transform: translateY(-2px);
}

/* ======== CHATBOT ======== */
.chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 99, 196, 0.5);
  transition: var(--transition);
  border: none;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 99, 196, 0.6);
}

.chatbot-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 360px;
  height: 500px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}

.chatbot-panel.open { display: flex; animation: slideUp 0.3s ease; }

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

.chatbot-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.chatbot-header-info h5 { color: white; font-size: 0.9rem; margin: 0; }
.chatbot-header-info p { color: rgba(255,255,255,0.6); font-size: 0.75rem; margin: 0; }

.chatbot-close {
  margin-left: auto;
  color: rgba(255,255,255,0.6);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg { max-width: 85%; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { background: var(--off-white); border: 1px solid var(--gray-light); align-self: flex-start; }
.chat-msg.user { background: linear-gradient(135deg, var(--blue-light), var(--blue-mid)); color: white; align-self: flex-end; }

.chatbot-input-area {
  padding: 1rem;
  border-top: 1px solid var(--gray-light);
  display: flex;
  gap: 0.5rem;
}

.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
}
.chatbot-input:focus { border-color: var(--blue-light); }

.chatbot-send {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  color: white;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.chatbot-send:hover { opacity: 0.9; transform: scale(1.05); }

/* ======== ANIMATIONS ======== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }

/* ======== MESSAGES ======== */
.messages-container { position: fixed; top: 80px; right: 1rem; z-index: 9999; width: 340px; }
.alert-af {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.alert-success-af { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-error-af { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ======== PAGE HEADER ======== */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 4rem 0;
  text-align: center;
}
.page-header h1 { color: white; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin: 0; }

/* ======== BREADCRUMB ======== */
.breadcrumb-af {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.breadcrumb-af a { color: var(--sky); }
.breadcrumb-af a:hover { color: white; }
.breadcrumb-af i { font-size: 0.7rem; }

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .hero { min-height: 70vh; padding: 3rem 0; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .chatbot-panel { width: calc(100vw - 2rem); right: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3rem 0; }
  .site-logo-navbar { width: min(210px, 55vw); max-height: 52px; }
  .site-logo-footer { width: min(230px, 75vw); max-height: 64px; }
}

/* ======== UTILITIES ======== */
.text-navy { color: var(--navy); }
.text-blue { color: var(--blue-mid); }
.text-sky { color: var(--sky); }
.text-accent { color: var(--accent); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }
.divider { height: 1px; background: var(--gray-light); margin: 0; }
.container-narrow { max-width: 720px; margin: 0 auto; }
