* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #090909;
  color: white;
}

.nav-sidebar {
  position: fixed;
  width: 60px; /* Collapsed width */
  height: 100%;
  background-color: #111;
  padding-top: 20px;
  overflow-x: hidden;
  transition: width 0.3s;
  z-index: 1000;
}

.nav-sidebar:hover {
  width: 250px; /* Expanded width on hover */
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 16px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  white-space: nowrap;
}

.nav-link i {
  min-width: 20px;
  margin-right: 10px;
  text-align: center;
  font-size: 18px;
}

.nav-link:hover {
  background-color: #575757;
}

.nav-sidebar span {
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-sidebar:hover span {
  opacity: 1;
}

.main-content {
  margin-left: 250px;
  padding: 60px 30px;
}

.section {
  margin-top: 64px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.divider {
  width: 200px;
  height: 1px;
  background-color: #777;
  margin-bottom: 30px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.grid img {
  width: 100%;
  filter: grayscale(100%);
  transition: filter 0.6s ease-out, transform 0.3s ease;
  border-radius: 8px;
}

.grid a:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.grid-item {
  flex: 1 1 calc(33.33% - 10px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: none;
  background-color: #333;
  color: white;
  border-radius: 4px;
}

.btn {
  background-color: #ccc;
  color: black;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.footer {
  text-align: center;
  padding: 30px;
  background-color: #111;
  margin-top: 64px;
  opacity: 0.6;
}

.skill {
  margin-bottom: 20px;
}

.skill label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.skill-bar {
  background-color: #ddd;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.skill-fill {
  height: 25px;
  width: 0%;
  background-color: #4caf50;
  color: white;
  text-align: right;
  padding-right: 10px;
  line-height: 25px;
  border-radius: 20px;
}

.progress-bar {
  background-color: #333;
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  background-color: #4CAF50;
  height: 20px;
  text-align: right;
  padding-right: 10px;
  line-height: 20px;
  color: white;
  border-radius: 20px 0 0 20px;
}

@media (max-width: 768px) {
  .grid-item {
    flex: 1 1 100%;
  }

  .main-content {
    margin-left: 0;
    padding: 30px 15px;
  }

  .nav-sidebar {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
  }

  .nav-link {
    flex: 1;
    text-align: center;
  }
}
.social-links p {
  margin-bottom: 10px;
  font-size: 18px;
}

.social-links ul {
  list-style: none;
  padding-left: 0;
}

.social-links li {
  margin: 10px 0;
  font-size: 16px;
}

.social-links a {
  color: #4CAF50;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 350px;
  left: 30px;     
  z-index: 2;
  text-align: left;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.5rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}