/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  background: linear-gradient(to right, #141e30, #243b55);
  line-height: 1.6;
}
a {
  color: #00ffff;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: #ffcc00;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #0c1a2b;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}
.logo {
  font-size: 2rem;
}
.logo span {
  color: #00ffff;
}
.nav-links {
  list-style: none;
  display: flex;
}
.nav-links li {
  margin-left: 20px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
}
.hero-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
}
.hero-content h2 {
  font-size: 3rem;
}
.hero-content span {
  color: #00ffff;
}
.btn {
  padding: 10px 25px;
  background-color: #00ffff;
  color: #000;
  border: none;
  margin-top: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.3s;
}
.btn:hover {
  background-color: #ffcc00;
}

/* Skills Section */
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  list-style: none;
  margin-top: 20px;
}
.skills-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.project-card {
  background-color: #1e2a38;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.2);
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}
input, textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  resize: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background-color: #0c1a2b;
  margin-top: 40px;
}
