/* Modern Color Scheme */
:root {
  --primary-color: #59d3ff; /* Indigo */
  --secondary-color: #3b82f6; /* Blue */
  --accent-color: #10b981; /* Emerald */
  --background-color: #f8fafc; /* Light gray */
  --text-color: #1e293b; /* Slate */
  --card-bg: #ffffff;
}

/* Base Styles */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 2rem 0;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-section {
  text-align: center;
  animation: fadeIn 1s ease-in;
}

.profile-image {
  width: 250x;
  height: 300px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 5px solid #555;
}

.profile-image:hover {
  transform: scale(1.05);
}

/* Section Styles */
.section {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.section:hover {
  transform: translateY(-5px);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.skill-item {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Project Cards */
.project-card {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Visit Counter */
.visit-counter {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-image {
    width: 250px;
    height: 300px;
  }
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Buttons */
.button {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.social-links {
  margin-top: 10px; /* Space between name and icons */
}

.social-icon {
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  margin: 0 10px; /* Space between icons */
  transition: transform 0.3s; /* Add hover effect */
}

.social-icon:hover {
  transform: scale(1.3); /* Slightly enlarge on hover */
}

.section:has(.badge) ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: block;
  margin: 0 auto;
  width: 150px; /* Adjust this value as needed */
  height: auto;
  transition: transform 0.3s;
}

.badge:hover {
  transform: scale(1.1);
}
