/* Enhanced Hero Section Styles */

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 60vh;
}

.hero-text {
  z-index: 2;
  position: relative;
}

.dynamic-title {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  min-height: 2rem;
  transition: all 0.5s ease;
}

.dynamic-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  min-height: 1.2rem;
  transition: all 0.5s ease;
}

.skills-showcase {
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

.skills-showcase h5 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 16px rgba(0, 195, 255, 0.2);
}

.tech-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tech-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero Image Styles */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 0 30px rgba(0, 195, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-in-out;
  opacity: 0;
}

.profile-image.active {
  opacity: 1;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(0, 195, 255, 0.1));
  pointer-events: none;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  animation: floatIcon 4s ease-in-out infinite;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.floating-icon:nth-child(1) {
  animation-delay: 0s;
}
.floating-icon:nth-child(2) {
  animation-delay: 1s;
}
.floating-icon:nth-child(3) {
  animation-delay: 2s;
}
.floating-icon:nth-child(4) {
  animation-delay: 3s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Enhanced About Section */
.about-preview.enhanced {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, #1a1a1a 100%);
}

.about-content-enhanced {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 16px rgba(0, 195, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-main-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text-enhanced h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.expertise-areas {
  margin: 2rem 0;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.expertise-item:hover {
  border-color: var(--secondary-color);
  transform: translateX(10px);
}

.expertise-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.expertise-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.expertise-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Circular Skills */
.skills-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.skill-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--secondary-color) 0deg, var(--secondary-color) 0deg, var(--border-color) 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
}

.skill-circle-inner {
  width: 90px;
  height: 90px;
  background-color: var(--bg-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.skill-percentage {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.skill-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 30px rgba(0, 195, 255, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.service-card li:last-child {
  border-bottom: none;
}

/* Particles Container */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-main-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .image-container {
    width: 300px;
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-content-wrapper {
    min-height: 60vh;
  }
}

@media (max-width: 480px) {
  .tech-icons {
    grid-template-columns: 1fr;
  }

  .image-container {
    width: 250px;
    height: 250px;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
