/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: black;
    overflow-x: hidden; /* Prevent horizontal scroll */
    animation: slideUp 1.s ease-out forwards; /* Apply slide-up animation */
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  @keyframes slideUp {
    0% {
      transform: translateY(100%);  /* Start from the bottom (off-screen) */
    }
    100% {
      transform: translateY(0);  /* End at the original position */
    }
  }
  html {
    scroll-behavior: smooth;
  }
  .main-heading {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: #ff69b4;
    margin: 20px 0;
    background: linear-gradient(90deg, #f1b615, #f50909, #f70df7);
    background-size: 200%;

    /* Add standard property */
    background-clip: text;

    /* Keep the vendor prefix for older browsers */
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
    animation: twinkle 7s infinite linear;
}

  
  @keyframes twinkle {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 200%;
    }
  }
  
  .sub-heading {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: #e5b7ae;
    margin-top: 10px;
    animation: floatSubHeading 3s infinite ease-in-out;
  }
  
  @keyframes floatSubHeading {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  
  
  
  .content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
  }
  
  .stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: -1;
    overflow: hidden;
  }
  
  .stars::before,
  .stars::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(218, 123, 123) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: stars-animation 50s linear infinite;
  }
  
  .stars::after {
    background-size: 100px 100px;
    animation-duration: 100s;
    animation-direction: reverse;
  }
  
  @keyframes stars-animation {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(-50%, -50%);
    }
  }
  
    /* Navigation Bar */
    /* .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
    margin: 20px auto;
    width: 80%;
  } */
  /* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between; /* This makes the content spread apart */
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
  margin: 20px auto;
  width: 80%;
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  flex-grow: 1; /* This will allow the logo to take up available space */
  text-align: left; /* Align the logo text to the left */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto; /* This will push the list items to the right */
}

nav ul li {
  display: inline-flex;
  align-items: center;
}

nav ul li img {
  margin-right: 8px; /* Space between image and text */
}

nav ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff69b4; /* Neon pink hover effect */
}

nav ul li:hover img {
  filter: brightness(1.3); /* Slight image brightening on hover */
}

/* Optional Button Styling */
.navbar .button {
  background: #ff69b4;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar .button:hover {
  background: #e60073; /* Darker shade on hover */
}

  
    
    /* Welcome Section */
    .welcome-section {
      display: flex;
      justify-content: space-between;
      padding: 40px;
      margin-top: 40px;
    }
    
    .welcome-box {
      width: 45%;
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 10px;
      border-bottom: 5px solid neon;
      
    }
    
    .welcome-box h1 {
      font-size: 2rem;
      font-weight: bold;
    }
    
    .welcome-box h2 {
      font-size: 1.5rem;
      margin-top: 10px;
    }
    
    .welcome-box p {
      font-size: 1rem;
      margin-top: 15px;
    }
    
    .phone-card {
      width: 45%;
      padding: 2px;
      display: flex;
      justify-content: center;
      border-radius: 2%;
     
    }
    .phone-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
    }
    
    .phone-image {
      max-width: 100%;
      height:350px;
      border-radius: 2%;
    }
    
    /* Features Section */
    .features-section {
      display: flex;
      justify-content: space-evenly;
      padding: 40px;
      border-bottom: #ff007f;
    }
    
    .feature-card {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 10px;
      margin: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
    }
    
  
    .engagement-card {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 10px;
      margin: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .engagement-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
    }
    
    /* slide show */
    .slideshow-container {
      width: 100%;
      height: 60px; /* Adjust the height as needed */
      overflow: hidden;
      /* background-color: #333; */
      display: flex;
      align-items: center;
      position: relative;
  }
  
  .slideshow-content {
      display: flex;
      animation: scrollLeft 15s linear infinite;
      white-space: nowrap;
  }
  
  .slide {
      color: white;
      
      padding: 10px 20px;
      margin-right: 20px; /* Space between slides */
      border-radius: 5px;
      white-space: nowrap; /* Prevents text wrapping */
      font-size: 18px;
  }
  
  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
  }
   /* About Section */
.about-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  gap: 20px; /* Add spacing between the two cards */
  background: black;
  color: white;
}

.about-box {
  width: 50%; /* Take half the width of the section */
  background: rgba(255, 255, 255, 0.0);
  padding: 20px;
  border-radius: 10px;
  border-right: 5px solid rgba(255, 0, 127, 0.7);
  box-shadow: 0 0 15px 5px rgba(255, 0, 127, 0.7);
}

/* Mini-Game Container */
.mini-game-container {
  width: 45%; /* Ensure it fits alongside the About section */
  background: rgba(0, 0, 0, 0.3); /* More transparent background */
  padding: 20px;
  border-radius: 20px;
  border-right: 5px solid rgba(255, 0, 127, 0.7);
  box-shadow: 0 0 15px 5px rgba(255, 0, 127, 0.7);
  text-align: center;
}

