/* Services Section Styling Fix */

/* Add spacing between Services heading and service items */
#services .section-title {
  margin-bottom: 60px !important;
}

/* Give each service item a unique color scheme */
#services .service-item {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  margin-bottom: 30px;
}

#services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Unique colors for each service - Gradient borders */
#services .service-item:nth-child(1) {
  border-left-color: #149ddd;
  background: linear-gradient(135deg, rgba(20, 157, 221, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(1) .icon {
  color: #149ddd;
}

#services .service-item:nth-child(2) {
  border-left-color: #f7931a;
  background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(2) .icon {
  color: #f7931a;
}

#services .service-item:nth-child(3) {
  border-left-color: #00d9ff;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(3) .icon {
  color: #00d9ff;
}

#services .service-item:nth-child(4) {
  border-left-color: #ff4081;
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(4) .icon {
  color: #ff4081;
}

#services .service-item:nth-child(5) {
  border-left-color: #7c4dff;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(5) .icon {
  color: #7c4dff;
}

#services .service-item:nth-child(6) {
  border-left-color: #00e676;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.05) 0%, transparent 100%);
}

#services .service-item:nth-child(6) .icon {
  color: #00e676;
}

/* Icon styling */
#services .service-item .icon {
  font-size: 42px;
  margin-right: 20px;
  transition: all 0.3s ease;
}

#services .service-item:hover .icon {
  transform: scale(1.1);
}

/* Dark mode support */
[data-theme="dark"] #services .service-item {
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] #services .service-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Connect with Me - Social Icons Fix */

.info-item .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
  max-width: 100%;
}

.info-item .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-color);
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.info-item .social-links a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(20, 157, 221, 0.4);
}

.info-item .social-links a.github {
  background: #333;
}

.info-item .social-links a.github:hover {
  background: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.info-item .social-links a.linkedin {
  background: #0077b5;
}

.info-item .social-links a.linkedin:hover {
  background: #005885;
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

.info-item .social-links a.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.info-item .social-links a.instagram:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.info-item .social-links a.facebook {
  background: #1877f2;
}

.info-item .social-links a.facebook:hover {
  background: #0d5ebd;
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.info-item .social-links a.phone {
  background: #25d366;
}

.info-item .social-links a.phone:hover {
  background: #1da851;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Dark mode for social icons */
[data-theme="dark"] .info-item .social-links a {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .info-item .social-links a:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #services .section-title {
    margin-bottom: 40px !important;
  }
  
  #services .service-item {
    padding: 25px;
    margin-bottom: 20px;
  }
  
  .info-item .social-links {
    gap: 10px;
  }
  
  .info-item .social-links a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
