* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #081b29;
  color: white;
}

/* Navigation */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #00e5ff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover {
  color: #00e5ff;
}

/* Hero */

.hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 100vh;
  padding: 100px 10%;
}

.hero-text {
  width: 50%;
}

.hero-text h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero-text span {
  color: #00e5ff;
}

.hero-text h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: #00e5ff;
  color: #081b29;
  text-decoration: none;
  border-radius: 40px;
  font-weight: bold;
  transition: 0.4s;
}

.btn:hover {
  background: white;
  transform: translateY(-5px);
}

.hero-image img {
  width: 350px;
  border-radius: 50%;
  border: 8px solid #00e5ff;
  box-shadow: 0 0 40px cyan;
}

/* Sections */

section {
  padding: 100px 10%;
}

h2 {
  text-align: center;
  font-size: 45px;
  margin-bottom: 50px;
  color: #00e5ff;
}

/* About */

.about {
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 20px;
  line-height: 35px;
}

/* Skills */

.skill-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  background: #00e5ff;
  color: black;
}

/* Projects */

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: #102b40;
  padding: 30px;
  border-radius: 20px;
  transition: 0.4s;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px cyan;
}

/* Contact */

form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea {
  padding: 18px;
  border: none;
  border-radius: 10px;
  font-size: 17px;
}

textarea {
  height: 170px;
}

button {
  padding: 18px;
  border: none;
  background: #00e5ff;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: white;
}

/* Footer */

footer {
  text-align: center;
  padding: 30px;
  background: #05131f;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text h3 {
    font-size: 24px;
  }

  .hero-image img {
    width: 250px;
    margin-bottom: 40px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 20px;
    flex-wrap: wrap;
  }
}
