/* Magical Effects C.glow-text-subtle {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transition: text-shadow 0.3s ease;
}

.glow-text-subtle:hover {
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* ===== Magical Background Effects ===== */
.magical-gradient-bg {
  background: linear-gradient(135deg, #0d2c40, #1a5276);
  position: relative;
  overflow: hidden;
}

.magical-deep-bg {
  background: linear-gradient(to bottom, #0d2c40, #05141e);
  position: relative;
  overflow: hidden;
}

.hero-glow-effect {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 152, 219, 0.2) 0%,
    rgba(52, 152, 219, 0) 70%
  );
  filter: blur(50px);
  z-index: 1;
  animation: glow-pulse 8s infinite alternate;
}
ports Website - Rwandan Theme */

/* 
 * Rwanda-inspired color palette:
 * Primary Blue: #3498db (slightly brighter blue)
 * Dark Blue: #1a5276 (darker version of primary blue)
 * Deep Blue: #0d2c40 (very dark blue for backgrounds)
 * Accent Green: #00a651 (Rwanda flag green)
 * Accent Yellow: #fdd216 (Rwanda flag yellow)
 * Text Light: #f8f9fa (light text)
 */

/* ===== Glowing Text Effects ===== */
.glow-text {
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5),
    0 0 20px rgba(52, 152, 219, 0.3);
  transition: text-shadow 0.3s ease;
}

.glow-text:hover {
  text-shadow: 0 0 15px rgba(52, 152, 219, 0.7),
    0 0 30px rgba(52, 152, 219, 0.5);
}
.glow-text-subtle {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  transition: text-shadow 0.3s ease;
}

.glow-text-subtle:hover {
  text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

/* ===== Magical Background Effects ===== */
.magical-gradient-bg {
  background: linear-gradient(135deg, #0d2c40, #1a5276);
  position: relative;
  overflow: hidden;
}

.magical-deep-bg {
  background: linear-gradient(to bottom, #0d2c40, #05141e);
  position: relative;
  overflow: hidden;
}

.hero-glow-effect {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(52, 152, 219, 0.2) 0%,
    rgba(52, 152, 219, 0) 70%
  );
  filter: blur(50px);
  z-index: 1;
  animation: glow-pulse 8s infinite alternate;
}

@keyframes glow-pulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.floating-shapes::before,
.floating-shapes::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.05);
  top: 10%;
  animation: float 15s infinite linear;
}

.floating-shapes::before {
  left: 15%;
  animation-delay: 0s;
  background: rgba(0, 166, 81, 0.08); /* Rwanda green */
}

.floating-shapes::after {
  right: 15%;
  width: 60px;
  height: 60px;
  animation-delay: 7s;
  background: rgba(253, 210, 22, 0.08); /* Rwanda yellow */
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(100px) rotate(180deg);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0) rotate(360deg);
    opacity: 0.5;
  }
}

/* ===== Magical Cards & Elements ===== */
.magical-glass {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.magical-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.magical-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(52, 152, 219, 0.2);
}

.magical-card-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.magical-card-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(52, 152, 219, 0.1);
}

.magical-list > div {
  transition: transform 0.3s ease;
}

.magical-list > div:hover {
  transform: translateX(5px);
}

.magical-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.magical-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(52, 152, 219, 0.2);
  z-index: -1;
  transition: width 0.3s ease;
}

.magical-button:hover::before {
  width: 100%;
}

.magical-button:hover {
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}

/* ===== Pulse & Animation Effects ===== */
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #3498db;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
  }
}

.pulse-element {
  animation: pulse-subtle 3s infinite;
}

