/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
}

/* NAVIGATION */
header {
  position: fixed;
  width: 100%;
  background: #020617;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
}

.logo {
  color: #38bdf8;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #e5e7eb;
  text-decoration: none;
}

nav ul li a:hover {
  color: #38bdf8;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #38bdf8;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #38bdf8;
  color: #020617;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s;
}

.btn:hover {
  transform: translateY(-5px);
}

/* SECTIONS */
.section {
  padding: 100px 50px;
  text-align: center;
}

.dark {
  background: #020617;
}

/* SKILLS */
.skills span {
  display: inline-block;
  background: #1e293b;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 20px;
}

/* DESIGNS */
.designs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: #020617;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h4 {
  padding: 15px;
  color: #38bdf8;
  text-align: center;
  font-weight: bold;
}

/* CONTACT BUTTONS */
.contact-btns {
  margin-top: 20px;
}

.contact-btns .btn {
  margin: 5px;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  background: #020617;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  nav {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  nav ul li {
    margin: 10px 0;
  }

  .profile-img {
    width: 140px;
    height: 140px;
  }
  
}
