/* Rwanda pattern overlay */
.rwanda-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/templates/basic/images/imigongo-pattern.svg");
  opacity: 0.03;
  z-index: 0;
}

.imigongo-pattern-side {
  position: absolute;
  top: 0;
  width: 300px;
  height: 100%;
  background: url("/assets/templates/basic/images/imigongo-pattern.svg") repeat;
  opacity: 0.04;
  z-index: 0;
}

.imigongo-pattern-side.right {
  right: 0;
}

.imigongo-pattern-side.animated {
  animation: pattern-flow 120s linear infinite;
}

@keyframes pattern-flow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Floating Shapes Animation for News Section */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.floating-shapes::before,
.floating-shapes::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.1);
  z-index: -1;
}

.floating-shapes::before {
  top: -100px;
  right: 10%;
  animation: float-1 15s infinite ease-in-out;
}

.floating-shapes::after {
  bottom: -150px;
  left: 5%;
  width: 250px;
  height: 250px;
  animation: float-2 18s infinite ease-in-out;
}

@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(50px) scale(1.2) rotate(180deg);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  50% {
    transform: translateY(-70px) scale(1.1) rotate(-180deg);
  }
}

/* Magical Glass Effect */
.magical-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.imigongo-modern {
  position: relative;
  overflow: hidden;
  width: fit-content;
}

.imigongo-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    #3498db,
    #2980b9,
    #1a5276,
    #2980b9,
    #3498db
  );
}

/* RPL Section Header */
.rpl-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.rpl-section-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.rpl-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.rpl-section-divider {
  height: 3px;
  width: 100px;
  background: linear-gradient(
    to right,
    #2980b9 0%,
    rgba(41, 128, 185, 0.3) 100%
  );
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