@keyframes pulse-subtle {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.pulse-icon {
  animation: pulse-icon 2s infinite;
  color: #3498db;
}

@keyframes pulse-icon {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

.ticker-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, #3498db, transparent);
  z-index: 2;
  animation: line-glow 3s infinite;
}

@keyframes line-glow {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

.magical-reveal {
  animation: reveal 1s ease forwards;
  opacity: 0;
}

@keyframes reveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(header) {
  /* animation: shimmer 3s infinite; */
}

@keyframes shimmer {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.3;
  }
}

/* ===== Image Effects ===== */
.hover-zoom {
  transition: transform 0.5s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

/* ===== Ticker Enhancements ===== */
.ticker-icon {
  margin-right: 5px;
  color: #3498db;
}

/* ===== Imigongo Pattern Enhancements ===== */
.imigongo-pattern-overlay.animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(52,152,219,0.05)" stroke-width="1"/><path d="M50,0 L50,100 M0,50 L100,50" stroke="rgba(52,152,219,0.05)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(52,152,219,0.05)" stroke-width="0.5"/></svg>');
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
  animation: pattern-shift 30s infinite linear;
}

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

.imigongo-divider.animated {
  position: relative;
  height: 4px;
  width: 60px;
  background: linear-gradient(to right, #3498db, transparent);
  margin: 15px 0;
  overflow: hidden;
}

.imigongo-divider.animated::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shimmer-line 3s infinite;
}

@keyframes shimmer-line {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== Loading Effects ===== */
.loading-bar {
  height: 3px;
  width: 0;
  background: linear-gradient(to right, #3498db, #1a5276);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 65%;
  }
  100% {
    width: 100%;
  }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-glow-effect {
    width: 200px;
    height: 200px;
  }

  .magical-card:hover {
    transform: translateY(-3px);
  }
}

/* ===== Rwanda-Inspired Elements ===== */
.rwanda-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      45deg,
      rgba(0, 166, 81, 0.05) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(0, 166, 81, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 166, 81, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 166, 81, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.rwanda-accent {
  background: linear-gradient(to right, #00a651, #fdd216, #3498db);
  height: 3px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rwanda-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer-line 3s infinite;
}

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

.imigongo-modern::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 166, 81, 0.05),
    rgba(0, 166, 81, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 20px
  );
  opacity: 0.3;
  z-index: -1;
}

/* ===== Rwanda-Inspired Visual Elements ===== */
.rwanda-flag-accent {
  background: linear-gradient(
    to right,
    #00a651 33.33%,
    #fdd216 33.33%,
    #fdd216 66.66%,
    #3498db 66.66%
  );
  height: 4px;
  width: 100%;
  position: relative;
}

.rwanda-radial-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(253, 210, 22, 0.05) 0%,
    rgba(0, 166, 81, 0.05) 50%,
    rgba(52, 152, 219, 0.05) 100%
  );
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.rwanda-accent-border {
  border-left: 3px solid #00a651;
  border-right: 3px solid #fdd216;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
}

/* Traditional basket weaving pattern inspired element */
.agaseke-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      45deg,
      rgba(0, 166, 81, 0.03) 0px,
      rgba(0, 166, 81, 0.03) 2px,
      transparent 2px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(253, 210, 22, 0.03) 0px,
      rgba(253, 210, 22, 0.03) 2px,
      transparent 2px,
      transparent 10px
    );
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Rwandan sun motif */
.sun-motif {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(253, 210, 22, 0.1) 0%,
    rgba(253, 210, 22, 0) 70%
  );
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: glow-subtle 8s infinite alternate;
}

@keyframes glow-subtle {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}
.rwanda-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      45deg,
      rgba(0, 166, 81, 0.05) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(0, 166, 81, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 166, 81, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 166, 81, 0.05) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.rwanda-accent {
  background: linear-gradient(to right, #00a651, #fdd216, #3498db);
  height: 3px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.rwanda-accent::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer-line 3s infinite;
}

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

.imigongo-modern::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 166, 81, 0.05),
    rgba(0, 166, 81, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 10px,
    rgba(52, 152, 219, 0.05) 20px
  );
  opacity: 0.3;
  z-index: -1;
}
