.navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 0 30px;
    z-index: 100;
}

.navbar img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
}

.navbar span {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #29a3ff;
}

.content {
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: fixed;
  z-index: 5;
}

h1, h2 {
  color: #29a3ff;
}

.nav-links {
  margin-left: 12px;
  display: flex;
  gap: 50px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #29a3ff;
  color: #fff;
}

.nav-home-btn i {
  margin-right: 5px;
}

body {

  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ddd;
  margin: 0;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* === MINDMAP CONTAINER === */
#mindmap-container {
    position: relative;
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: -10;

  background: radial-gradient(circle at 20% 40%, rgba(0, 74, 173, 0.5), transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(0, 132, 255, 0.6), transparent 70%),
              radial-gradient(circle at 50% 50%, rgba(255, 69, 100, 0.4), transparent 80%),
              radial-gradient(circle at 10% 90%, rgba(255, 165, 0, 0.3), transparent 90%);
  
  background-size: 500% 500%;
  animation: softFlow 60s ease-in-out infinite, lightPulse 10s ease-in-out infinite, floatShapes 15s ease-in-out infinite;
}


/* === BUTTONS === */
.button {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 20% 40%, rgba(0, 74, 173, 0.5), transparent 60%),
                radial-gradient(circle at 80% 60%, rgba(0, 132, 255, 0.6), transparent 70%),
                radial-gradient(circle at 50% 50%, rgba(255, 69, 100, 0.4), transparent 80%),
                radial-gradient(circle at 10% 90%, rgba(255, 165, 0, 0.3), transparent 90%);
    color: white;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: softFlow 10s ease-in-out infinite;
    text-align: center;
    padding: 5px;
    word-break: break-word;
}

/* === CENTER BUTTON === */
.button.center {
    background: radial-gradient(circle at 20% 40%, rgba(0, 74, 173, 0.5), transparent 60%),
                radial-gradient(circle at 80% 60%, rgba(0, 132, 255, 0.6), transparent 70%),
                radial-gradient(circle at 50% 50%, rgba(255, 69, 100, 0.4), transparent 80%),
                radial-gradient(circle at 10% 90%, rgba(255, 165, 0, 0.3), transparent 90%);
    width: 80px;
    background-size: cover;
    animation: softFlow 10s ease-in-out infinite;
    height: 80px;
    font-size: 20px;
    box-shadow: radial-gradient(circle at 20% 40%, rgba(0, 74, 173, 0.5), transparent 70%),
                radial-gradient(circle at 80% 60%, rgba(0, 132, 255, 0.6), transparent 60%),
                radial-gradient(circle at 50% 50%, rgba(255, 69, 100, 0.4), transparent 90%),
                radial-gradient(circle at 10% 90%, rgba(255, 165, 0, 0.3), transparent 80%);
}

/* === FONTAWESOME ICONS CLEANUP === */
.fas {
    background: none !important;
    border: none !important;
    color: inherit;
}
@keyframes softFlow {
  0%   { background-position: 0% 0%; filter: brightness(1); }
  25%  { background-position: 50% 30%; filter: brightness(1.05); }
  50%  { background-position: 100% 60%; filter: brightness(1.1); }
  75%  { background-position: 150% 30%; filter: brightness(1.05); }
  100% { background-position: 200% 0%; filter: brightness(1); }
}

@keyframes floatShapes {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  50%  { transform: translateY(-15px) scale(1.1); opacity: 0.25; }
  100% { transform: translateY(0) scale(1); opacity: 0.15; }
}

@keyframes lightPulse {
  0%   { opacity: 0.05; transform: scale(1); }
  50%  { opacity: 0.15; transform: scale(1.2); }
  100% { opacity: 0.05; transform: scale(1); }
}