/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background: linear-gradient(135deg, #0d1b2a , #1e1e1e);
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
header {
  background: linear-gradient(90deg, #0f0c29, #302b63, #339705);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  background: linear-gradient(45deg, #339705, #3B3B98);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #1e1e1e;
  bottom: 0;
  left: 0;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff6ec4;
}

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

/* Hero */
#hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0f0c29, #302b63, #00ff88);
  color: white;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

#hero h2 {
  font-size: 4rem;
  font-weight: 700;
}

#hero p {
  font-size: 1rem;
  margin-top: 1rem;
  color: #ffe;
}

/* Sections */
section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #339705;
}

section p {
  font-size: 1.1rem;
  max-width: 700px;
}

/* Project Cards */
.project-card {
  background: rgba(0, 0, 0, 0.979);
  border: 1px solid rgba(7, 247, 247, 0.973);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(51, 12, 192, 0.4);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #339705;
}

/* Contact */
#contact a {
  color: #339705;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #0d1b2a;
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
  color: #888;
  margin-top: 3rem;
  border-top: 2px solid #222;
}

/* --- Mobile Styles (Responsive) --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 1rem;
    width: 100%;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
  }

  #hero {
    padding: 4rem 1rem;
  }

  #hero h2 {
    font-size: 2.5rem;
  }

  #hero p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  section p {
    font-size: 1rem;
    width: 100%;
  }

  .project-card {
    padding: 1rem;
    margin: 1rem 0;
  }

  .project-card h3 {
    font-size: 1.3rem;
  }

  footer {
    font-size: 0.9rem;
    padding: 1.5rem;
  }
}
