/* Base Styles */
body {
  margin: 0;
  padding: 0;
  color: black;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  cursor: none;
  background-color: #edf1f7;
}

/* Skills Section */
.skills-section {
  min-height: 100vh;
  width: 100%;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.skills-intro {
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.skills-title {
  font-size: 15vw;
  margin: 0;
  font-family: "Londrina Sketch", sans-serif;
  font-weight: 400;
  color: #111;
  position: relative;
  z-index: 2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: all 0.3s ease;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.skills-category {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background: rgb(189, 35, 95);
  border-radius: 2px;
}

.skill {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill.animate {
  opacity: 1;
  transform: translateY(0);
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
}

.skill-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.skill-level {
  height: 100%;
  width: 0;
  background: #010c1c;
  border-radius: 5px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.skill-level::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(100%) skewX(-20deg); }
}

.skill-percent {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Profile Visual Elements */
.profile-visual {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align content to the right */
  padding: 2rem;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(40px);
  animation: float 15s infinite ease-in-out;
}

.shape-1 {
  width: 150px;
  height: 150px;
  background: rgba(189, 35, 95, 0.7);
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: rgba(189, 35, 95, 0.5);
  bottom: 15%;
  right: 15%;
  animation-delay: -5s;
}

/* Profile Image Styles */
.profile-image-container {
  position: relative;
  z-index: 2;
  width: 180px; /* Smaller size */
  height: 180px; /* Make it square */
  border-radius: 50%; /* Make it circular */
  overflow: hidden;
  border: 4px solid rgb(189, 35, 95); /* Pink border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-left: auto; /* Push to the right */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: #ec4899;
  top: 60%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, 20px) rotate(5deg); }
  50% { transform: translate(0, 40px) rotate(0deg); }
  75% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.skills-sphere {
  width: 300px;
  height: 300px;
  position: relative;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sphere-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
}

.sphere-inner span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  transform-origin: 0 0;
  transform: translate(-50%, -50%) rotateY(calc(var(--i) * 90deg)) translateZ(150px);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes rotate {
  0% { transform: rotateY(0) rotateX(20deg); }
  100% { transform: rotateY(360deg) rotateX(20deg); }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .skills-container {
    flex-direction: column;
    align-items: center;
  }
  
  .skills-category, .skills-visual {
    max-width: 100%;
    width: 100%;
  }
  
  .skills-sphere {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .skills-title {
    font-size: 10vw;
  }
  
  .skills-category {
    padding: 1.5rem;
  }
  
  .sphere-inner span {
    font-size: 1.2rem;
  }
}

.project-intro {
  
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  z-index: 1;
  
}

.project-title {
  font-size: 20vw;
  margin: 0;
  font-family: "Londrina Sketch", sans-serif;
  font-weight: 500;
  mix-blend-mode: difference;
  transition: color 0.3s ease;
}

.scroll-hint {
  font-size: 1.5rem;
  margin-top: 2rem;
  animation: blink 2s infinite;
  mix-blend-mode: difference;
  transition: color 0.3s ease;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: black;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  mix-blend-mode: difference;
  z-index: 9999;
  transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 9999;
}

.vignette.active {
  opacity: 1;
}


.horizontal-scroll-section {
  height: 100vh;
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
}

.projects-wrapper {
  display: flex;
  height: 100%;
}

.project {
  flex: 0 0 100vw;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project img {
  width: 90%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  padding: 2rem;
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 92%;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.title-section h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.tech-stack-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tech-stack-section h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.tech-stack-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-stack-section li {
  background: rgba(255,255,255,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
}

.visit-section {
  margin-top: auto;
}

.visit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.visit-btn:hover {
  background: #0056b3;
}

.next-section {
  height: 100vh;
  background: #222;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}


.horizontal-scroll-section::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 5;
}
