/* General Styles */
body {
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  background-color: #121212;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../images/truthlanobanner.png") center/cover no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom: 3px solid #aa5cf1; /* Purple divider line */
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1;
}

.hero-section h1 {
  font-size: 3rem;
  margin: 0;
  color: #aa5cf1;
  z-index: 2;
}

.hero-section p {
  font-size: 1.5rem;
  margin: 15px 0;
  color: #ffffff;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.5rem; /* Keep it large for emphasis */
  background: linear-gradient(
    45deg,
    #1bd1a9,
    #aa5cf1
  ); /* Gradient text effect */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Text gradient */
  text-shadow: 0px 0px 15px rgba(171, 92, 241, 0.8); /* Glow effect */
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    45deg,
    #1bd1a9,
    #aa5cf1
  ); /* Gradient border */
  padding: 10px 25px;
  border-radius: 12px; /* Smoothed corners */
  background: transparent;
  margin-top: 20px;
  display: inline-block;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3); /* Recessed effect */
}

/* Social Links Section */
.social-links-section {
  background: linear-gradient(180deg, #121212 0%, #202020 100%) !important;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  border-bottom: 2px solid #aa5cf1; /* A purple divider line */
}

:root {
  --hero-height: 720px; /* Adjust this to the actual height of the hero-section */
}

.social-links-section::after {
  content: none; /* Remove the line */
}

.about-section h2::after,
.events-section h2::after {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #aa5cf1, #1bd1a9); /* Gradient line */
  margin: 10px 0 0 0; /* Adjust spacing */
  width: 50%; /* Adjust width if needed */
  border-radius: 10px;
  position: relative;
  left: 0; /* Ensure alignment starts from the text */
  transform: translateX(0); /* Remove offset issues */
}

.event-list a {
  color: #5dc7f8; /* Adjust to match your theme */
  text-decoration: none;
}

.event-list a:hover {
  text-decoration: underline;
}

.social-links-section p {
  font-size: 1.2rem;
  background: linear-gradient(45deg, #1bd1a9 50%, #9c27b0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for better legibility */
  margin-bottom: 20px;
}

.social-links-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #9c27b0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none; /* Remove underline */
}

.social-links a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

.social-card {
  background: linear-gradient(135deg, #1bd1a9, #aa5cf1);
  width: 110px; /* Slightly larger */
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* For border and glow effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Gradient Border Effect */
.social-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #aa5cf1, #1bd1a9);
  z-index: -1;
  opacity: 1; /* Set opacity for smooth transition */
  transition: opacity 0.3s ease-in-out; /* Smooth opacity change */
}

.social-card:hover {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(170, 92, 241, 0.8);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.social-card:hover i,
.social-card:hover p {
  color: #ffffff;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.9); /* Glow effect on hover */
}

.social-card:hover:before {
  opacity: 0.8; /* Change opacity smoothly */
}

/* Subtle Text Color Shift on Hover */
.social-card:hover p {
  color: #fff;
  transition: color 0.3s ease-in-out;
}

.social-card i {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 5px;
}

.social-card p {
  font-size: 1rem;
  color: #ffffff; /* Ensure white text stands out */
  margin: 0;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.social-card i,
.social-card p {
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5); /* Reduce shadow intensity */
  font-weight: 700; /* Increase font weight */
  color: #ffffff; /* Ensure strong contrast */
}

/* Navbar */
.custom-navbar {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.9);
  border-top: 2px solid #aa5cf1;
  display: flex;
  justify-content: center;
  /* gap: 30px; */
  padding: 10px 20px;
  z-index: 10;
}

.custom-navbar .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.custom-navbar .nav-link:hover {
  color: #1bd1a9;
  transform: translateY(-2px);
}

.custom-navbar .nav-link.active {
  color: #aa5cf1;
  font-weight: bold;
  text-decoration: underline;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(45deg, #aa5cf1, #1bd1a9);
  border: none;
  color: #ffffff !important;
}

.custom-tab {
  background: transparent;
  border: none;
  transition: all 0.3s ease-in-out;
}
.custom-tab:hover {
  color: #1bd1a9;
}

/* Subscribe Form */
.subscribe {
  margin-top: 30px;
  padding: 15px;
  border-radius: 8px; /* Rounded corners */
}

.subscribe p {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.subscribe form {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.subscribe input {
  padding: 10px;
  border: 2px solid #aa5cf1;
  border-radius: 5px;
  font-size: 1rem;
  color: #000;
}

.subscribe button {
  padding: 10px 20px;
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  color: #000;  /* Ensure strong contrast */
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold; /* Make the text stand out */
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.subscribe button:hover {
transform: scale(1.1);
box-shadow: 0px 4px 15px rgba(171, 92, 241, 0.8); /* Add a hover glow */
}

/* About and Events Section */
.about-events-section {
  padding: 40px 20px;
  background: #1e1e1e;
  color: #ffffff;
}

.about-section h2,
.events-section h2 {
  font-size: 2rem;
  color: #9c27b0;
  margin-bottom: 20px;
}

.about-section p,
.events-section ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.events-section ul {
  list-style: none;
  padding: 0;
}

.events-section a {
  position: relative;
  text-decoration: none;
  color: #1bd1a9;
}

.events-section a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #aa5cf1;
  left: 0;
  bottom: -2px;
  transition: width 0.3s;
}

.events-section a:hover:after {
  width: 100%;
}

.events-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.events-section li strong {
  color: #1bd1a9;
  font-weight: bold;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #111, #292929);
  text-align: center;
  padding: 20px;
  color: #aaa;
}

footer p {
  font-size: 0.9rem;
  margin: 0;
}

footer a {
  color: #aa5cf1;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Back-to-Top Link */
.back-to-top {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #9c27b0;
  cursor: pointer;
}

.back-to-top:hover {
  color: #aa5cf1;
}

.bg-gradient-purple {
  background: linear-gradient(90deg, #1bd1a9, #aa5cf1);
  color: #ffffff;
}
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  color: #ffffff;
  padding: 12px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: inline-block;
}
.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(170, 92, 241, 0.8);
}

.form-control {
  background-color: #1e1e1e;
  color: #ffffff;
  border: 1px solid #aa5cf1;
  border-radius: 5px;
}
.form-control:focus {
  border-color: #1bd1a9;
  box-shadow: 0 0 5px rgba(27, 209, 169, 0.8);
}

.table {
  background-color: #1e1e1e;
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}
.table thead {
  background: linear-gradient(45deg, #aa5cf1, #1bd1a9);
  color: #ffffff;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #121212;
}

/* Adjust table headers to align with gradients */
.table-dark thead th {
  background: linear-gradient(45deg, #aa5cf1, #1bd1a9);
  color: #ffffff;
  border: none;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Make sure it stays on top */
}

/* Spinner animation */
#spinner {
  width: 150px; /* Adjust the size */
  height: 150px; /* Adjust the size */
  animation: spin 2s linear infinite, pulse 1.5s ease-in-out infinite; /* Spin and pulse animations */
}

.gradient-text {
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 0px 15px rgba(171, 92, 241, 0.8);
}


/* Spin animation */
@keyframes spin {
  0% {
    transform: rotate(0deg); /* Start rotating */
  }
  100% {
    transform: rotate(360deg); /* Complete one full rotation */
  }
}

/* Throbbing (pulsing) effect */
@keyframes pulse {
  0% {
    transform: scale(1); /* Normal size */
  }
  25% {
    transform: scale(1.1); /* Slightly larger */
  }
  50% {
    transform: scale(1); /* Back to normal size */
  }
  75% {
    transform: scale(1.1); /* Slightly larger again */
  }
  100% {
    transform: scale(1); /* Back to normal size */
  }
}

@keyframes glow-bg {
  from {
      background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
  }
  to {
      background: linear-gradient(180deg, #1e1e1e 0%, #292929 100%);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Community Section */
.community-section {
padding: 60px 20px;
background: linear-gradient(180deg, #1e1e1e 0%, #292929 100%);
color: #fff;
text-align: left;
}

.community-section h2 {
font-size: 2.5rem;
color: #aa5cf1;
margin-bottom: 20px;
}

.community-section h2::after {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #aa5cf1, #1bd1a9); /* Gradient line */
  margin: 10px 0 0 0; /* Adjust spacing */
  width: 70%; /* Adjust width if needed */
  border-radius: 10px;
  position: relative;
  left: 0; /* Ensure alignment starts from the text */
  transform: translateX(0); /* Remove offset issues */
}

.community-section p {
font-size: 1.2rem;
margin-bottom: 20px;
}

.community-section .cta-button {
padding: 10px 30px;
font-size: 1.1rem;
}

.community-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.community-benefits li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.community-benefits li::before {
  content: "🎵";
  font-size: 1.5rem;
  color: #1bd1a9;
}

.community-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}


/* Twitter Feed Section */
.twitter-feed-section {
  padding: 60px 20px 60px; /* Consolidated padding */
  background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
  text-align: center;
  color: #ffffff;
  border-top: 2px solid #aa5cf1;
}

.twitter-timeline {
  width: 100% !important;
  height: auto !important; /* Allow height to adjust dynamically */
}

.twitter-feed-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 0px 10px rgba(171, 92, 241, 0.8);
}

.twitter-feed-section h2::after {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #aa5cf1, #1bd1a9); /* Gradient line */
  margin: 10px 0 0 0; /* Adjust spacing */
  width: 100%; /* Adjust width if needed */
  border-radius: 10px;
  position: relative;
  left: 0; /* Ensure alignment starts from the text */
  transform: translateX(0); /* Remove offset issues */
}

.twitter-feed-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.twitter-feed-section .twitter-feed-card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin: 20px auto 30px; /* Adjusted spacing */
  max-width: 600px;
}

/* Buttons (Shared Styles) */
.twitter-feed-section .cta-button,
.twitter-feed-section .twitter-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.twitter-feed-section .cta-button:hover,
.twitter-feed-section .twitter-button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #aa5cf1, #1bd1a9);
  box-shadow: 0 8px 15px rgba(171, 92, 241, 0.8);
  color: #ffffff;
}


/* Subscribe Benefits */
.subscribe-benefits {
margin-top: 15px;
list-style: none;
padding: 0;
color: #ffffff !important; /* Brighter text for better contrast */
font-size: 1rem; /* Slightly larger text for readability */
}

.subscribe-benefits li {
margin-bottom: 10px;
display: flex;
align-items: center; 
gap: 10px; /* Add spacing between icon and text */
color: #fff !important;
}

.subscribe-benefits li::before {
content: "🎵"; /* Replace this with relevant icons for each point */
font-size: 1.2rem;
color: #aa5cf1; /* Highlight the icon color */
}

.card {
  background-color: #1e1e1e;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  width: 100%;
}
.card-header {
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  color: #ffffff;
  font-weight: bold;
}
.card-body {
  color: #ffffff;
}

.card h5 {
  font-weight: 600;
  font-size: 1.25rem;
}

.card h1 {
  font-size: 3rem;
  font-weight: bold;
}

canvas {
  height: 350px !important;
}

.btn-purple {
  background: linear-gradient(45deg, #aa5cf1, #1bd1a9);
  color: #ffffff;
  border: none;
  transition: all 0.3s ease-in-out;
}
.btn-purple:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(171, 92, 241, 0.8);
}

#analytics-tab .card {
  background: linear-gradient(45deg, #1bd1a9, #aa5cf1);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.analytics-card {
  border-radius: 15px;
  border: none;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #343a40, #212529);
}


@keyframes footerGlow {
  from {
      background: linear-gradient(180deg, #111, #292929);
  }
  to {
      background: linear-gradient(180deg, #1e1e1e, #393939);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  #countdown {
    font-size: 1rem;
    padding: 5px 15px;
  }

  .social-links {
    flex-direction: column;
    gap: 15px;
  }

  .social-card {
    width: 90px;
    height: 90px;
  }

  .about-section, .events-section {
    text-align: center;
  }

  .about-events-section .row {
    flex-direction: column;
  }

  .custom-navbar .nav-link {
    font-size: 0.9rem;
  }

  .subscribe form {
    flex-direction: column;
  }

  .subscribe input {
    width: 100%;
    margin-bottom: 10px;
  }

  .subscribe button {
    width: 100%;
  }

  .community-section h2 {
    font-size: 2rem;
  }

  .community-section p {
    font-size: 1rem;
  }

  .community-benefits li {
    font-size: 1rem;
  }

  .twitter-feed-card {
    max-width: 90%; /* Reduce max width for mobile screens */
    padding: 10px; /* Adjust padding for smaller screens */
    margin: 10px auto; /* Center and reduce spacing */
  }

  .twitter-feed-section h2 {
    font-size: 2rem; /* Reduce heading size for mobile */
  }

  .twitter-feed-section p {
    font-size: 1rem; /* Adjust paragraph size */
  }

  .twitter-feed-section .cta-button,
  .twitter-feed-section .twitter-button {
    padding: 10px 20px; /* Reduce button padding */
    font-size: 1rem; /* Adjust font size */
  }
}