.ministre-page { background: #fff; color: #212529; }
.ministre-page .bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0;
}
.ministre-page .ministre-banner { position: relative; z-index: 3; max-width: 900px; }
.ministre-page .bg-breadcrumb-single {
  position: absolute;
  width: 500px;
  height: 1200px;
  top: 0;
  left: -240px;
  margin-left: 30px;
  transform: rotate(-30deg);
  background: red;
  animation: RotateMoveLeft 5s linear infinite;
  opacity: 0.7;
  z-index: 2;
}
.ministre-page .bg-breadcrumb::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
  border-radius: 200px;
  border: 80px solid rgba(68, 210, 246, 0.2);
  animation: RotateMoveCircle 10s linear infinite;
  background: transparent;
  z-index: 2;
}
.ministre-page .bg-breadcrumb::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1200px;
  top: -150px;
  left: 0;
  margin-left: 160px;
  transform: rotate(-30deg);
  background: rgba(68, 210, 246, 0.2);
  animation: RotateMoveRight 5s linear infinite;
  z-index: 2;
}
@keyframes RotateMoveLeft {
  0% { left: -240px; }
  50% { left: -300px; }
  100% { left: -240px; }
}
@keyframes RotateMoveRight {
  0% { left: 0; }
  50% { left: 70px; }
  100% { left: 0; }
}
@keyframes RotateMoveCircle {
  0% { top: -200px; }
  50% { right: -100px; }
  75% { top: -100px; }
  100% { top: -200px; }
}
.ministre-page .breadcrumb { background: transparent; }
.ministre-page .breadcrumb-item a { color: #fff; text-decoration: none; }
.ministre-page .breadcrumb-item.active { color: #db3832; }
.ministre-page .image-card {
  text-align: center;
  margin: 20px auto;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.ministre-page .image-card img { width: 100%; height: auto; display: block; }
.ministre-page .image-card .title {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 16px 5px;
}
.ministre-page .image-card .subtitle {
  font-size: 14px;
  color: #17418a;
  margin: 0 16px 10px;
}
.ministre-page .image-card .contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: calc(100% - 32px);
  gap: 8px;
  margin: 0 auto 14px;
  font-size: 13px;
  text-align: left;
}
.ministre-page .image-card .contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: #17418a;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ministre-page .image-card .contacts i { flex: 0 0 1em; text-align: center; }
.ministre-page .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.ministre-page .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
}
.ministre-page .social-icon:hover { background: #0077b5; color: #fff; }
.ministre-page .text-container {
  text-align: justify;
  margin: 0 auto 3rem;
  max-width: 1000px;
  line-height: 1.6;
  padding: 0 1rem;
}
.ministre-page .text-container ul { padding-left: 1.2rem; }
.ministre-page .text-container h3 { text-align: center; margin-bottom: 20px; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: none; }
}
.ministre-page .wow { visibility: hidden; }
.ministre-page .wow.animated {
  visibility: visible;
  animation-duration: 1s;
  animation-fill-mode: both;
}
.ministre-page .wow.animated.fadeInDown { animation-name: fadeInDown; }
@media (prefers-reduced-motion: reduce) {
  .ministre-page .bg-breadcrumb-single,
  .ministre-page .bg-breadcrumb::before,
  .ministre-page .bg-breadcrumb::after,
  .ministre-page .wow.animated { animation: none; }
  .ministre-page .wow { visibility: visible; }
}
