/* ==============================
   Global Styles
   ============================== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f8f9fa;
  line-height: 1.6;
  scroll-behavior: smooth; /* ✅ smooth scrolling */
  padding-top: 70px; /* ✅ prevent navbar overlap with fixed navbar */
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold;
  color: #222;
}

/* ==============================
   Navbar
   ============================== */
.navbar {
  transition: background-color 0.3s ease-in-out;
}
.navbar.scrolled {
  background-color: #000 !important; /* darker on scroll */
}
.nav-link {
  font-weight: 500;
}
.nav-link.active {
  font-weight: 600;
  text-decoration: underline;
}

/* ==============================
   Hero Section (#home)
   ============================== */
#home {
  background: linear-gradient(135deg, #93b8ef, #c4aaee);
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}
#home h1 {
  font-size: 3rem;
  font-weight: 700;
}
#home p {
  font-size: 1.2rem;
  margin-top: 10px;
}
#home .btn {
  border-radius: 30px;
  padding: 10px 25px;
}

/* ==============================
   About Section (if added later)
   ============================== */
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

/* ==============================
   Tech Stack
   ============================== */
#tech img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}
.card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ==============================
   Projects
   ============================== */
#projects img {
  height: 180px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

/* ==============================
   Experience
   ============================== */
#experience .list-group-item {
  background: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
}

/* ==============================
   Contact
   ============================== */
form label {
  font-weight: 600;
  color: #333;
}
form .btn {
  border-radius: 8px;
  font-weight: 600;
}
form .btn-success:hover {
  background-color: #198754;
}

/* ==============================
   Footer
   ============================== */
footer {
  font-size: 0.9rem;
  background-color: #111 !important;
}

/* ==============================
   Responsive Fixes
   ============================== */
@media (max-width: 768px) {
  #home h1 {
    font-size: 2rem;
  }
  .profile-pic {
    width: 120px;
    height: 120px;
  }
}
