/* === About Me Section === */
.about-me {
  background: linear-gradient(to right, #f0f4f8, #e2e8f0);
  padding: 5rem 1rem;
  text-align: center;
}

/* Glassy Profile Container */
.profile {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: fadeIn 0.8s ease-in-out;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Profile Image with animated border */
.profile-image {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(145deg, #dce3f2, #ffffff);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-image:hover {
  transform: scale(1.03);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Text Elements */
.profile h1 {
  font-size: 2.4rem;
  color: #111827;
  background: linear-gradient(to right, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-emphasis-color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.profile-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 1rem;
}

.profile-description {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

/* Social Icons */
/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.25rem;
}

.social-icons a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;

  font-size: 1.5rem;
  color: #3b82f6;

  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.social-icons a:hover {
  transform: translateY(-2px) scale(1.08);
  background-color: rgba(59, 130, 246, 0.12);
}

/* Platform-specific hover colors (looks more professional) */
.social-icons a[aria-label="LinkedIn"]:hover {
  color: #0a66c2;
}

.social-icons a[aria-label="GitHub"]:hover {
  color: #111827;
}

.social-icons a[aria-label="YouTube"]:hover {
  color: #ff0000;
}


/* Animations */
@keyframes rotateBorder {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode support */
body.dark-mode .about-me {
  background: linear-gradient(to right, #0f172a, #1e293b);
}

body.dark-mode .profile {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

body.dark-mode .profile-description {
  color: #cbd5e1;
}

/* Responsive */
@media (max-width: 480px) {
  .about-me {
    padding: 3rem 0.75rem;
  }

  .profile {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile h1 {
    font-size: 1.6rem;
  }

  .profile-subtitle {
    font-size: 1rem;
  }

  .profile-description {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .social-icons a {
    font-size: 1.3rem;
  }
}
