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

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* Portfolio Section Styles */
.portfolio-section {
  text-align: center;
  padding: 50px 20px;
  background-color: transparent;
  margin-top: 50px;
}

.portfolio-section .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  animation: glowText 2s infinite alternate;
}

@keyframes glowText {
  0% {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff;
  }
  25% {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
  }
  50% {
    color: #ff6600;
    text-shadow: 0 0 10px #ff6600, 0 0 20px #ff6600, 0 0 30px #ff6600, 0 0 40px #ff6600;
  }
  75% {
    color: #ffcc00;
    text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ffcc00, 0 0 40px #ffcc00;
  }
  100% {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00;
  }
}

/* Portfolio Button Styles */
.explore-button {
  position: relative;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(45deg, #ff0080, #ff7300); /* Gradient background */
  color: #fff;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

/* Button Hover Effects */
.explore-button:hover {
  background-color: #fff;
  color: #333;
  border-color: #ff0080; /* Change border color on hover */
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.4); /* Glowing shadow effect */
  transform: translateY(-5px); /* Adds 3D lift effect */
}

/* Button Active Press Effect */
.explore-button:active {
  transform: translateY(2px); /* Slightly press down effect */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Normal shadow when pressed */
}

/* Circle Glow and Animation for Button */
.explore-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: circleGlow 2s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
}

/* Circle Animation Keyframe */
@keyframes circleGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
}

/* Ensure Portfolio Section is properly aligned */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.portfolio-grid div {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}