
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #121212; 
  color: #f5f5f5;
  line-height: 1.6;
}


.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-right {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 6px 6px;
  }
  .header-right.active {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f0f0f;
  padding: 1rem 2rem;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: dodgerblue;
}

.header-right {
  display: flex;
  gap: 1.5rem;
}

.header-right a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.header-right a:hover {
  color: dodgerblue;
}

#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  flex-wrap: wrap;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: dodgerblue;
}

.hero-text p {
  margin-top: 0.5rem;
}

.hero-text .buttons {
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  margin-right: 1rem;
  background: dodgerblue;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #0a74da;
}

.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid dodgerblue;
}

section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  color: dodgerblue;
  margin-bottom: 1rem;
}

section p,
section ul {
  color: #ddd;
}

#skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

#skills li {
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  transition: transform 0.2s, background 0.3s;
}

#skills li:hover {
  background: dodgerblue;
  transform: scale(1.05);
}

.project {
  background: #1a1a1a;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.project a {
  color: dodgerblue;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

#education ul li {
  margin-bottom: 0.5rem;
}

#certs ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#certs li {
  background: #1a1a1a;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

#certs span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-btn {
  background: dodgerblue;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cert-btn:hover {
  background: #1e90ffcc;
}

#profiles ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

#profiles li {
  background: #1a1a1a;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  transition: transform 0.2s, background 0.3s;
}

#profiles li:hover {
  background: dodgerblue;
  transform: scale(1.05);
}

#profiles a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

#profiles a:hover {
  text-decoration: underline;
}

#contact p {
  margin-bottom: 0.5rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #1a1a1a;
  margin-top: 2rem;
  color: #aaa;
}
