@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

:root {
  --primary-color: #0d6efd;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --grey-color: #6c757d;
  --font-family: 'Poppins', sans-serif;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: #333;
  background-color: #f4f7f9;
  padding-top: 56px; /* Adjusted for navbar height */
}

section {
  padding: 80px 0;
}

h2 {
  font-weight: 700;
  margin-bottom: 40px;
}

h4 {
  color: var(--primary-color);
  font-weight: 700;
}

p em {
  color: var(--grey-color);
}

/* Navigation */
.navbar {
  box-shadow: var(--box-shadow);
}

.navbar-brand {
  font-weight: bold;
}

.nav-link {
  transition: color 0.2s ease-in-out;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* About Section */
#about .lead {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section Backgrounds */
#about, #work, #education, #skills, #projects, #contact {
  background-color: #dbe2e6;
}

/* Content Card for Work, Education, Projects */
.content-card {
  background: #bcdae6;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* For equal height in columns */
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

/* Skills Section */
#skills .badge {
  font-size: 1rem;
  padding: 0.6em 1.2em;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

#skills .badge:hover {
  transform: scale(1.05);
  cursor: default;
}

/* Contact Section */
#contact p {
  margin-bottom: 1rem;
}

#contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px; /* Space between icon and text */
}

#contact a:hover {
  color: var(--dark-color);
}

img.profile-pic {
  width: 100%;
  max-width: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  display: block;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}