/* --- 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;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
h2 {
  font-size: 2.5rem;
  text-align: center;
  color: var(--white-color);
  margin-bottom: 20px;
  position: relative;
}
h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 5px;
  font-weight: 600;
}
p {
  color: var(--text-color);
  opacity: 0.9;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}

/* --- Re-using Navbar and Footer Styles for Consistency --- */
.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);
}

/* --- Hamburger Menu Styles --- */
.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; /* Ensure it's above other elements */
}
.hamburger-menu .bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  overflow-x: hidden;
}
/* Animation for hamburger to 'X' */
.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 {
  background: var(--secondary-bg);
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Styles for Credits Page --- */
.credits-section {
  padding: 60px 0 80px;
  background: var(--secondary-bg);
  min-height: 80vh;
}
.credits-container {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 50px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  max-width: 1100px;
  margin: 0 auto;
}
.credits-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}
.credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.credit-card {
  background: rgba(173, 230, 243, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(173, 230, 243, 0.1);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.credit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.473);
}
.credit-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}
.credit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.credit-role {
  font-weight: 500;
  color: var(--white-color);
  margin-bottom: 15px;
  opacity: 1;
}
.credit-description {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.5;
}


.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; /* Show the hamburger menu */
  }

  .navbar nav ul {
    position: fixed; /* Take menu out of document flow */
    top: 0;
    right: -100%; /* Start off-screen */
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--secondary-bg);

    /* Change layout for vertical menu */
    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; /* Slide menu into view */
  }

  .navbar nav ul li {
    width: 100%;
    text-align: center;
  }
  .navbar nav ul li a {
    font-size: 1.2rem; /* Make text bigger for easier tapping */
  }

  .credits-section {
    padding: 60px 0;
  }
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .credits-container {
    padding: 40px 30px;
    margin: 0 20px;
  }
  .credits-grid {
    gap: 25px;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .credits-container {
    padding: 30px 20px;
    margin: 0 15px;
  }
  .credits-grid {
    grid-template-columns: 1fr;
  }
  .credit-image {
    width: 100px;
    height: 100px;
  }
  .credit-card {
    padding: 25px;
  }
}
