* {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0px;
  background-color: black;
  height: 100%;
  width: 100%;
  background-image: url("/Components/Team/newbg.jpg");
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  color: #ffffff;
  box-sizing: border-box;
  /* font-family: Arial, Helvetica, sans-serif; */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url("/Components/Team/newbg.jpg") center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.navbar {
  background-color: #111;
  opacity: 0.95;
  padding: 0 1rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  box-sizing: border-box;
  /* overflow-x: hidden;   */
  z-index: 10000;
  position: fixed;
  transition: top 0.3s ease-in-out;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  font-weight: 1000;
  font-size: 2.2rem;
  font-weight: bold;
  background: #ff6a00;
  /* background: linear-gradient(to left, #ff0000, #ff8c00, #ffd700, #ffffff); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logoImg {
  width: 150px;       
  height: auto;        
  margin-right: 10px;
  margin-left: 5px;
  object-fit: contain; 
  
  /* Styling effects */
  filter: drop-shadow(0 0 8px rgba(255, 162, 99, 0.6)); /* glowing shadow */
  transition: transform 0.3s ease, filter 0.3s ease;     /* smooth hover */
}

.logoImg:hover {
  transform: scale(1.01);  /* zoom effect */
  filter: drop-shadow(0 0 12px rgba(255, 162, 99, 0.8));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link-join {
  color: white;
  border-radius: 6px;
  background: #ff6a00;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
}

.nav-link-join:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
  background: #ffd700;
  color: #111827;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem;
}

.nav-link.active,
.nav-link:hover {
  color: cyan;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.menu-icon {
  height: 24px;
  width: 24px;
  stroke: white;
}

.nav-links.mobile {
  display: none;
  flex-direction: column;
  background-color: #111;
  padding: 1rem;
  gap: 1rem;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 999;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    color: cyan;
  }

  .desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .close-icon {
    display: none;
  }

  .logo {
    font-size: 1.8rem;
  }
}

section {
  /* padding-top: 2rem; */
  padding-bottom: 2rem;
}

.spark-hero {
  position: relative;
  /* min-height: calc(100vh - 4rem); */
  padding-top: 2rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: 100%;
}

.edit-spark {
  color: rgb(255, 102, 0);
}

.meet-us {
  padding-top: 8rem;
  font-size: 3rem;
  position: relative;
  margin-bottom: 1.05rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-align: center;
}

.sub-text {
  position: relative;
  top: 150px;
  left: -250px;
  font-size: 1.35rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}

#right-shift-img {
  position: static;
  margin: 2rem auto 0;
  display: block;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .sub-text {
    font-size: 1.25rem;
    padding: 0 1rem;
  }

}

.member-card {
  max-width: 20rem;
  margin: 1.5rem auto;
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: scale(1.05);
  box-shadow: 0 7px 30px rgba(255, 100, 0, 0.5);
}

.member-card img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(153, 27, 27, 0.3), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.member-card:hover .member-overlay {
  opacity: 1;
}

.member-overlay .icon-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
}

.member-overlay .icon-bar a {
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
  transition: color 0.3s ease, transform 0.3s ease;
}

.member-overlay .icon-bar a:hover {
  transform: scale(1.15);
}

.member-overlay .icon-bar a:hover .feather {
  color: orange;
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.member-info p.role {
  color: #fb923c;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.member-info p.bio {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.5;
}

.member {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.member:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

.member-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.5rem;
}

.member-info p {
  color: #f97316;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  padding: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-links a:nth-child(1):hover {
  color: #f97316;
}

.social-links a:nth-child(2):hover {
  color: #3b82f6;
}

.social-links a:nth-child(3):hover {
  color: #22c55e;
}

#right-shift-img {
  position: relative;
  top: -30px;
  left: +250px;

  margin: 0 auto;
  max-width: 300px;
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 2rem;
  color: white;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: 'poppins', sans-serif;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(255, 106, 0, 0.8);
}

footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

footer p {
  margin: 0.6rem 0;
}

.footer-link {
  color: cyan;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-link:hover {
  text-decoration: underline;
}

footer .connections {
  display: flex;
  gap: 20px;
  justify-content: center;
}

footer .connections a {
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
}

footer .connections a:hover {
  color: yellow;
}

.footer-people {
  margin-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-people .developers {
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 5px 5px;
  margin-bottom: 0.5rem;
  justify-content: center;
  margin-top: 5px;
  font-size: 0.95rem;
}

.developedby {
  font-size: 1rem;
}

.footer-people a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.developers :hover {
  color: rgb(255, 255, 0, 1);
}

.rights {
  font-size: smaller;
  margin-bottom: 0.75rem;
}

.footer-people .developers a::after {
  content: "·";
  margin: 0 8px;
  opacity: 0.6;
  display: inline-block;
  vertical-align: middle;
  /* ensures alignment */
  font-size: 1.1em;
  /* adjust size if needed */
  line-height: 1;
}

.footer-people .developers a:last-child::after {
  content: "";
  /* No separator after last name */
}

@media (max-width: 600px) {
  .footer-people .developers a::after {
    content: " ·";
    margin: 0 6px;
    opacity: 0.6;
  }

  .footer-people .developers a:nth-child(2)::after {
    content: "";
    /* removes separator after 2nd child */
  }

  .footer-people .developers a:last-child::after {
    content: "";
    /* No separator after last name */
  }

  .footer-people .developers {
    display: grid;
    grid-template-columns: repeat(2, auto);
    /* stack vertically */
    gap: 6px;
  }
}

/* hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid rgb(65, 23, 23);
  margin: 1em 0;
  padding: 3rem;
} */

.shiny-text {
  color: #b5b5b5a4;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 243, 175, 0.8) 50%,
      rgba(255, 255, 255, 0) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  animation: shine 2.5s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 100%;
  }

  100% {
    background-position: -100%;
  }
}

.shiny-text.disabled {
  animation: none;
}

/* scrollbar styling  */

/* ===== Chrome, Edge, Safari ===== */
::-webkit-scrollbar {
  width: 14px;
  /* Wider for more realistic look */
}

/* Track */
::-webkit-scrollbar-track {
  background: #0d1117;
  /* Dark background */
  border-left: 1px solid #1a1f27;
  /* Slight inner border */
}

/* Thumb */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6a00, #cc5500);
  /* Gradient orange */
  border-radius: 6px;
  border: 2px solid #0d1117;
  /* Creates gap between track & thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff7f26, #e65c00);
  /* Brighter on hover */
}

/* ===== Scrollbar Buttons (Arrows) ===== */

/* Common button base */
::-webkit-scrollbar-button {
  background-color: #0d1117;
  /* Matches track */
  border: none;
  height: 16px;
  /* Controls button height */
}

/* Up arrow */
::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ff6a00;
  /* Arrow color */
}

/* Down arrow */
::-webkit-scrollbar-button:single-button:vertical:increment {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ff6a00;
  /* Arrow color */
}

/* Hover effect on arrows */
::-webkit-scrollbar-button:single-button:vertical:decrement:hover,
::-webkit-scrollbar-button:single-button:vertical:increment:hover {
  border-bottom-color: #ff7f26;
  /* Up arrow hover */
  border-top-color: #ff7f26;
  /* Down arrow hover */
}

/* ===== Firefox ===== */
html {
  scrollbar-width: thin;
  scrollbar-color: #ff6a00 #0d1117;
  /* thumb track */
}