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

/* Base */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background-color: #1e1e1e;
  text-align: center;
  padding: 3rem 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
  color: #fff;
}

/* Sections */
main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

section p, section li {
  margin-bottom: 0.75rem;
}

.job {
  margin-bottom: 2rem;
}

ul {
  padding-left: 1.25rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1e88e5;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
}

.btn:hover {
  background: #1565c0;
}

/* Navbar Styles */
.navbar {
  background-color: #1e1e1e;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #66ccff;
}

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

.nav-links li a {
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #66ccff;
}

/* skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-items: center;
}

.skill-card {
  background: #1e1e1e;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  width: 100px;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(102, 204, 255, 0.2);
}

.skill-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 3px #000);
}

.skill-card span {
  display: block;
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.3rem;
}

/* certs styling */
.cert-list {
  list-style: none;
  padding-left: 0;
}

.cert-list li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.cert-list a {
  color: #66ccff;
  text-decoration: none;
  transition: color 0.3s;
}

.cert-list a:hover {
  color: #33bbee;
}

/* Contact Section Styling */
.contact-box {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 400px;
  margin: 1rem auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.contact-box a {
  color: #66ccff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  color: #33bbee;
}

/* Project Cards */
.project-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #66ccff;
}

.project-card a {
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
}

.project-card a:hover {
  color: #33bbee;
}

/* Tabs */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #1e1e1e;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
