/* ===== Theme Variables ===== */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --card-bg: #f9f9f9;
  --link-color: #007bff;
  --hero-bg: linear-gradient(135deg, #007bff, #00c6ff);
}

.dark-mode {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --card-bg: #1e1e1e;
  --link-color: #4da3ff;
  --hero-bg: linear-gradient(135deg, #1e1e1e, #2c2c2c);
}

/* ===== Global ===== */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  transition: background 0.3s, color 0.3s;
}

section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  background: var(--card-bg);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: var(--text-color);
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover {
  color: var(--link-color);
  border-bottom: 2px solid var(--link-color);
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
  text-decoration: none;
}

/* Dark Mode Button */
.dark-toggle {
  background: var(--link-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.dark-toggle:hover {
  background: #0056b3;
}

/* ===== Hero Section ===== */
#hero {
  background: var(--hero-bg);
  color: white;
  text-align: center;
  padding: 100px 20px;
}
.hero-content h1 {
  font-size: 40px;
  margin-bottom: 15px;
}
.hero-content .highlight {
  color: yellow;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}
.hero-btn {
  background: white;
  color: #007bff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}
.hero-btn:hover {
  background: #007bff;
  color: white;
}

/* ===== Skills ===== */
.skills-list span {
  display: inline-block;
  background: var(--link-color);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  margin: 5px;
  font-size: 14px;
}

/* ===== Projects ===== */
.project-card {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 15px 0;
  transition: transform 0.2s;
}
.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  margin: 0 0 10px;
}

.project-card a {
  text-decoration: none;
  font-weight: bold;
  color: var(--link-color);
}

/* ===== Contact ===== */
#contact a {
  color: var(--link-color);
  text-decoration: none;
}
#contact a:hover {
  text-decoration: underline;
}
/* Responsive Circular Profile Picture */
.profile-pic {
  width: 140px;             /* default size */
  height: 140px;
  border-radius: 50%;       /* makes it circular */
  border: 4px solid white;
  margin-bottom: 20px;
  object-fit: cover;        /* ensures the image fills nicely */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

/* On hover, zoom a little */
.profile-pic:hover {
  transform: scale(1.05);
}

/* Responsive sizes */
@media (max-width: 768px) {
  .profile-pic {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .profile-pic {
    width: 80px;
    height: 80px;
  }
}






