/* --- Global Styles & Variables (From your theme) --- */
:root {
  --primary-bg: #02141f;
  --secondary-bg: #111827;
  --accent-color: #00b4d8;
  --text-color: #f4f4f4;
  --white-color: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: var(--primary-bg);
  color: var(--text-color);
  overflow-x: hidden;
}
.body-no-scroll {
  overflow: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
h2 {
  font-size: 2.8rem;
  text-align: center;
  color: var(--white-color);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  color: var(--white-color);
  margin-bottom: 10px;
}
p {
  color: var(--text-color);
  opacity: 0.9;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}

/* --- Navbar --- */
.navbar {
  background: rgba(2, 18, 31, 0.7);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo img {
  height: 50px;
  border-radius: 50%;
}
.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 15px; /* From old CSS */
  align-items: center;
}
.navbar nav ul li a {
  text-decoration: none;
  color: #b4cfd4; /* From old CSS */
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar nav ul li a:hover {
  color: #ffffff; /* From old CSS */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* --- Action Buttons (from old CSS) --- */
.nav-actions {
  display: flex;
  gap: 15px;
}
.btn {
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: #55eff7;
  color: black !important;
}
.btn-primary:hover {
  background-color: #46e1ef;
  box-shadow: 0 0 20px rgba(70, 239, 230, 0.6);
  transform: translateY(-2px);
  color: #ffffff !important; /* Adjusted for better contrast */
}
.btn-secondary {
  background-color: transparent;
  color: #55eff7;
  border: 2px solid #55eff7;
}
.btn-secondary:hover {
  background-color: #55eff7;
  color: #0d021f; /* Adjusted for better contrast */
  transform: translateY(-2px);
}

/* --- NEW Hamburger Menu Styles --- */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger-menu .bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu.is-active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger-menu.is-active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.is-active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* --- Footer --- */
.footer {
  background: var(--secondary-bg);
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer h3 {
  color: var(--white-color);
}
.footer .contact-info {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer .contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer .copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.5;
}

/* --- Styles for Members Panel Page --- */
.members-panel-section {
  padding: 60px 0 80px;
  background: var(--secondary-bg);
  display: grid;
  place-items: center;
  min-height: 80vh;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -10px auto 50px;
  opacity: 0.8;
}
.member-slider {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
}
.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}
.member-card {
  background: rgba(173, 230, 243, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(173, 230, 243, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 400px;
  flex-shrink: 0;
}
.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.2);
}
.member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-details {
  margin-top: 15px;
}
.member-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.member-bio {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 180, 216, 0.3);
  color: var(--white-color);
  border: 1px solid rgba(0, 180, 216, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.slider-arrow:hover {
  background-color: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
}
.prev-btn {
  left: 8px;
}
.next-btn {
  right: 8px;
}

.fixed-side-icon {
  position: fixed;
  bottom: 32px;
  right: 0;
  z-index: 1000;
  width: 110px;
  height: 36px;
  border-radius: 48px 0 0 48px;
  background-color: rgb(47 191 198 / 87%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.498);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* 6. Hover effect for user feedback */
.fixed-side-icon:hover {
  transform: translateY(-5px); /* Lifts the icon up slightly */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  background-color: rgb(47, 190, 198);
  transition: all 0.6s ease-in-out;

}

/* 7. Styling the SVG icon itself */
.fixed-side-icon .icon-brain {
  width: 28px;
  height: 28px;
  transition: all 0.6s ease-in-out;
}
.contact{
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255, 255, 255);
  transition: all 0.6s ease-in-out;

}
.contact:hover{
  color: #000000;
  transition: color 0.6s ease-in-out;

}

/* 
===============================================
--- RESPONSIVE DESIGN ---
===============================================
*/
@media (max-width: 992px) {
  .hamburger-menu {
    display: flex;
  }
  .navbar nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--secondary-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease-in-out;
    padding: 2rem;
  }
  .navbar nav ul.is-active {
    right: 0;
  }
  .navbar nav ul li {
    width: 100%;
    text-align: center;
  }
  .navbar nav ul li a {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .member-slider {
    max-width: 320px;
  }
  .member-card {
    width: 320px;
  }
  .prev-btn {
    left: -15px;
  }
  .next-btn {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .member-slider {
    max-width: 280px;
  }
  .member-card {
    width: 280px;
    padding: 25px 20px;
  }
  .prev-btn {
    left: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .next-btn {
    right: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
