/* ===== CTA BAR BELOW NAVIGATION – TANZANIA FLAG & SOCIAL + BUTTON ===== */
.member-cta-bar {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0.9rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);

  /* Tanzania flag (diagonal): green, yellow, black, blue */
  --flag-offset-x: 0px;
  background-image: linear-gradient(
    135deg,
    #0e75c2 0%,
    #0e75c2 44%,
    #0e75c2 44%,
    #0e75c2 47%,
    #0e75c2 47%,
    #0e75c2 53%,
    #0e75c2 53%,
    #0e75c2 56%,
    #0e75c2 56%,
    #0e75c2 100%
  );
  background-size: 160% 160%;
  background-position: var(--flag-offset-x) 50%;
}

/* subtle "cloth shine" moving over the flag */
.member-cta-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 50%,
    rgba(255, 255, 255, 0.25),
    transparent 55%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
  animation: clothShimmer 6s ease-in-out infinite alternate;
}

@keyframes clothShimmer {
  0% {
    transform: translateX(-10%) translateY(-2%);
  }
  50% {
    transform: translateX(15%) translateY(3%);
  }
  100% {
    transform: translateX(5%) translateY(-3%);
  }
}

.cta-inner {
  position: relative;
  z-index: 1; /* above flag */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* Social icons on the left */
.cta-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

/* Social container */
.cta-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.connect-text {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center; /* vertical alignment with icons */
  margin-right: 0.35rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.35);
  white-space: nowrap; /* keeps text in one line */
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-size: 0.95rem;
}

.social-circle:hover {
  background: #ffffff;
  color: #0a9446;
  border-color: #0a9446;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* network-specific hover hints */
.social-circle.facebook:hover {
  color: #0e75c2;
}
.social-circle.twitter:hover {
  color: #000000;
}
.social-circle.linkedin:hover {
  color: #0e75c2;
}

/* The Member Button */
.cta-button {
  background: #ffffff;
  color: #0e75c2;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta-button:hover {
  background: #0e75c2;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

/* Responsive layout */
@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-social {
    justify-content: center;
  }

  .social-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.02rem;
  }
  /* Become a member & Social Media Control  */
  @media (max-width: 768px) {

  /* Keep layout centered */
  .cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  /* Text stays above icons */
  .connect-text {
    display: block;
    margin: 0 auto;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  /* Icons stay aligned horizontally */
  .cta-social {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
  }

  /* Smaller icons on mobile */
  .social-circle {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  /* Smaller button directly below icons */
  .cta-button {
    margin-top: 0.4rem;
    width: 80%;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 40px;
  }
}


}
