/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #e0e0e0;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d4a7b 100%);
  color: #ffffff;
  padding: 2em 2em;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.name {
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 0.3em;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tagline {
  font-size: 1.3em;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-top: 0.5em;
  opacity: 0.9;
}
/* ✅ Mobile adjustments */
@media (max-width: 600px) {
  .name {
    font-size: 0.5em;   /* smaller on phones */
  }

  .tagline {
    font-size: 0.25em;   /* scale tagline down too */
  }
}

/* Navigation */
nav {
  background-color: #1a1a1a;
  padding: 1em 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

nav li {
  flex: 0 0 auto;
}

nav a {
  display: block;
  padding: 1em 1.5em;
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

nav a:hover {
  background-color: #2d2d2d;
  color: #00d4ff;
  border-bottom-color: #00d4ff;
}

/* Main Content */
main {
  max-width: 1000px;
  margin: 2em auto;
  padding: 0 1.5em;
}

section {
  margin-bottom: 3em;
}

/* Projects */
article {
  background-color: #2d2d2d;
  border-left: 4px solid #00d4ff;
  padding: 1.5em;
  margin-bottom: 1.5em;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #00d4ff;
  color: #1a1a1a;
  padding: 0.8em 1.5em;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #00f0ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Footer */
footer {
  background-color: #1a1a1a;
  text-align: center;
  padding: 2em;
  margin-top: 3em;
  border-top: 1px solid #3d3d3d;
  color: #888;
  font-size: 0.9em;
  

}





