/* Custom Variable & Reset */
:root {
  --bs-font-sans-serif: "Poppins", sans-serif;
  --primary-color: #2563eb;
  --text-color: #1e293b;
  --secondary-color: #64748b;
  --bg-light: #f8fafc;
}

body {
  font-family: var(--bs-font-sans-serif);
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Custom Utilities */
.text-indigo {
  color: #6f42c1;
}
.text-purple {
  color: #8936ef;
}

.title-line {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
  margin-top: 8px;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color);
  margin: 0 5px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 50px;
}

.profile-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
}

/* Card Hover Animation */
.skill-card,
.card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.skill-card:hover,
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Timeline */
.timeline-item {
  position: relative;
}

/* Section Reveal Effect Class */
.section-fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 120px;
  }

  .profile-img {
    width: 220px;
    height: 220px;
  }
}