.mini-game-container h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #fafafa;
}

/* Network Graph */
#network-graph {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 20px 0;
  border: 1px dashed rgba(228, 126, 177, 0.7);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.node {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color:  rgb(218, 123, 123);
  border-radius: 50%;
  cursor: pointer;
 
}

.node:hover {
  background-color: #d68084;
  transform: scale(1.2);
}

#fact-display {
  font-size: 16px;
  margin-top: 15px;
  color: #ecc181;
}

/* Animation for floating effect */
@keyframes scaleInOut {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}
.node {
  animation: scaleInOut 2s infinite ease-in-out;
}

.node:active {
  background-color: white;  /* Change background to white when active */
  color:  rgb(218, 123, 123);  /* Change text color to the original color */
  transform: scale(1.1);  /* Optionally scale the node on click */
}



/* Position nodes dynamically */
.node:nth-child(1) {
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.node:nth-child(2) {
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
}

.node:nth-child(3) {
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.node:nth-child(4) {
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
}

.node:nth-child(5) {
  top: 30%;
  left: 30%;
  transform: translate(-50%, -50%);
}

.node:nth-child(6) {
  top: 20%;
  left: 70%;
  transform: translate(-50%, -50%);
}

.node:nth-child(7) {
  top: 60%;
  left: 20%;
  transform: translate(-50%, -50%);
}

.node:nth-child(8) {
  top: 70%;
  left: 80%;
  transform: translate(-50%, -50%);
}

.node:nth-child(9) {
  top: 40%;
  left: 60%;
  transform: translate(-50%, -50%);
}

.node:nth-child(10) {
  top: 15%;
  left: 40%;
  transform: translate(-50%, -50%);
}

  
  
  /* Statistics Section */
  .statistics-section {
    display: flex;
    justify-content: space-evenly;
    padding: 40px;
   
  }
  
  .stat-card {
    width: 200px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px 5px rgba(53, 48, 50, 0.7);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .stat-card h3 {
    font-size: 2rem;
    color: #ff007f;
  }

  .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
  }
    
    /* Team Section */
    .team-section {
      display: flex;
      justify-content: space-evenly;
      padding: 40px;
      border-right: 5px solid neon;
      text-align: center;
    
  }
  
  .team-card {
      position: relative; /* To position the hover text inside the card */
      width: 180px;
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      border-bottom: 5px solid neon;
      box-shadow: 0 0 15px 5px rgba(216, 237, 32, 0.7);
      overflow: hidden; /* To hide the hover text initially */
  }
  
  /* .team-card img {
      width: 160px; 
      height: 160px; 
      border-radius: 10px;
      transition: transform 0.3s ease;
  } */
  
  .team-card:hover img {
      transform: scale(1.1);
  }
  
  .team-card p {
      margin: 10px 0;
  }
  
 /* Hover Effect Text */
.team-card .hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px; /* Add extra padding */
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease;
  border-radius: 10px; /* Matches the card's border-radius */
  box-sizing: border-box; /* Ensures padding doesn't overflow */
  z-index: 1; /* Ensures hover text appears on top of card */
  pointer-events: none; /* Prevents blocking interaction with links */
}

/* Make the hover text visible on hover */
.team-card:hover .hover-text {
  opacity: 1; /* Show text on hover */
  pointer-events: auto; /* Allow interaction with hover content */
}

/* Adjust z-index of links to ensure they are above the hover text */
.team-card a {
  position: relative;
  z-index: 2; /* Place links above the hover text */
}

  
    
    /* Footer */
    footer {
      display: flex;
      justify-content: space-around;
      padding: 40px;
      background: rgba(255, 255, 255, 0.1);
    }
    
    .footer-column {
      width: 30%;
    }
    
    .footer-column h3 {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    .footer-column ul li a {
      text-decoration: none;
      color: white;
      position: relative;
      transition: color 0.3s ease;
    }
    
    .footer-column ul li a::after {
      content: "";
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 2px;
      background: #ff69b4;
      transition: width 0.3s ease;
    }
    
    .footer-column ul li a:hover {
      color: #ff69b4;
    }
    
    .footer-column ul li a:hover::after {
      width: 100%;
    }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: rgba(238, 13, 13, 0.856);
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover effect for the button */
.button:hover {
  background-color: black;
  color: rgb(248, 15, 15);
}

/* Arrow styling */
.button .arrow {
  display: inline-block;
  margin-left: 10px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid white;
  transition: all 0.3s ease;
}

/* Arrow hover effect */
.button:hover .arrow {
  border-left-color: red;
  transform: translateX(5px);
}
