/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom right, #111, #1a1a1a);
  text-align: center;
  padding: 0 2rem;
}

.hero-content span {
  color: #00bcd4;
}

.btn {
  margin-top: 1rem;
  padding: 0.7rem 2rem;
  background: #00bcd4;
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #0097a7;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5%;
  text-align: center;
}

.alt-bg {
  background-color: #141414;
}

.container {
  max-width: 1200px;
  width: 100%;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.3s;
}

.skill-card:hover {
  transform: translateY(-0.5rem);
}

/* Scroll Animations */
.hidden {
  opacity: 0;
  transform: translateY(3rem);
  transition: all 0.7s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Typography */
h1 { font-size: 2rem; }
h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
p  { font-size: 1rem; }

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #0c0c0c;
  font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-links { flex-direction: column; gap: 1rem; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  .btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
  .section { padding: 4rem 3%; }
}
