:root {
  --primary-navy: #2c3e50;
  --primary-yellow: #f4d03f;
  --bs-primary: #2c3e50;
  --bs-warning: #f4d03f;
  --primary-orange: #f5853d;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-navy);
}
.navbar-custom {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-nav .nav-link {
  color: var(--primary-navy) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--primary-yellow) !important;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.hero-section {
  background: linear-gradient(
    135deg,
    rgba(244, 208, 63, 0.08) 0%,
    rgba(255, 248, 220, 0.15) 50%,
    rgba(244, 208, 63, 0.05) 100%
  );
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(244, 208, 63, 0.08) 0%,
    transparent 70%
  );
  animation: float 25s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
      circle,
      rgba(244, 208, 63, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(44, 62, 80, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(244, 208, 63, 0.05) 0%,
      transparent 50%
    );
  animation: float 30s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 155px;
}

/* Titre principal modernisé */
.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
  margin-bottom: 2rem;
}

.hero-content h1 .textPush {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #34495e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--primary-orange) !important; /* Ensure orange text */
  background-clip: text;
  color: transparent; /* Make the background transparent */
  padding: 0 5px; /* Add padding for better appearance */
  border-radius: 3px; /* Optional: Add rounded corners */
}

/* Sous-titre modernisé */
.hero-content .lead {
  font-size: 1.4rem;
  font-weight: 500;
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards credentials modernisées */
.credential-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.credential-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-navy),
    var(--primary-yellow)
  );
}

.credential-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.credential-card .card-body {
  padding: 1.2rem 1rem;
}

.credential-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #34495e 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.2);
  position: relative;
  overflow: hidden;
}

.credential-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.credential-card:hover .credential-icon::before {
  left: 100%;
}

/* Texte dans les cards */
.credential-card .fw-bold {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.1rem;
}

.credential-card .text-muted {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6c757d;
}

/* Bouton CTA modernisé */
.btn-custom-primary.btn-lg {
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #34495e 100%);
  border: none;
  color: white;
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-custom-primary.btn-lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 208, 63, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-custom-primary.btn-lg:hover::before {
  left: 100%;
}

.btn-custom-primary.btn-lg:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 25px 50px rgba(44, 62, 80, 0.3);
  background: linear-gradient(135deg, #1a252f 0%, var(--primary-navy) 100%);
}

/* Bouton CTA Jaune modernisé */
.btn-custom-yellow.btn-lg {
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #f1c40f 100%);
  border: none;
  color: var(--primary-navy);
  box-shadow: 0 15px 35px rgba(244, 208, 63, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-custom-yellow.btn-lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(44, 62, 80, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-custom-yellow.btn-lg:hover::before {
  left: 100%;
}

.btn-custom-yellow.btn-lg:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 25px 50px rgba(244, 208, 63, 0.3);
  background: linear-gradient(135deg, #f39c12 0%, var(--primary-yellow) 100%);
  color: var(--primary-navy);
}

/* Version normale des boutons custom */
.btn-custom-primary {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #34495e 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-custom-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
  background: linear-gradient(135deg, #1a252f 0%, var(--primary-navy) 100%);
  color: white;
}

.btn-custom-yellow {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #f1c40f 100%);
  border: none;
  color: var(--primary-navy);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-custom-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 208, 63, 0.2);
  background: linear-gradient(135deg, #f39c12 0%, var(--primary-yellow) 100%);
  color: var(--primary-navy);
}

/* Animations améliorées */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-20px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(-10px) rotate(240deg) scale(0.9);
  }
}


/* Effet de profondeur sur les cards */
.credential-card:nth-child(1) {
  animation: floatCard1 6s ease-in-out infinite;
}

.credential-card:nth-child(2) {
  animation: floatCard2 7s ease-in-out infinite;
}

.credential-card:nth-child(3) {
  animation: floatCard3 8s ease-in-out infinite;
}

@keyframes floatCard1 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatCard2 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatCard3 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Responsive amélioré */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 150px;
    padding-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-content .lead {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }

  .credential-card .card-body {
    padding: 1rem 0.8rem;
  }

  .credential-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 0.6rem;
  }

  .btn-custom-primary.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
  }
}


/* Section titles */
.section-title {
  color: var(--primary-navy);
  position: relative;
  margin-bottom: 3rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-yellow);
  border-radius: 2px;
}

/* Section title on navy background */
.bg-navy .section-title {
  color: white;
}

.bg-navy .section-title::after {
  background: var(--primary-yellow);
}

/* Diagramme 360 */
.diagram-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.circle-diagram {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 3px solid var(--primary-navy);
  background: white;
  margin: 2rem auto;
}

.title-arc {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-navy);
  text-align: center;
  width: 100%;
}

.subtitle-arc {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  width: 90%;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
}

.quadrant {
  position: absolute;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.quadrant-title {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--primary-navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

.quadrant-text {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.3;
}

.quadrant-1 {
  top: 20px;
  right: 20px;
}
.quadrant-2 {
  bottom: 20px;
  right: 20px;
}
.quadrant-3 {
  bottom: 20px;
  left: 20px;
}
.quadrant-4 {
  top: 20px;
  left: 20px;
}

.separator {
  position: absolute;
  background-color: var(--primary-navy);
}

.separator-horizontal {
  width: 60%;
  height: 1px;
  top: 50%;
  left: 20%;
}

.separator-vertical {
  width: 1px;
  height: 60%;
  left: 50%;
  top: 20%;
}

.separator-diagonal-1 {
  width: 1px;
  height: 42%;
  left: 71%;
  top: 8%;
  transform: rotate(45deg);
}

.separator-diagonal-2 {
  width: 1px;
  height: 42%;
  left: 28%;
  top: 8%;
  transform: rotate(-45deg);
}

/* Sections colorées */
.bg-navy {
  background: var(--primary-navy) !important;
  color: white;
}

.bg-light-yellow {
  background: rgba(244, 208, 63, 0.1);
}

/* Cards */
.result-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.result-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-yellow);
}

.expertise-card {
  border-left: 4px solid var(--primary-navy);
  transition: all 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer-custom {
  background: var(--primary-navy);
  color: white;
}

.footer-custom h5 {
  color: var(--primary-yellow);
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-custom a:hover {
  color: var(--primary-yellow);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-yellow);
  color: var(--primary-navy);
  transform: translateY(-5px);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.pt-200 {
    padding-top: 200px !important;
}

/* Responsive */
@media (max-width: 768px) {
  /* Logo plus petit sur mobile */
  .navbar-brand img {
    width: 200px !important;
  }

  .circle-diagram {
    width: 350px;
    height: 350px;
  }

  .quadrant {
    width: 140px;
    height: 140px;
    padding: 15px;
  }

  .quadrant-title {
    font-size: 0.75rem;
  }

  .quadrant-text {
    font-size: 0.65rem;
  }

  .center-circle {
    width: 100px;
    height: 100px;
    font-size: 0.7rem;
  }
  .pt-200 {
    padding-top: 150px !important;
}
}



