* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Cursor */
html,
body {
  cursor: url("images/cursor.png"), auto;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-shadow: 0 0 6px #ffffff;
}

@keyframes colorCycle {
  0% {
    color: #7d00ff;
    border-color: #7d00ff;
  }
  33% {
    color: #be00ff;
    border-color: #be00ff;
  }
  66% {
    color: #ea00ff;
    border-color: #ea00ff;
  }
  100% {
    color: #7d00ff;
    border-color: #7d00ff;
  }
}

@keyframes glowCycle {
  0% {
    box-shadow: inset 0 0 4px #7d00ff, 0 0 8px #7d00ff;
  }
  33% {
    box-shadow: inset 0 0 4px #be00ff, 0 0 8px #be00ff;
  }
  66% {
    box-shadow: inset 0 0 4px #ea00ff, 0 0 8px #ea00ff;
  }
  100% {
    box-shadow: inset 0 0 4px #7d00ff, 0 0 8px #7d00ff;
  }
}

@keyframes hoverGlowCycle {
  0% {
    box-shadow: inset 0 0 6px #7d00ff, 0 0 15px #7d00ff, 0 0 25px #7d00ff;
  }
  33% {
    box-shadow: inset 0 0 6px #be00ff, 0 0 15px #be00ff, 0 0 25px #be00ff;
  }
  66% {
    box-shadow: inset 0 0 6px #ea00ff, 0 0 15px #ea00ff, 0 0 25px #ea00ff;
  }
  100% {
    box-shadow: inset 0 0 6px #7d00ff, 0 0 15px #7d00ff, 0 0 25px #7d00ff;
  }
}

@keyframes textShadowCycle {
  0% {
    text-shadow: 0 0 10px #7d00ff;
  }
  33% {
    text-shadow: 0 0 10px #be00ff;
  }
  66% {
    text-shadow: 0 0 10px #ea00ff;
  }
  100% {
    text-shadow: 0 0 10px #7d00ff;
  }
}

@keyframes boxShadowCycle {
  0% {
    box-shadow: 0 0 15px rgba(125, 0, 255, 0.3);
  }
  33% {
    box-shadow: 0 0 15px rgba(190, 0, 255, 0.3);
  }
  66% {
    box-shadow: 0 0 15px rgba(234, 0, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 15px rgba(125, 0, 255, 0.3);
  }
}

@keyframes hoverBoxShadowCycle {
  0% {
    box-shadow: 0 0 25px rgba(125, 0, 255, 0.6);
  }
  33% {
    box-shadow: 0 0 25px rgba(190, 0, 255, 0.6);
  }
  66% {
    box-shadow: 0 0 25px rgba(234, 0, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 25px rgba(125, 0, 255, 0.6);
  }
}

.outline-button {
  background: transparent;
  color: #7d00ff;
  border: 2px solid #7d00ff;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: url("images/cursor.png"), pointer;
  margin: 0.5rem;
  transition: all 0.3s ease, transform 0.2s ease;
  box-shadow: inset 0 0 4px #7d00ff, 0 0 8px #7d00ff;
  animation: colorCycle 8s infinite ease-in-out, glowCycle 8s infinite ease-in-out;
}

.outline-button:hover {
  background-color: rgba(125, 0, 255, 0.1);
  transform: scale(1.05);
  color: #ffffff;
  box-shadow: inset 0 0 6px #7d00ff, 0 0 15px #7d00ff, 0 0 25px #7d00ff;
  animation: hoverGlowCycle 8s infinite ease-in-out;
}

a {
  text-decoration: none;
}

.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
  position: relative;
}

.content {
  text-align: center;
  animation: fadeInBox 1.2s ease-out forwards 0.5s;
  opacity: 0;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}

.content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Scroll Arrow */
.scroll-arrow-container {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: url("images/cursor.png"), pointer;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.scroll-arrow:hover {
  transform: scale(1.2);
}

.scroll-text {
  font-size: 0.9rem;
  opacity: 0.8;
  color: white;
  text-shadow: 0 0 6px #ffffff;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 2rem;
  text-align: center;
  animation: fadeIn 1.5s ease-out forwards 1s;
  opacity: 0;
}

.portfolio-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}

.portfolio-section > p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.thumbnail {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(125, 0, 255, 0.3);
  transition: transform 0.3s ease;
  cursor: url("images/cursor.png"), pointer;
  background-color: #1a1a1a;
  animation: boxShadowCycle 8s infinite ease-in-out;
}

.thumbnail:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(125, 0, 255, 0.6);
  animation: hoverBoxShadowCycle 8s infinite ease-in-out;
}

.thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 1.5rem;
  color: white;
  text-align: left;
  transform: translateY(0);
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 0 0 20px 20px;
}

.thumbnail:hover .thumbnail-overlay {
  transform: translateY(0);
  opacity: 1;
}

.thumbnail-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.thumbnail-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 2rem;
  text-align: center;
  animation: fadeIn 1.5s ease-out forwards 1.2s;
  opacity: 0;
  background-color: #0a0a0a;
  border-top: 1px solid rgba(125, 0, 255, 0.2);
  border-bottom: 1px solid rgba(125, 0, 255, 0.2);
}

.reviews-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}

.reviews-section > p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.review-carousel {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #1a1a1a;
  box-shadow: 0 0 20px rgba(125, 0, 255, 0.3);
  animation: boxShadowCycle 8s infinite ease-in-out;
}

.review-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.review-slide.active {
  opacity: 1;
}

.review-content {
  text-align: center;
  max-width: 600px;
}

.reviewer-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #7d00ff;
  text-shadow: 0 0 10px #7d00ff;
  animation: colorCycle 8s infinite ease-in-out, textShadowCycle 8s infinite ease-in-out;
}

.review-text {
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
}

.review-nav {
  background: transparent;
  color: #7d00ff;
  border: none;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url("images/cursor.png"), pointer;
  font-size: 2rem;
  margin: 0 1rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px #7d00ff;
  animation: colorCycle 8s infinite ease-in-out, textShadowCycle 8s infinite ease-in-out;
}

.review-nav:hover {
  transform: scale(1.1);
}

.review-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #333;
  margin: 0 8px;
  cursor: url("images/cursor.png"), pointer;
  transition: all 0.3s ease;
  border: 2px solid #7d00ff;
  animation: colorCycle 8s infinite ease-in-out;
}

.dot.active {
  background-color: #7d00ff;
  box-shadow: 0 0 10px #7d00ff;
  animation: colorCycle 8s infinite ease-in-out, glowCycle 8s infinite ease-in-out;
}

/* Footer */
footer {
  background-color: #000000;
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownFade {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInBox {
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1.1rem;
  }

  .thumbnail-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    gap: 1.5rem;
  }

  .review-content {
    padding: 1rem;
  }

  .reviewer-name {
    font-size: 1.3rem;
  }

  .review-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .outline-button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .review-nav {
    font-size: 1.8rem;
  }
}
