.skills-container {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.skill-category h2 {
  color: #2ecc71;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.skill-category h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #2ecc71;
  border-radius: 2px;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-item {
  margin-bottom: 1.2rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  border-color: rgba(46, 204, 113, 0.2);
}

.skill-name {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.skill-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Hero section styling */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content h1 {
  font-size: 2.5rem;
  color: #2ecc71;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Scroll arrow styles */
.scroll-arrow {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow {
  width: 30px;
  height: 30px;
  border-right: 3px solid #2ecc71;
  border-bottom: 3px solid #2ecc71;
  transform: rotate(45deg);
  animation: arrowBounce 2s infinite;
  opacity: 0.8;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow:hover {
  opacity: 1;
  transform: rotate(45deg) scale(1.1);
}

html {
  scroll-behavior: smooth;
}

@keyframes arrowBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-20px) rotate(45deg);
  }
  60% {
    transform: translateY(-10px) rotate(45deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .skill-category {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

/* Animation for skill items */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-item {
  animation: fadeIn 0.5s ease forwards;
}

/* Stagger animation for skill items */
.skill-item:nth-child(1) {
  animation-delay: 0.1s;
}
.skill-item:nth-child(2) {
  animation-delay: 0.2s;
}
.skill-item:nth-child(3) {
  animation-delay: 0.3s;
}
.skill-item:nth-child(4) {
  animation-delay: 0.4s;
}
.skill-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* Menu styles */
.menu-container {
  position: relative;
}

.menu-button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
}

.menu-button:hover {
  color: #2ecc71;
}

.menu-button:active {
  transform: scale(0.95);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.dropdown-menu a:last-child {
  margin-bottom: 0;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #2ecc71;
  padding-left: 2rem;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive menu styles */
@media (max-width: 768px) {
  .menu-button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .dropdown-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 0;
    padding: 1rem 0;
  }

  .dropdown-menu a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .menu-button {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .dropdown-menu {
    top: 50px;
  }

  .dropdown-menu a {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}
