
body {
  background: #0f0f0f;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  padding: 0;
}
.hero {
  text-align: center;
  padding: 60px 20px;
}
.avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00dfc4;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background: #00dfc4;
  color: #0f0f0f;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}
.services {
  text-align: center;
  margin: 40px 20px;
}
.card {
  margin: 20px auto;
  background: #1a1a1a;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 10px;
  max-width: 400px;
  cursor: pointer;
}
.card:hover {
  background-color: #00dfc4;
  color: #0f0f0f;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00dfc4;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #00dfc4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li a,
.theme-toggle {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nav-links li a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: #00dfc4;
  transition: all 0.3s ease-in-out;
}

.nav-links li a:hover,
.theme-toggle:hover {
  color: #00dfc4;
}

body.shrink .navbar {
  padding: 0.5rem 2rem;
  backdrop-filter: blur(10px);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
}
.modal-content {
  background: #1a1a1a;
  margin: 5% auto;
  padding: 20px;
  max-width: 700px;
  color: #fff;
  border-radius: 10px;
  overflow-y: auto;
  max-height: 90vh;
}
.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.modal-content iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* Responsive Hamburger Menu */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: var(--nav-bg);
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-menu li {
  margin: 0.5rem 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--nav-text);
  font-weight: bold;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 10; /* so it stays on top */
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #ffffff; /* <--- force to white */
  margin-bottom: 5px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Default menu (hidden on mobile) */
.nav-menu {
  list-style: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* When toggled open */
.nav-toggle:checked + .hamburger + .nav-menu {
  max-height: 200px;
}

/* Animate the hamburger into an "X" */
.nav-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Desktop */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
  .nav-menu {
    flex-direction: row;
    max-height: none;
  }
  .nav-menu li {
    margin: 0 1rem; /* <--- Add this! */
  }
}
